diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-06-03 17:20:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 17:20:40 +0100 |
commit | fd9856e4a98fb3fa9c139317b0a3b79f22aff1c7 (patch) | |
tree | c9aeec6486e6f169dd8db5fbd692a0fff36bacdb /book.toml | |
parent | Add OpenTracing for database activity. (#10113) (diff) | |
download | synapse-fd9856e4a98fb3fa9c139317b0a3b79f22aff1c7.tar.xz |
Compile and render Synapse's docs into a browsable, mobile-friendly and searchable website (#10086)
Diffstat (limited to 'book.toml')
-rw-r--r-- | book.toml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/book.toml b/book.toml new file mode 100644 index 0000000000..fa83d86ffc --- /dev/null +++ b/book.toml @@ -0,0 +1,39 @@ +# 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 +edit-url-template = "https://github.com/matrix-org/synapse/edit/develop/{path}" + +# Remove the numbers that appear before each item in the sidebar, as they can +# get quite messy as we nest deeper +no-section-label = true + +# 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/" + +# Additional HTML, JS, CSS that's injected into each page of the book. +# More information available in docs/website_files/README.md +additional-css = [ + "docs/website_files/table-of-contents.css", + "docs/website_files/remove-nav-buttons.css", + "docs/website_files/indent-section-headers.css", +] +additional-js = ["docs/website_files/table-of-contents.js"] +theme = "docs/website_files/theme" \ No newline at end of file |