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.11.1.1.0rc7.dev21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14ae10ceca1951035d334b139c3a7b4fa635a49c289ea26feb422da98838073c |
|
MD5 | 7fede7840688abe6187ec7bc18d6ca4f |
|
BLAKE2b-256 | 03d61372e8b76db7d79325ca49ed29560d96370563596de612815c49915c27bf |
Close
Hashes for hexdoc_hexcasting-0.11.1.1.0rc7.dev21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf2c1714e202c77578e720d0a79e124ab528bbfa558012b4e201e68fd2bc57d7 |
|
MD5 | b224249e82d4e785198250cdac4f6bf8 |
|
BLAKE2b-256 | 0721c22897dd517c3276eef7a0530f963fe86c5a70f4567687ad3aa03e609b31 |