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:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -19,3 +19,6 @@ dist/
|
|||||||
bin/
|
bin/
|
||||||
output/
|
output/
|
||||||
cmd/flux/manifests/
|
cmd/flux/manifests/
|
||||||
|
|
||||||
|
# Docs
|
||||||
|
site/
|
||||||
|
|||||||
3
netlify.toml
Normal file
3
netlify.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[build]
|
||||||
|
command = "mkdocs build"
|
||||||
|
publish = "site"
|
||||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
mkdocs==1.1.2
|
||||||
|
mkdocs-material==7.1.3
|
||||||
1
runtime.txt
Normal file
1
runtime.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.7
|
||||||
Reference in New Issue
Block a user