Skip to main content

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.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aai-octavo 0.0.5
File Size Uploaded Provenance Actions
aai_octavo-0.0.5.tar.gz 86.1 kB Without provenance Details for aai_octavo-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aai-octavo 0.0.5
File Interpreter ABI Platform Actions
aai_octavo-0.0.5-py3-none-any.whl Python 3 none any Details for aai_octavo-0.0.5-py3-none-any.whl

Total release size: 179.4 kB

Release files / aai_octavo-0.0.5.tar.gz

Download URL aai_octavo-0.0.5.tar.gz
Size 86.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9bfef70f83d5a635f1347351e987d1b9c62be0149343eefd10117024817627de
BLAKE2b-256 checksum
How to use checksums
3009042201d0c0b16440fdc6c89895bb06f0116a5dc01dde14d6d096db78088a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / aai_octavo-0.0.5-py3-none-any.whl

Download URL aai_octavo-0.0.5-py3-none-any.whl
Size 93.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c811019d36807dc014316205a6c467ae5bd5b7503b2dabd0f225aab9ab1e989c
BLAKE2b-256 checksum
How to use checksums
44b000606bfca7ec7377c7f3d5aa15b0797f282a144711babdb7f28366b56532
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for aai-octavo 0.0.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page