Code Monkey home page Code Monkey logo

Comments (9)

sbshah97 avatar sbshah97 commented on June 21, 2024 1

I'd love to take this up

from ferretdb.

sbshah97 avatar sbshah97 commented on June 21, 2024 1

Okay so from the looks of it here's what I can do.

  1. Search the blog post for <!--truncate--> and if and wrote a method which returns a Boolean value.
  2. Call that method from the main method and in case it returns false mark an error and log the name of the file.
  3. Wrote a test for happy path and negative path as well.

from ferretdb.

Fashander avatar Fashander commented on June 21, 2024 1

Yes that's correct. @sbshah97 All the blogposts md files must include the <!--truncate-->. That helps to cut off the remaining section of the blog from displaying on the homepage.

from ferretdb.

AlekSi avatar AlekSi commented on June 21, 2024

@sbshah97 Thank you! The code is there: https://github.com/FerretDB/FerretDB/tree/main/tools/checkdocs

from ferretdb.

sbshah97 avatar sbshah97 commented on June 21, 2024

Can we give an example for this one? What is it that we have currently and what is it that we are expecting ?

From what I can see in the blog directory, we have a bunch of markdown files. What are we looking to do with that.

I don't think I understand the part

The whole page will not be displayed on the home page. The remaining stuff remains clear.

from ferretdb.

sbshah97 avatar sbshah97 commented on June 21, 2024

Screenshot_20240208-173956.png

Okay so from the looks of it, is it just a matter of doing a string search in the doc for that string and if that is not present we return false for that doc?

from ferretdb.

AlekSi avatar AlekSi commented on June 21, 2024

@sbshah97 any news? Anything we could help you with?

from ferretdb.

sbshah97 avatar sbshah97 commented on June 21, 2024

Hi apologies I had met with an accident and was in recovery due to some health issues
Will send this later today

from ferretdb.

ptrfarkas avatar ptrfarkas commented on June 21, 2024

@sbshah97 We are really sorry to hear about your accident - hope you are doing better now!

from ferretdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.