summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-05-10 09:44:11 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-05-26 02:18:20 +0100
commite453c3b0fa116d729895b61f37d363bfede55d1a (patch)
tree57cd87ba0c80afdc8abc3088c986f68a9eaea147
parent 1.35.0rc1 (diff)
downloadsynapse-e453c3b0fa116d729895b61f37d363bfede55d1a.tar.xz
Setup; add book.toml
We seem to include the documentation in our packaging, so perhaps we
should include book.toml as well?
-rw-r--r--MANIFEST.in1
-rw-r--r--book.toml26
2 files changed, 27 insertions, 0 deletions
diff --git a/MANIFEST.in b/MANIFEST.in

index 25d1cb758e..0522319c40 100644 --- a/MANIFEST.in +++ b/MANIFEST.in
@@ -40,6 +40,7 @@ exclude mypy.ini exclude sytest-blacklist exclude test_postgresql.sh +include book.toml include pyproject.toml recursive-include changelog.d * diff --git a/book.toml b/book.toml new file mode 100644
index 0000000000..aefcb6a5bd --- /dev/null +++ b/book.toml
@@ -0,0 +1,26 @@ +# Documentation for possible options in this file is at +# https://rust-lang.github.io/mdBook/format/config.html +[book] +title = "Synapse" +authors = ["The Matrix.org Foundation C.I.C."] +language = "en" +multilingual = false + +# The directory that documentation files are stored in +src = "docs" + +[build] +# Prevent markdown pages from being automatically generated when they're +# linked to in SUMMARY.md +create-missing = false + +[output.html] +# The URL visitors will be directed to when they try to edit a page +# Disabled until https://github.com/rust-lang/mdBook/issues/1543 is fixed +#edit-url-template = "https://github.com/matrix-org/synapse/edit/develop/{path}" + +# The source code URL of the repository +git-repository-url = "https://github.com/matrix-org/synapse" + +# The path that the docs are hosted on +site-url = "/synapse/" \ No newline at end of file