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

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.8
File Size Uploaded Provenance Actions
aai_octavo-0.0.8.tar.gz 86.8 kB Without provenance Details for aai_octavo-0.0.8.tar.gz

Built distribution (wheel)

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

Total release size: 180.9 kB

Release files / aai_octavo-0.0.8.tar.gz

Download URL aai_octavo-0.0.8.tar.gz
Size 86.8 kB
Tags Source
SHA-256 checksum
How to use checksums
62718e938ffd2702b7e809e0f50a5a679d8148c9e41fa600cc308e3cffde931e
BLAKE2b-256 checksum
How to use checksums
3cd5b97f42cdef932ecc60951f307f66787ef3d080b6bca0cd76654d323078fa
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.8-py3-none-any.whl

Download URL aai_octavo-0.0.8-py3-none-any.whl
Size 94.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f9aefd0ecc98a62bf7e53b4e6b469993df49174c931e5bf23c7c830bb5f0d9a
BLAKE2b-256 checksum
How to use checksums
4ec8bd35507f4d32bd8b33528a3579827ea6d41072b45a68f3dcc6276b0c3f94
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.8

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