| 1 | # mdBook configuration for the public docs site at docs.shithub.tld. |
| 2 | # Built by `make docs` and synced into Spaces; Caddy serves from there |
| 3 | # (see deploy/docs-site/Caddyfile.snippet). |
| 4 | |
| 5 | [book] |
| 6 | title = "shithub docs" |
| 7 | authors = ["the shithub project"] |
| 8 | description = "User, API, and self-host documentation for shithub." |
| 9 | language = "en" |
| 10 | src = "." |
| 11 | multilingual = false |
| 12 | |
| 13 | [build] |
| 14 | build-dir = "../../build/docs" |
| 15 | create-missing = false |
| 16 | |
| 17 | [output.html] |
| 18 | default-theme = "shithub" |
| 19 | preferred-dark-theme = "shithub-dark" |
| 20 | git-repository-url = "https://github.com/tenseleyFlow/shithub" |
| 21 | git-repository-icon = "fa-github" |
| 22 | edit-url-template = "https://github.com/tenseleyFlow/shithub/edit/main/docs/public/{path}" |
| 23 | no-section-label = false |
| 24 | additional-css = ["theme/shithub.css"] |
| 25 | |
| 26 | [output.html.search] |
| 27 | enable = true |
| 28 | limit-results = 30 |
| 29 | use-boolean-and = true |
| 30 | boost-title = 2 |
| 31 | boost-hierarchy = 1 |
| 32 | boost-paragraph = 1 |
| 33 | expand = true |
| 34 | heading-split-level = 3 |
| 35 | copy-js = true |
| 36 | |
| 37 | [output.html.fold] |
| 38 | enable = true |
| 39 | level = 1 |