Add a method of building a local copy of the docs

This will build the docs into a directory called docs-local, sans the blog.
Note the near-total copy/paste of the `nav` due to how mydocs does
configuration inheritance; this is fine for now.
This commit is contained in:
Dave Pearson
2023-02-06 13:58:44 +00:00
parent dcdad6230f
commit 9acbc0cd67
3 changed files with 178 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ docs-serve:
mkdocs serve
docs-build:
mkdocs build
docs-local-build:
mkdocs build --config-file mkdocs-local.yml
docs-deploy:
rm -rf .screenshot_cache
mkdocs gh-deploy