From b6ce969d1b6429fb5aef464595291830adb57168 Mon Sep 17 00:00:00 2001
From: Daniel Holbach <daniel@weave.works>
Date: Mon, 26 Apr 2021 18:31:34 +0200
Subject: [PATCH] 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>
---
 .gitignore       | 3 +++
 netlify.toml     | 3 +++
 requirements.txt | 2 ++
 runtime.txt      | 1 +
 4 files changed, 9 insertions(+)
 create mode 100644 netlify.toml
 create mode 100644 requirements.txt
 create mode 100644 runtime.txt

diff --git a/.gitignore b/.gitignore
index 2c230c7c..0a385d36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,6 @@ dist/
 bin/
 output/
 cmd/flux/manifests/
+
+# Docs
+site/
diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 00000000..b0d20912
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,3 @@
+[build]
+  command = "mkdocs build"
+  publish = "site"
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 00000000..483fb318
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,2 @@
+mkdocs==1.1.2
+mkdocs-material==7.1.3
diff --git a/runtime.txt b/runtime.txt
new file mode 100644
index 00000000..475ba515
--- /dev/null
+++ b/runtime.txt
@@ -0,0 +1 @@
+3.7
-- 
GitLab