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.2
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.2.tar.gz | 28.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aai_octavo-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.3 kB
Release files / aai_octavo-0.0.2.tar.gz
| Download URL | aai_octavo-0.0.2.tar.gz |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93cf44d264212623f5e05df4ef4e720bed28f3d3564372df66ddc41e0cd95850
|
|
BLAKE2b-256 checksum How to use checksums |
883c14dd444cc4cd90cd6387b1476d03d380c01b16cf18f92c5dc53c757eae57
|
| 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.2-py3-none-any.whl
| Download URL | aai_octavo-0.0.2-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1161aec837ce2b0fa1bffa1ab0637ad17d1e9679aabab94d8c0f60cdc7b5d47a
|
|
BLAKE2b-256 checksum How to use checksums |
9f95f28a77485a87110023413bea842ad04da64bb5c2c10a14f8f937427d0303
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|