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

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

Built distribution (wheel)

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

Total release size: 180.3 kB

Release files / aai_octavo-0.0.7.tar.gz

Download URL aai_octavo-0.0.7.tar.gz
Size 86.5 kB
Tags Source
SHA-256 checksum
How to use checksums
91e7d528065e58447e0d301cfc67c4f2079f9ed30b9e44faa243cca5d07f485a
BLAKE2b-256 checksum
How to use checksums
61c145af77fe841c141e8432a22f3fd7aec52d67008b820bf86274c78b20fb0a
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.7-py3-none-any.whl

Download URL aai_octavo-0.0.7-py3-none-any.whl
Size 93.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a41fdda147b93356c3b8cec3dfc27cc8f4c8e086907d56857275cece57884786
BLAKE2b-256 checksum
How to use checksums
e40f8cef17de6b23e6bbde693bf1010593e71466e28537a4fd87377c41593339
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.7

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