Closes #6328: Local docs build (#6769)

* Incorporate local documentation build in upgrade script

* Add docs build to CI

* Include docs build path in revision control

* Update footer dcos link

* Changelog for #6328

* Clean up errant links
This commit is contained in:
Jeremy Stretch
2021-07-19 14:18:08 -04:00
committed by GitHub
parent 8592e0af54
commit 7058d6ca5a
14 changed files with 38 additions and 9 deletions

View File

@@ -82,6 +82,11 @@ COMMAND="python3 netbox/manage.py trace_paths --no-input"
echo "Checking for missing cable paths ($COMMAND)..."
eval $COMMAND || exit 1
# Build the local documentation
COMMAND="mkdocs build"
echo "Building documentation ($COMMAND)..."
eval $COMMAND || exit 1
# Collect static files
COMMAND="python3 netbox/manage.py collectstatic --no-input"
echo "Collecting static files ($COMMAND)..."