Specify netlify build

Addresses: #1135

	Follow https://www.starfallprojects.co.uk/posts/deploy-mkdocs-netlify/
	to eventually fix #1135.

	I realise this litters the main directory somewhat, but I hope
	that once the publication fully works and we turn the site into
	redirects, we can remove these files again. So only a temporary
	measure.

Signed-off-by: Daniel Holbach <daniel@weave.works>
This commit is contained in:
Daniel Holbach 2021-04-26 18:31:34 +02:00
parent 6a37649ee6
commit b6ce969d1b
4 changed files with 9 additions and 0 deletions

3
.gitignore vendored
View file

@ -19,3 +19,6 @@ dist/
bin/
output/
cmd/flux/manifests/
# Docs
site/

3
netlify.toml Normal file
View file

@ -0,0 +1,3 @@
[build]
command = "mkdocs build"
publish = "site"

2
requirements.txt Normal file
View file

@ -0,0 +1,2 @@
mkdocs==1.1.2
mkdocs-material==7.1.3

1
runtime.txt Normal file
View file

@ -0,0 +1 @@
3.7