mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +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
|
@ -27,6 +27,7 @@ public:
|
|||
virtual Node const* parent() const override;
|
||||
virtual ErrorOr<String> name() const override { return m_page; };
|
||||
virtual bool is_page() const override { return true; }
|
||||
virtual PageNode const* document() const override { return this; };
|
||||
|
||||
virtual ErrorOr<String> path() const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue