Trial plausible for transparent analytics (#181)

This commit is contained in:
David Young authored and GitHub committed 2021-08-10 16:18:08 +12:00
1 parent 76f2d9fd1e
commit 530b1e93d9
10 files changed
+42 -27

No files matched your search

+5 -6
View File
@@ -4,19 +4,18 @@
# Fetch git history so that we get last-updated timestamps
git fetch --unshallow
# Run python build script to check for errors
python3 scripts/build.py mkdocs.yml
# install mkdocs (or insiders version, if we're passed a GH_TOKEN var)
if [ -z "$GH_TOKEN" ]
then
pip install mkdocs-material
mkdocs build -f mkdocs.yml
else
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
mkdocs build -f mkdocs-insiders.yml
fi
# Run python build script
python3 scripts/build.py mkdocs.yml
# Now build the docs for publishing
mkdocs build -f mkdocs.yml
# Setup any necessary netlify redirects
cp netlify_redirects.txt site/_redirects