API

This section contains API details for each of fastship's Python submodules (both notebook-authored and plain .py modules). This reference documentation is mainly useful for people looking to customise or build on top of fastship, or wanting detailed information about how fastship works.

TitleDescription
Configuration and version bumpingProject detection, unified TOML configuration, version bumping, and package metadata helpers for fastship.
makerCreate one or more modules from selected notebook cells
Releasing and pull requestsChangelog generation, PyPI and GitHub releases, and quick pull requests.
processA notebook processor
Project scaffolding and native buildsProject scaffolding, existing-project adoption, and local native wheel builds.
exportExporting a notebook to a library
Testing notebooks, literate modules, and pytestRun notebook examples, literate .py docstring examples, and conventional pytest suites under one command.
syncPropagate small changes in the library back to notebooks
GitHub Pages deploymentConfigure GitHub Pages workflow deployment and docs metadata for fastship sites.
mergeFix merge conflicts in jupyter notebooks
Python module docsRender Python modules, {{< doc ... >}} shortcodes, and live API signatures for fastship.
showdocDisplay symbol documentation in notebook and website
Symbol linksResolve and linkify backticked Python symbols across fastship and legacy nbdev entry points and live package indexes.
frontmatterA YAML and formatted-markdown frontmatter processor
Generating llms.txtGenerate llms.txt, companion llms-*.txt files, and docs_tree metadata from pkg/skill.py and the single site reading order.
processorsSome processors for NBProcessor
cleanStrip superfluous metadata from notebooks
diffCell-level git diffs for notebooks
coreConvert notebook content and Markdown to HTML and GitHub-flavored Markdown
pagesRead source documents, metadata, and output destinations
themeDefault styles, icons, and page layout
siteConfigure and build a documentation website
migrateConvert Quarto sources and settings for Fastship
cliBuild, preview, README generation, watch-export, prepare, and CLI help commands for fastship.