Use build_runner to generate documentation

This commit is contained in:
Simon Binder
2021-03-12 21:14:45 +01:00
parent 6f6f73616e
commit ba95127cab
63 changed files with 713 additions and 1463 deletions
+6 -6
View File
@@ -1,18 +1,18 @@
# We use netlify to deploy the documentation.
[build]
base = "docs"
publish = "docs/public"
command = 'git submodule update --init --recursive && npm i && hugo'
base = ""
publish = "docs/deploy"
command = 'tool/netlify_build.sh'
[[redirects]]
from = "https://moor.netlify.com/*"
from = "https://moor.netlify.app/*"
to = "https://moor.simonbinder.eu/:splat"
status = 301
force = true
[context.production]
environment = { HUGO_ENV="production", HUGO_VERSION="0.74.3" }
environment = { BUILD_RELEASE="release" }
[context.deploy-preview]
environment = { HUGO_VERSION="0.74.3" }
environment = { }