Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html-proofer 4.2.0 -> 4.3.1 causing issues #1774

Closed
plaindocs opened this issue Aug 2, 2022 · 5 comments
Closed

html-proofer 4.2.0 -> 4.3.1 causing issues #1774

plaindocs opened this issue Aug 2, 2022 · 5 comments

Comments

@plaindocs
Copy link
Contributor

Last successful build used 4.2.0 and recent failing builds are using 4.3.1

I'm guessing they switched something out again. :/

CC @rosewms

@plaindocs
Copy link
Contributor Author

Maybe the ignore files / urls thing isn't right?

@mxsasha
Copy link
Contributor

mxsasha commented Aug 2, 2022

It seems to ignore all arguments, it is also checking external links (see end of log)

mxsasha added a commit that referenced this issue Aug 2, 2022
@plaindocs
Copy link
Contributor Author

I wonder if we need to set =true specifically https://github.com/gjtorikian/html-proofer/pull/738/files

@mxsasha
Copy link
Contributor

mxsasha commented Aug 2, 2022

I wonder if we need to set =true specifically https://github.com/gjtorikian/html-proofer/pull/738/files

Didn't seem to work for me.

@plaindocs
Copy link
Contributor Author

plaindocs commented Aug 3, 2022

Yeah, that is the thing, we just need to do it on all of them. Locally: (I also excluded videos cos I don't build them locally)

htmlproofer --ignore-files "/404/,/2013/,/2014/,/2015/,/2016/,/2017/,/search\/index.html/" --allow-hash-href=true --enforce-https=false --ignore-missing-alt=true --ignore-urls '/videos\//' --disable-external=true docs/_build/html
Running 3 checks (Images, Links, Scripts) in ["docs/_build/html"] on *.html files...


Checking 4775 internal links
Ran on 894 files!


HTML-Proofer finished successfully.


❯ htmlproofer -v
htmlproofer 4.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants