mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
Help+LibManual: Open sibling page for subsections
Clicking on a subsection now displays the sibling page, which is intended to be the main page for that section.
This commit is contained in:
parent
3e67f14e58
commit
201c9d7c77
6 changed files with 26 additions and 2 deletions
|
@ -26,6 +26,7 @@ public:
|
|||
virtual bool is_page() const { return false; }
|
||||
virtual bool is_open() const { return false; }
|
||||
virtual ErrorOr<String> path() const = 0;
|
||||
virtual PageNode const* document() const = 0;
|
||||
|
||||
// Backend for the command-line argument format that Help and man accept. Handles:
|
||||
// [/path/to/documentation.md] (no second argument)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue