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/. The build replaces that directory; use a destination reserved 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/, run the following Python code.
from octavo.site import Site
Site.from_dir('docs').build()
Your site is saved in _site/:
index.html # html pages
guide.html
index.md # md pages
guide.md
pagefind/ # helpers
_octavo/
Metadata
Release files for aai-octavo 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aai_octavo-0.0.3.tar.gz | 29.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aai_octavo-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.5 kB
Release files / aai_octavo-0.0.3.tar.gz
| Download URL | aai_octavo-0.0.3.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f965abf2d06e0242c1dc248ac5f489b06e5464e4defd9befe2c82af89193852
|
|
BLAKE2b-256 checksum How to use checksums |
a8adda2a71b1cc666785b867a87c6b3d2245c9c4916ad08be09c7a12d7396973
|
| 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.3-py3-none-any.whl
| Download URL | aai_octavo-0.0.3-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e625bc4681ec9b163bc23e87e864c54ffd707429cff733c1f62eab7e381e1209
|
|
BLAKE2b-256 checksum How to use checksums |
ab40f585c6558c676b89ff62f7c48b6b53162131476f5c1452656e0bb8a023c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|