Age | Commit message (Collapse) | Author |
|
Clicking on a subsection now displays the sibling page, which is
intended to be the main page for that section.
|
|
|
|
|
|
|
|
This is necessary for subclassing SectionNode, but generally allows more
code to rely on path() virtual dispatch always finding the correct path
regardless of the static type.
|
|
This is convenient for the section node which might compute children
on the fly.
|
|
This is the old behavior before the recent LibManual refactor. It also
moves the definition of the index page into LibManual for better reuse.
|
|
This deduplicates argument handling logic from Help and man and makes it
more modular for future use cases. The argument handling works as
before: two arguments specify section and page (in this order), one
argument specifies either a page (the first section that it's found in
is used) or a path to a manpage markdown file.
|
|
This way, we'll have an easier time changing these paths.
|
|
- Calculate the full name on demand
- Make section and name protected
- Reorder some members logically
- Change the name getter to be fallible, as some implementors need to
allocate
|
|
This is a first step in deduplicating code within and across Help and
man.
Because LibManual also doesn't contain any DeprecatedString, some
adjustments to Help's string handling is included, just to interoperate
with LibManual better. Further work in this area mostly requires String
APIs in LibGUI.
|