cornermotorsales / cornermotorsales.github.io

0 stars 0 forks source link

DEV NOTES

Install dev tools:

Serve site locally:

Check locally-served site for broken links:

Check production site for broken links and save results to a local file:

Use W3C's online tool to check for broken links:

# open a pre-configured URL in a browser:
xdg-open https://validator.w3.org/checklink?uri=https%3A%2F%2Fcornermotorsales.com%2F&summary=on&hide_type=all&recursive=on&depth=2&check=Check

Install and use a python-based tool for link checking (on Ubuntu):

sudo docker run --rm -it -u $(id -u):$(id -g) --log-driver=none -a stdout -a stderr  linkchecker/linkchecker https://cornermotorsales.com --check-extern --no-status &> results.txt