Our team is trying to use HTMLProofer to check links between two websites running locally in containers. We do this to verify links between our website and user documentation prior to publication. I'm seeing some undesirable behavior when using url_swap feature.
Checking linkcheck on ./_site/index.html ...
Checking 7 external links...
ETHON: started MULTI
Received a 200 for http://0.0.0.0:8000 in ./_site/index.html
Received a 200 for http://0.0.0.0:8000/appendix/blah/#commands-1 in ./_site/index.html
Received a 200 for http://0.0.0.0:8000/appendix/blah/#commands-666 in ./_site/index.html
Received a 404 for http://0.0.0.0:8000/appendix/blahhhhh/#commands-1 in ./_site/index.html
Received a 404 for http://0.0.0.0:8000/appendixxxx/blah/#commands-1 in ./_site/index.html
ETHON: performed MULTI
Ran on 1 file!
- ./_site/index.html
* External link http://0.0.0.0:8000/appendix/blahhhhh/#commands-1 failed: 404 No error
* External link http://0.0.0.0:8000/appendixxxx/blah/#commands-1 failed: 404 No error
rake aborted!
HTML-Proofer found 2 failures!
It should would be nice to have the real link displayed and not the swapped url. At least provide a switch to enable the behavior.
Our team is trying to use HTMLProofer to check links between two websites running locally in containers. We do this to verify links between our website and user documentation prior to publication. I'm seeing some undesirable behavior when using url_swap feature.
I'm using the following in the Rakefile
The test file looks like the following...
Debug output looks like the following...
It should would be nice to have the real link displayed and not the swapped url. At least provide a switch to enable the behavior.