Skip to content

Commit 311834b

Browse files
committed
Linking from GitHub Pages to Netlify, removing generated docs from repo
Since Netlify can build our docs for us, there should be no need for us to retain the generated files in this repo. This removes a lot of the custom logic for building docs since it will no longer be necessary. It also adds back search functionality since we no longer need to worry about conflicts.
1 parent f7bb961 commit 311834b

File tree

113 files changed

+19
-28321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+19
-28321
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,4 @@ Session.vim
4949
.vscode
5050
/www/test_out
5151
.*.timestamp
52-
/docs/sitemap.xml
53-
/docs/sitemap.xml.gz
52+
/site

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ verify:
6767
# Build the documentation.
6868
.PHONY: docs
6969
docs:
70+
# Ensure site dir exists
71+
mkdir -p site
7072
# Generate docs with mkdocs
7173
mkdocs build
7274
# Generate API docs
73-
./hack/api-docs/generate.sh docs/genspec.html
75+
./hack/api-docs/generate.sh site/genspec.html
7476
# Add them to spec page originally generated by mkdocs
75-
sed -i -e '/REPLACE_WITH_GENERATED_CONTENT/{r docs/genspec.html' -e 'd}' docs/spec/index.html
77+
sed -i -e '/REPLACE_WITH_GENERATED_CONTENT/{r site/genspec.html' -e 'd}' site/spec/index.html

docs/.nojekyll

Whitespace-only changes.

docs/.placeholder

-1
This file was deleted.

0 commit comments

Comments
 (0)