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.1.1.1.0.tar.gz
(162.5 kB
view details)
Built Distribution
File details
Details for the file hexdoc_oneironaut-0.1.1.1.0.tar.gz
.
File metadata
- Download URL: hexdoc_oneironaut-0.1.1.1.0.tar.gz
- Upload date:
- Size: 162.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5000a823aac79179562427792a76eb9f77cb9a3d56183ae828819a00e55466a |
|
MD5 | 7d8855aba727bf9f0ab4cb0d847d2fa2 |
|
BLAKE2b-256 | 3e799b3e788f4ce48caca63ab39fc9ed50f509c65173d9af6ec276790a60e3d5 |
File details
Details for the file hexdoc_oneironaut-0.1.1.1.0-py3-none-any.whl
.
File metadata
- Download URL: hexdoc_oneironaut-0.1.1.1.0-py3-none-any.whl
- Upload date:
- Size: 184.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ae53a68c92dc0531a43ef2ecf46f709e5ea0b62056d2d62486a7a0f954dbed |
|
MD5 | 19644f6432616f8e62e19e96e2dd2887 |
|
BLAKE2b-256 | fc753bf54b0df1ab320604ada891339a9c16a5fb14fdbac79ce0a1c043dc3560 |