summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Borg <jakob@kastelo.net>2023-09-17 20:11:57 +0200
committerJakob Borg <jakob@kastelo.net>2023-09-17 20:11:57 +0200
commitfcc38643ceaa22f4db4a9954416e67b53e009b58 (patch)
treea85a0bfe31776e6ef7cb717fce3399165b73c63a
parentbd9e23574a5b3e9fe83966a3d5f05c0256354b63 (diff)
downloadsyncthing-docs-fcc38643ceaa22f4db4a9954416e67b53e009b58.zip
Remove Netlify stuff
-rwxr-xr-xnetlify-build.sh16
-rw-r--r--netlify.toml26
-rw-r--r--requirements.txt2
-rw-r--r--runtime.txt1
4 files changed, 0 insertions, 45 deletions
diff --git a/netlify-build.sh b/netlify-build.sh
deleted file mode 100755
index aea78aa..0000000
--- a/netlify-build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-set -euo pipefail
-
-# Fetch tags since Netlify doesn't
-git fetch --tags https://github.com/syncthing/docs.git
-
-# Download pre-rendered / old versions of docs.
-mkdir -p _build
-git clone --depth 1 https://github.com/syncthing/docs-pre-rendered.git _build/html
-rm -rf _build/html/.git
-go run _script/lsver.go _build/html > _build/html/versions.json
-
-# Build the current set of docs.
-make html
-make man
-mv _build/man _build/html
diff --git a/netlify.toml b/netlify.toml
deleted file mode 100644
index aa7a2cd..0000000
--- a/netlify.toml
+++ /dev/null
@@ -1,26 +0,0 @@
-# Build HTML and man pages, put the man pages underneath html/man/ so they
-# get served as well.
-[build]
- command = "./netlify-build.sh"
- publish = "_build/html"
-
-[build.environment]
- GO_VERSION = "1.18"
-
-# PDF artifacts are transparently proxied to the old server
-[[redirects]]
- from = "/pdf/*"
- to = "https://web.syncthing.net/docs-pdf/:splat"
- status = 200
-
-# Branches are served from the old webserver
-[[redirects]]
- from = "/branch/*"
- to = "https://web.syncthing.net/docs-branch/:splat"
- status = 200
-
-# Branches are served from the old webserver
-[[redirects]]
- from = "/branch/*"
- to = "https://web.syncthing.net/docs-branch/:splat"
- status = 200
diff --git a/requirements.txt b/requirements.txt
deleted file mode 100644
index 9b4b204..0000000
--- a/requirements.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-sphinx==4.4.0
-docutils==0.17.1
diff --git a/runtime.txt b/runtime.txt
deleted file mode 100644
index cc1923a..0000000
--- a/runtime.txt
+++ /dev/null
@@ -1 +0,0 @@
-3.8