Hex Casting web book.
Project description
hexdoc-hexcasting
Python web book docgen and hexdoc plugin for Hex Casting.
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=gamma-delta/HexMod
GITHUB_SHA=main
GITHUB_PAGES_URL=https://gamma-delta.github.io/HexMod
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
Built Distribution
Close
Hashes for hexdoc_hexcasting-0.9.6.1.0.dev24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ad600be862fb51008ee4ad8b500408d5ef70a2e5a8b78c980a3135a366b4ef |
|
MD5 | 833bf326d94679b39390d4b4e81ed965 |
|
BLAKE2b-256 | e1452baf4400c325cafbc68a9585eb8c3b1502ceb00dea63fadd17e30caed5ae |
Close
Hashes for hexdoc_hexcasting-0.9.6.1.0.dev24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d01f2ed93c8272f7370c6888e6559613b5cef78f9ed761d5881e5e7abb601a4 |
|
MD5 | 507ce8b790e6df561f6ae2ff368d552c |
|
BLAKE2b-256 | db9b8716ec38770e48d7b64983df2b931204cb4ada29c749e78c52d8af16ae4e |