GithubHelp home page GithubHelp logo

HTML Proofer retry? about docs HOT 6 CLOSED

cucumber avatar cucumber commented on July 28, 2024
HTML Proofer retry?

from docs.

Comments (6)

mlvandijk avatar mlvandijk commented on July 28, 2024

Had a look at https://github.com/gjtorikian/html-proofer
Didn't see an immediate option to retry failed external links, but it is possible to "enable caching for your external links. Caching simply means to skip links that are valid for a certain period of time." (See: Configuring caching)
This would be really useful imho, as atm deploy fails on random external links...

@aslakhellesoy @plaindocs What do you think? (And, if you like it, how long should the timeperiod be set for?)

from docs.

plaindocs avatar plaindocs commented on July 28, 2024

Sounds good. We'd have to check the implications of running on Travis CI though, as by default they recreate the environment every build - so we'd need to tweak cache settings.

48 hours should weed out the ones failing sporadically?

from docs.

mlvandijk avatar mlvandijk commented on July 28, 2024

48 hours sounds great!
I'm not so familiar with Travis CI or Ruby / config. Who could do it?

from docs.

plaindocs avatar plaindocs commented on July 28, 2024

I'll take a look next week.

from docs.

aslakhellesoy avatar aslakhellesoy commented on July 28, 2024

External links are only checked on Netlify - it's too slow and annoying to do locally.

It occasionally fails because of timeouts, but a rerun usually fixes it. I think that's good enough for now.

I haven't figured out what directory Netlify uses for caching, so I'm not sure how to take advantage of HTMLProofer's cache option. I suggest we close this issue and revisit it if it becomes too much of a nuisance.

from docs.

mlvandijk avatar mlvandijk commented on July 28, 2024

Agreed. Won't fix (at least for now)

from docs.

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.