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

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.6
File Size Uploaded Provenance Actions
aai_octavo-0.0.6.tar.gz 86.1 kB Without provenance Details for aai_octavo-0.0.6.tar.gz

Built distribution (wheel)

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

Total release size: 179.4 kB

Release files / aai_octavo-0.0.6.tar.gz

Download URL aai_octavo-0.0.6.tar.gz
Size 86.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4d0a38fe5a08bf4f73476887ce26cae71782e7289db653bdd876a16fd37b667a
BLAKE2b-256 checksum
How to use checksums
ea67769e4c2f82fef3625938543968bacb60e50478241b36647696866159b24e
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.6-py3-none-any.whl

Download URL aai_octavo-0.0.6-py3-none-any.whl
Size 93.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08a8083084a69dd3407ac55f2d9ee3d9b08fabe0d80f63504d6b893d68db4449
BLAKE2b-256 checksum
How to use checksums
723298b8d429efd717a0a28457bf09842873a19ae7934265b0c634e24b824439
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.6

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