I occassionally test the validity of my site’s HTML using validator.w3.org.
I do this manually in a browser and fix whatever problems there may be.
I currently use a Makefile to build my jekyll sites.
In this Makefile I also have tests that run some link checking, etc. to make sure I have no broken links.
Is there a way I can put in automatic validation of my HTML directly from such Makefile?
That is, it needs to test my local non-published site. Preferably completely offline using a CLI tool…
Additionally, I would love to hear what checks and tests you do on your jekyll build scripts.
Is anyone else using Makefiles? If so, I would love to see examples of your Makefiles as I am not really good at making those myself.
I have been using htmlproofer for quite a while to check for broken links. It does have some html validator, but I am not sure it actually works. At least it says my site have no issues but when running it through validator.w3.org it finds several issues…