summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-05-28 14:36:00 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-05-28 14:36:00 +0100
commit188296dd24b3a2a933fed1eb66d3655224dbfc65 (patch)
treee9fb176c3a160a044665e0e5c3292ee7127a3afb
downloadsynapse-188296dd24b3a2a933fed1eb66d3655224dbfc65.tar.xz
Set up gh-pages branch
The index.html will redirect people to the latest documentation
directory (develop), and the .nojekyll file will force github
to serve index.html files on a folder path (the user would be
served synapse/develop/index.html if they navigated to
synapse/develop).
-rw-r--r--.nojekyll0
-rw-r--r--index.html6
2 files changed, 6 insertions, 0 deletions
diff --git a/.nojekyll b/.nojekyll
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/.nojekyll
diff --git a/index.html b/index.html
new file mode 100644
index 0000000000..df25ce91e8
--- /dev/null
+++ b/index.html
@@ -0,0 +1,6 @@
+<title> Synapse Documentation </title>
+<meta http-equiv="Refresh" content="0; url='https://matrix-org.github.io/synapse/develop/index.html'" />
+<p>
+    Redirecting you to the latest documentation.
+        If you are not redirected, please <a href="https://matrix-org.github.io/synapse/develop/index.html">click here</a>.
+</p>