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
hexdoc_hexcasting-0.9.6.1.0.tar.gz
(830.2 kB
view hashes)
Built Distribution
Close
Hashes for hexdoc_hexcasting-0.9.6.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e794032622dc8bec64a0af8f79f4ea91f2e9ff0df07fdb6f7b2f67d57749380 |
|
MD5 | 285614c37902632554083e82fbf2846f |
|
BLAKE2b-256 | e08b2b63bbb310cbcbb64f96b3a8084b77cc2b83cd1ba91cd09d52c188d9df15 |
Close
Hashes for hexdoc_hexcasting-0.9.6.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a0854aa54903dbb9ddf84deb197dc1016cb225a9587f11923dfb23760d14bc |
|
MD5 | c6883e455541300b8ad984b98557238f |
|
BLAKE2b-256 | 2b521cca7104e17463c1ac7cd3b1d1834de25351a5c00b57484fcda9a3a0ed78 |