Commit Graph

10 Commits

Author SHA1 Message Date
Andrew Morgan 4c807ca305 Port new changes to mdbook default theme to our copy
The custom theme is still needed for the version picker. Technically we
could add this HTML in the version-picker.js, but there's no guarantee
that the HTML IDs etc. wouldn't change out from under us.

We also no longer need the next/prev hiding plugin, as the original
point of it was to prevent those UI elements from interfering with our
custom TOC.
2026-01-07 15:04:06 +00:00
Andrew Morgan 8d4ff354bf Remove custom table-of-contents mdbook plugin
We can now rely on the default functionality built into mdbook for this.
2026-01-07 14:52:10 +00:00
Will Hunt 1198f649ea Sort versions in the documentation version picker appropriately. (#16966)
Fixes #16964 

This adds a proper sorter for versions which takes into account semantic
versions, rather than just relying on localeCompare.
2024-03-14 15:18:51 +00:00
Will Hunt d24d115706 Update version picker for element-hq (#16880) 2024-02-01 14:30:16 +00:00
Erik Johnston e85e0ef6ba Merge remote-tracking branch 'origin/master' into develop 2023-12-12 17:37:17 +00:00
Action Bot ee37039031 Version picker added for v1.98 docs 2023-12-11 14:51:26 +00:00
Dmytro Kagirov 483d22afc3 Adding a version picker for Synapse docs (#16533) 2023-12-11 14:18:40 +00:00
Andrew Morgan 0922462fc7 docs: Don't render the table of contents on the print page (#12340) 2022-04-13 08:27:51 -07:00
Azrenbeth 54aa7047eb Removed page summaries from the top of installation and contributing doc pages (#10711)
- Removed page summaries from CONTRIBUTING and installation pages as 
this information was already in the table of contents on the right hand side
- Fixed some broken links in CONTRIBUTING
- Added margin-right tag for when table of contents is being shown
(otherwise the text in the page sometimes overlaps with it)
2021-08-27 14:19:17 +00:00
Andrew Morgan fd9856e4a9 Compile and render Synapse's docs into a browsable, mobile-friendly and searchable website (#10086) 2021-06-03 17:20:40 +01:00