Guidedog / Documentation
0.6.3
API Reference¶
autodoc– Package autodoc generates the reStructuredText that Sphinx’s sphinx.ext.autodoc generates (Sphinx 9.1), from Python source analysed by lib/pyscan instead of imported modules: the same directives (“..cli– Package cli is the guidedog command: run parses a command line, does what it asks, and returns the exit status.core– Generated by tools/casefold from tools/data/CaseFolding-17.0.0.txt ; do not edit.defaults– Package defaults assembles the built-in readers and renderers into an explicit, immutable registry.discussion– Package discussion keeps a catalog of discussion records: proposals and decisions written in reStructuredText (or, in an older GDS catalog, Typst) under one prefix, such as gds, sds, or eds.discussion/command– Package command is the discussion command line: dsc and dscc run it on any catalog, and guidedog gds runs it on Guidedog’s own.discussion/embedded– Package embedded publishes discussion catalogs with Guidedog’s engine linked into the program: the same documents, templates, diagnostics, and atomic publication as a manual.discussion/external– Package external publishes discussion catalogs with an installed guidedog program, so dsc, the discussion program built without Guidedog’s engine stays small: it manages catalogs itself and asks guidedog only to build them.fetchfetch/testserver– Package testserver is a small HTTP/1.1 server on the loopback interface, for tests of code that sends HTTP requests (lib/fetch, and the clients built on it).fsgettext– Package gettext reads, writes, merges, and looks up GNU gettext message catalogs: PO and POT text files, and compiled MO files.git– Package git writes Git objects and sends them with Git’s push protocol, without a git program: object IDs, trees built from a list of files, commits, pack files, and the messages of a receive-pack exchange (the reference advertisement, the update request, and the report).graphdog– Package graphdog turns Graphviz DOT source into SVG (or PNG, or laid-out DOT) by calling the Graphviz C library in process.highlight– Generated by tools/pygments_styles from pygments-2.19.2’s style modules and sphinx-9.1.0’s pygments_styles.py; do not edit.highlight/guidedoc– Package highlight_guidedoc connects the highlight library to Guidedoc’s renderers.host– Package host composes the allocation-free core with memory, files, and retries.i18n– Package i18n translates Guidedoc documents the way Sphinx does with gettext: it extracts every translatable message of a document into a POT template (Sphinx’s gettext builder), and it replaces each message with its translation from a catalog (Sphinx’s Locale transform), re-parsing the translation as inline markup of the document’s own language.inventoryjinjaodindoc– Package odindoc reads Odin packages by static analysis, with Odin’s own parser (core:odin/parser), and writes the reStructuredText of the Guidedoc odin domain that documents them, as sphinx.ext.autodoc writes the Python domain’s: packages, procedures, procedure groups, types and their fields or enumerators, constants, variables, and foreign imports, each with its doc comment turned into reST.pages– Package pages publishes Guidedog sites to GitHub Pages from a local machine (GDS 0008): it is the pages publisher of lib/plugins, linked into the guidedog-pages program, and reached by guidedog publish –publisher=pages through the process protocol.pages/command– Package pages_command is the guidedog-pages command line: it signs in to GitHub, authorizes targets, and publishes Guidedog sites to GitHub Pages with lib/pages.plugins– Package plugins provides typed build services (GDS 0010) and publishers (GDS 0009).project– Package project builds a documentation project the way Sphinx does: a source directory with conf.toml, builders writing _build/<builder>, and incremental builds.pyscan– Package pyscan analyses Python source statically, through tree-sitter: modules and their docstrings, __all__, and imports; classes with their bases, decorators, and members in source order; functions with their parameters as written; and the attribute documentation Sphinx’s ModuleAnalyzer finds (#: comments and docstrings after assignments).readers/commonmark– Package commonmark reads Markdown into a Guidedoc document without calling an allocator, as two readers with distinct ids: “commonmark” (reader, read, read_inline) is pure CommonMark 0.31.2 and takes no settings; “myst” (myst_reader, read_myst, read_myst_inline) is the MyST Markdown that Sphinx projects write (myst-parser 0.16.1): directives, roles, targets, comments, front matter, footnotes, GFM tables, and the optional syntax that Settings.enable_extensions turns on.readers/rst– Package rst reads reStructuredText as the Docutils markup specification defines it, implemented independently.readers/rst/inline– Package rst_inline parses reStructuredText inline markup and resolves references.readers/sphinx– Package sphinx reads reStructuredText with the Sphinx layer: Sphinx’s directives, roles, and domains (GDS “Guidedog: everything Sphinx does, the Odin way”), implemented independently on the base reader’s extension interface.render/html– Package html renders a Guidedoc document as HTML without calling an allocator.render/text– Package text_render renders a Guidedoc document as plain text without calling an allocator, following the conventions of Sphinx’s text builder: paragraphs wrapped at 70 columns, titles underlined with = - ~ and the other section characters, “* “ and “1.render/typst– Package typst_render encodes a validated Guidedoc document as one Typst source file.toml– Package toml reads TOML 1.0: tables, arrays of tables, dotted and quoted keys, inline tables, arrays, every string form, integers in all bases, floats, booleans, and date-times (kept as text).treesitter– Package treesitter is a thin binding of the tree-sitter C library and its Python grammar: parsers, trees, nodes, and cursors, and nothing more.typst– Package typst adapts the Typst toolchain for the host.