book.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "docs/website_files/version-picker.css",
  31. ]
  32. additional-js = [
  33. "docs/website_files/table-of-contents.js",
  34. "docs/website_files/version-picker.js",
  35. "docs/website_files/version.js",
  36. ]
  37. theme = "docs/website_files/theme"
  38. [preprocessor.schema_versions]
  39. command = "./scripts-dev/schema_versions.py"