Giter Club home page Giter Club logo

Comments (6)

jlengrand avatar jlengrand commented on May 29, 2024

Really like that, thanks for the thorough preleminary work @Mogztter ! I have had the same (but simpler) use case last week when trying to run a website with a javadoc folder. Creates huge amounts of links that will be valid by definition.

I 'll look deeper into this!

from rocket.

daKmoR avatar daKmoR commented on May 29, 2024

we probably need 2 separate flags 🤔

e.g. on pattern to not check links in files that do get checked... and one pattern to not even analyze/check certain files

$ npx check-html-links _site \
  --ignore-link-pattern="/speedify/*" \
  --skip-checking-pattern="./folder-to-ignore/*"

for a lib to parse process.argv... it will probably be command-line-args as it's also used in all the other repos we have... it's probably not perfect with a deps tree of 5... but it's at least knowledge we can reuse across multiple projects

PS: the node API is probably going to change 😅

from rocket.

jlengrand avatar jlengrand commented on May 29, 2024

command-line-args seems like a deal.

Right, I indeed see now that we have two use cases indeed. Interesting. The skip seems rather easy to implement, but I wonder if the skip will not increase the processing complexity? Will have a look at the current implementation

from rocket.

ggrossetie avatar ggrossetie commented on May 29, 2024

Thanks for your replies!

Should I go forward and implement --ignore-link-pattern using command-line-args?
Any thoughts on the Node API? Should we introduce an "options object" as a second argument of the validateFolder function?

from rocket.

jlengrand avatar jlengrand commented on May 29, 2024

Go for it. I started looking at it yesterday but didn't get on the actual implementation yet.

from rocket.

daKmoR avatar daKmoR commented on May 29, 2024

thanks again for implementing 🙇‍♂️

from rocket.

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.