Expand description
Structsยง
- Docs
NavEntry - Public struct
DocsNavEntryused by this module. - Docs
NavNode ๐ - Docs
Output Remap - Public struct
DocsOutputRemapused by this module.
Constantsยง
- MAX_
DOC_ ๐FILES - MAX_
DOC_ ๐TEXT_ BYTES
Functionsยง
- CLOSE_
LIST - Performs CLOSE LIST.
- FLUSH_
PARA - Flushes one markdown paragraph into the output buffer.
- append_
docs_ ๐text - Appends one required docs fragment and converts failure into a render failure.
- append_
inline_ markup - Appends a bounded inline-markup fragment with safe link and code handling.
- append_
inline_ ๐markup_ for_ page - Renders inline Markdown while rewriting local links for one output page.
- close_
docs_ ๐list - Closes an open Markdown list.
- collect_
md_ files - Collects md files.
- dbuf_
append - Appends one raw buffer fragment within the documentation size limit.
- dbuf_
append_ html_ escaped - Appends escaped HTML text to a documentation buffer.
- dbuf_
detach - Transfers the buffer contents, leaving an unallocated empty buffer.
- dbuf_
ensure - Ensures bounded capacity for one raw buffer append.
- dbuf_
free - Performs dbuf free.
- dbuf_
init - Resets a documentation buffer and releases its previous allocation.
- dbuf_
put_ anchor_ open - Performs dbuf put anchor open.
- dbuf_
put_ tag_ close - Closes a validated markup tag.
- dbuf_
put_ tag_ open - Performs dbuf put tag open.
- dbuf_
putc - Appends one escaped character to a documentation buffer.
- dbuf_
puts - Appends one NUL-terminated C-string equivalent to the buffer.
- docs_
default_ ๐html_ output_ rel - Performs docs default HTML output rel.
- docs_
html_ output_ rel - Performs docs HTML output rel.
- docs_
html_ output_ rel_ with_ remap - Performs docs HTML output rel with remap.
- docs_
markdown_ to_ html - Performs docs markdown to HTML.
- docs_
markdown_ to_ html_ with_ remap - Performs docs markdown to HTML with remap.
- docs_
markdown_ to_ html_ with_ remap_ for_ page - Converts the supported Markdown and authored HTML mixture used by Pharos docs.
- docs_
nav_ collect_ entries_ local - Performs docs nav collect entries local.
- docs_
nav_ ๐default_ open - docs_
nav_ ๐node_ contains_ current - docs_
nav_ ๐parse_ nodes - docs_
nav_ ๐tree - docs_
output_ remap_ append - Performs docs output remap append.
- docs_
output_ remap_ clear - Performs docs output remap clear.
- docs_
output_ remap_ finish_ item - Completes one output remap item only when both sides are present.
- docs_
output_ remap_ load_ json_ array - Performs docs output remap load JSON array.
- docs_
output_ remap_ load_ yaml - Performs docs output remap load YAML.
- docs_
output_ remap_ lookup_ default_ html - Performs docs output remap lookup default HTML.
- docs_
output_ remap_ lookup_ source - Performs docs output remap lookup source.
- docs_
page_ depth - Performs docs page depth.
- docs_
page_ title - Performs docs page title.
- docs_
relative_ prefix - Performs docs relative prefix.
- docs_
render_ page - Performs docs render page.
- docs_
render_ sidebar - Performs docs render sidebar.
- docs_
render_ ๐sidebar_ node - docs_
root_ href - Performs docs root href.
- docs_
sidebar_ ๐href - docs_
yaml_ value - Converts a bounded YAML scalar value into its canonical text representation.
- flush_
docs_ ๐paragraph - Flushes one paragraph through the page-aware inline renderer.
- html_
escape ๐ - Performs HTML escape.
- line_
len - Performs line len.
- line_
starts_ with - Performs line starts with.
- markdown_
heading ๐ - Extracts a Markdown heading level and its title from one source line.
- markdown_
list_ ๐item - Extracts one supported unordered or ordered Markdown list item.
- relative_
href_ ๐from_ output - Builds the relative href from output.
- render_
template_ ๐value - Renders template value.
- replace_
placeholder - Performs replace placeholder.
- resolve_
docs_ ๐relative_ target - Resolves docs relative target.
- rewrite_
docs_ ๐html_ targets - Rewrites local HTML attribute targets relative to a generated docs page.
- rewrite_
docs_ ๐target - Rewrites one safe local docs link or asset target.
- rewrite_
link_ target - Rewrites one documentation link target while rejecting unsafe schemes.
- skip_
spaces - Performs skip spaces.