octavo
Build static sites from notebooks and markdown
Octavo builds static sites from notebooks and Markdown. It writes an HTML page and a GitHub-flavored Markdown file for each document, with links resolved for each format. Sites include navigation, a table of contents, and Pagefind search.
It's like quarto but smaller, faster, and ours.
Get started
Install from pypi: pip install aai-octavo
To build a site create a directory containing Markdown files or notebooks and an octavo.yml file. For example:
docs/
octavo.yml
index.md
guide.ipynb
In docs/octavo.yml:
title: My project
output: ../_site
The output path is relative to docs/. Sources and output must be separate directories; neither may contain the other. The build replaces the output directory, so reserve it for generated files.
In docs/index.md:
---
title: My project
---
Read the [guide](guide.ipynb).
Write the guide in docs/guide.ipynb. Links use source filenames. Octavo rewrites this link to guide.html for HTML output and retains guide.md for Markdown output.
From the directory containing docs/, build the site:
octavo-build docs
To serve it locally and rebuild after edits:
octavo-preview docs
Both commands default to the current directory when the path is omitted. Preview opens a browser; refresh it after a rebuild. Use octavo-preview --help for server options.
An explicit --output preview overrides the YAML destination and is relative to your working directory.
Python callers can use Site.from_dir('docs').build() from octavo.site.
Your site is saved in _site/:
index.html # html pages
guide.html
index.md # md pages
guide.md
pagefind/ # helpers
_octavo/
Migrating from Quarto
For octavo-migrate-quarto, read the migration guide.
Metadata
Release files for aai-octavo 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aai_octavo-0.0.4.tar.gz | 45.3 kB | Without provenance | Details for aai_octavo-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aai_octavo-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for aai_octavo-0.0.4-py3-none-any.whl |
Total release size: 94.8 kB
Release files / aai_octavo-0.0.4.tar.gz
| Download URL | aai_octavo-0.0.4.tar.gz |
|---|---|
| Size | 45.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e5754b5ea9c98b43e3ffb98d1f7683cc77661882b7e41942cfae2279fab8d8f
|
|
BLAKE2b-256 checksum How to use checksums |
8a8d69b4940b381a75f6883c9553f50403a6bcc40ee5bf99dd7a3d3a4bc0760a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / aai_octavo-0.0.4-py3-none-any.whl
| Download URL | aai_octavo-0.0.4-py3-none-any.whl |
|---|---|
| Size | 49.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c46723aab750f6f37867ab0ce1e75423e79a09a115fa51dfe94f790e93127375
|
|
BLAKE2b-256 checksum How to use checksums |
47543c4425f34ea78c661a2b65a3e52414e77aef4d6bd256fdb001548e129a59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for aai-octavo 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.