martin
(Martin Brennan)
17 november 2026 om 07:12
4
Thanks Hugh! More improvements are coming, I’ve already merged a change to allow 3 levels deep of nesting and to make this into a proper Documentation category type, so stay tuned.
main ← feature/add-documentation-category-type
Introduces the Documentation category type for this plugin:
<img width="1003" h… eight="324" alt="image" src="https://github.com/user-attachments/assets/dc08cc03-ed04-435f-bae7-7cfc776cfe39" />
<img width="450" height="331" alt="image" src="https://github.com/user-attachments/assets/4808e927-2f9a-4c04-9430-9bf9d4fbb141" />
When creating the Documentation category, the tab will be
present, but the index editor cannot be used until the category
is saved:
<img width="1023" height="629" alt="image" src="https://github.com/user-attachments/assets/c0c5805a-90f1-4837-908e-c60b4c4d54e3" />
https://github.com/discourse/discourse/pull/46265 must be merged first
main ← feature/third-level-doc-category-nesting
Adds UI and functionality to nest docs category index
sections up to 3 levels de… ep, using the sidebar API
introduced in https://github.com/discourse/discourse/pull/45883,
which must be merged first.
A `parent_section_id` was added to `doc_categories_sidebar_sections`
to support this.
Current UI is below:
<img width="925" height="771" alt="Image" src="https://github.com/user-attachments/assets/9b829ea6-e994-4cf9-8ee1-0bf2787c34c8" />
<img width="296" height="680" alt="Image" src="https://github.com/user-attachments/assets/a5ee176a-d5cd-483e-aa6e-1f7999ed59cb" />
2 likes