Publish documentation¶
CLI Beta
For teams who want an HTML site and a PDF from reStructuredText or MyST sources,
built by the ubc CLI.
What is ubCode? explains how ubCode works with Sphinx, or instead of it.
ubc CLI gets you
ubc, a single binary.Quickstart scaffolds a project to build, with a
markdownflavor for MyST authors.Building a static HTML site builds and ships a static site, with a builder that is Beta.
Building a PDF builds one PDF from the same sources, and Page classes at work shows its page classes at work; Which diagrams draw on a default install says which diagrams it draws with what installed.
HTML site and PDF document set the theme, the branding and the page layout.
Writing reports and Card designs with [needs.card_layouts] add generated reports and need cards.
Writing content and Differences from a Sphinx build say what renders, and where
ubcdiffers from Sphinx; the essentials tour shows the constructs most pages need.
Neither builder renders autodoc (ubCode does not run your code) or Graphviz;
Unsupported syntax lists each with what to write instead.
Both builders read one numbering model, [build.numbering] (Numbering),
with a table of their own for anything that should differ;
the site prints its section, figure, table, code-block and equation numbers
and the :numref: / :eq: references to them — see Numbering sections, figures and equations —
and the PDF prints the same numbers in its headings, contents, bookmarks, running heads, captions,
equations and :numref: / :eq: references, and letters its appendices — see Numbering.
Next steps¶
Upgrade path: add requirements and traceability to the same project with Manage requirements and traceability.
For your team: ubCode for teams covers licensing, offline use and support.
Use it at work. ubCode is free for open-source projects, and a private project needs a commercial license. Request a free enterprise trial to evaluate it on your own private project.