Python web book docgen and hexdoc plugin for Oneironaut.
Project description
hexdoc-oneironaut
Python web book docgen and hexdoc plugin for Oneironaut.
Version scheme
We use hatch-gradle-version to generate the version number based on whichever mod version the docgen was built with.
The version is in this format: mod-version.python-version.mod-pre.python-dev.python-post
For example:
- Mod version:
0.11.1-7
- Python package version:
1.0.dev0
- Full version:
0.11.1.1.0rc7.dev0
Setup
python3.11 -m venv venv
.\venv\Scripts\activate # Windows
. venv/bin/activate.fish # fish
source venv/bin/activate # everything else
# run from the repo root, not doc/
pip install -e .[dev]
Usage
For local testing, create a file called .env
in the repo root following this template:
GITHUB_REPOSITORY=beholderface/oneironaut
GITHUB_SHA=main
GITHUB_PAGES_URL=https://beholderface.github.io/oneironaut
Useful commands:
# show help
hexdoc -h
# render and serve the web book in watch mode
nodemon --config doc/nodemon.json
# render and serve the web book
hexdoc serve
# export, render, and merge the web book
hexdoc export
hexdoc render
hexdoc merge
# start the Python interpreter with some extra local variables
hexdoc repl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hexdoc_oneironaut-0.3.0.1.0.tar.gz
(239.1 kB
view details)
Built Distribution
File details
Details for the file hexdoc_oneironaut-0.3.0.1.0.tar.gz
.
File metadata
- Download URL: hexdoc_oneironaut-0.3.0.1.0.tar.gz
- Upload date:
- Size: 239.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac42c016a6c252157e867319dca61057caeca457523798300e9b84220b1fd1c8 |
|
MD5 | 34781de32ad6df73d269cbd97c729c22 |
|
BLAKE2b-256 | 2ed787da88f81e088d9ebb6dd2b7f8c1120d98faff62a3cca86b427a246f0992 |
File details
Details for the file hexdoc_oneironaut-0.3.0.1.0-py3-none-any.whl
.
File metadata
- Download URL: hexdoc_oneironaut-0.3.0.1.0-py3-none-any.whl
- Upload date:
- Size: 300.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b551063e2fa5c472891df192e836c0913e090a09912c3791db1ec328afff613 |
|
MD5 | 6ca0cf3cc0dec42e10adbdeadda73392 |
|
BLAKE2b-256 | dd3cc7d26ea10247e14d6817aff8fe036b13c09a2912cf80faac958c2cbc2ca2 |