Python web book docgen and hexdoc plugin for Hexxy Dimensions.
Project description
hexdoc-hexdim
Python web book docgen and hexdoc plugin for Hexxy Dimensions.
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=walksanatora/hexxy-dimensions
GITHUB_SHA=main
GITHUB_PAGES_URL=https://walksanatora.github.io/hexxy-dimensions/
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
File details
Details for the file hexdoc_hexdim-1.2.0.1.20.0.tar.gz
.
File metadata
- Download URL: hexdoc_hexdim-1.2.0.1.20.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1890dcfa7190d9f64d7b0fc709935533211da88a5480f4fc416e88daaefa4491 |
|
MD5 | 29c90f12f81cc0990aa36d7ec5339317 |
|
BLAKE2b-256 | bd6f55770389c76df6545eadac627409bc7d2b1c7c757b5e2feb0af2c97791d9 |
File details
Details for the file hexdoc_hexdim-1.2.0.1.20.0-py3-none-any.whl
.
File metadata
- Download URL: hexdoc_hexdim-1.2.0.1.20.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc91c8a72af455387959d273558f46c9ac4f2e526e40ffdc866f4b985b6d253 |
|
MD5 | 3e8fae9ae85dba408ee5d98c0b3f6ded |
|
BLAKE2b-256 | d6b9b0be59321c3d1bd67a63d2515a8c951654f501b640ffa2b4e4d15b2af904 |