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.dev22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd5fdc4db227c9a505e80f4211119e16ed362126591896fcdbd6f60ed6382b3 |
|
MD5 | dd013ad49bc86ed4ade52315eb5cebc8 |
|
BLAKE2b-256 | 7b97ccc91c47f9f2f9bc922afa1230882f75e5f990d9b4bc9dcd66a73e9d8e90 |
Close
Hashes for hexdoc_hexcasting-0.9.6.1.0.dev22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a45011ec920795a5e9fe57bf0a5448c5dc610e5f6eea03ed0ecfbc2f38933293 |
|
MD5 | ee1aed5822bedeee808a081e23134692 |
|
BLAKE2b-256 | 8fb6253835953498df4c57387247d286c8c3ad9ab323659b2efee104e0cf7462 |