Expand description
Exposes the docs runtime module.
§Examples
ⓘ
use pharos_native::runtime::docs;§Related
crate::runtimefor sibling modules in the same crate.
Structs§
- Docs
NavEntry - Public struct
DocsNavEntryused by this module. - Docs
Output Remap - Public struct
DocsOutputRemapused by this module.
Functions§
- CLOSE_
LIST - Performs CLOSE LIST.
- FLUSH_
PARA - Flushes one markdown paragraph into the output buffer.
- append_
inline_ markup - Appends a bounded inline-markup fragment with safe link and code handling.
- 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_
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_
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_
root_ href - Performs docs root href.
- docs_
yaml_ value - Converts a bounded YAML scalar value into its canonical text representation.
- line_
len - Performs line len.
- line_
starts_ with - Performs line starts with.
- replace_
placeholder - Performs replace placeholder.
- rewrite_
link_ target - Rewrites one documentation link target while rejecting unsafe schemes.
- skip_
spaces - Performs skip spaces.