feat(wiki): hierarchical folder navigation with auto-generated sidebar #506
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Transform the wiki from a flat page list into a hierarchical folder-based structure where:
Current Behavior
The wiki is flat --- all pages exist at the same level. Navigation is either via manual links in page content or the page list. Adding a new wiki page requires manually updating the home page links.
Proposed Behavior
Folder Structure
Sidebar Navigation
A collapsible tree sidebar that:
Auto-Listing
When viewing a folder README/index, automatically list all pages in that folder below the README content (similar to how repo home pages list files above the README).
URL Structure
Motivation
As MokoGitea adds more features, the wiki grows. A flat structure becomes unmanageable --- you have to manually maintain links on the home page, and there is no way to organize related pages into sections. GitHub has the same limitation; this would be a significant differentiator.
Authored by Jonathan Miller (@jmiller)