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.dev21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a432d279da64598e1a75cc250c0abdd8ceafecb77ce394f4d19a457d489524 |
|
MD5 | 18a7d1e7d32a8b81b3c8c7272a4e71d1 |
|
BLAKE2b-256 | e587f5e226606d2e0e593da3728eafe59eeadd1c0c3101caabe74ca1d7b5c01c |
Close
Hashes for hexdoc_hexcasting-0.9.6.1.0.dev21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155da91f343359c0c5dbe159b0547cc22557ef49b315ac0ff731feac089700a3 |
|
MD5 | 600f3611bdd03206be3b4d7b38b1558e |
|
BLAKE2b-256 | e4a36342d04c9417c5047701f93b77e47e6a059dd5fb4316f67fbcff666e60f7 |