book.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Documentation for possible options in this file is at
  2. # https://rust-lang.github.io/mdBook/format/config.html
  3. [book]
  4. title = "Synapse"
  5. authors = ["The Matrix.org Foundation C.I.C."]
  6. language = "en"
  7. multilingual = false
  8. # The directory that documentation files are stored in
  9. src = "docs"
  10. [build]
  11. # Prevent markdown pages from being automatically generated when they're
  12. # linked to in SUMMARY.md
  13. create-missing = false
  14. [output.html]
  15. # The URL visitors will be directed to when they try to edit a page
  16. edit-url-template = "https://github.com/matrix-org/synapse/edit/develop/{path}"
  17. # Remove the numbers that appear before each item in the sidebar, as they can
  18. # get quite messy as we nest deeper
  19. no-section-label = true
  20. # The source code URL of the repository
  21. git-repository-url = "https://github.com/matrix-org/synapse"
  22. # The path that the docs are hosted on
  23. site-url = "/synapse/"
  24. # Additional HTML, JS, CSS that's injected into each page of the book.
  25. # More information available in docs/website_files/README.md
  26. additional-css = [
  27. "docs/website_files/table-of-contents.css",
  28. "docs/website_files/remove-nav-buttons.css",
  29. "docs/website_files/indent-section-headers.css",
  30. ]
  31. additional-js = ["docs/website_files/table-of-contents.js"]
  32. theme = "docs/website_files/theme"