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
hexdoc_hexdim-1.1.1.1.0.tar.gz
(13.4 kB
view details)
Built Distribution
File details
Details for the file hexdoc_hexdim-1.1.1.1.0.tar.gz
.
File metadata
- Download URL: hexdoc_hexdim-1.1.1.1.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.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce161e665cb71a6f32d3c3db87b453d3ae965decc94ca35e57a9a5e905701426 |
|
MD5 | 253d7c38a2386d288c056c8b3a825f9f |
|
BLAKE2b-256 | 0df36181fe7d3f1b018fcb065014ab46295563353afa84212fe4bdf4f61551f9 |
File details
Details for the file hexdoc_hexdim-1.1.1.1.0-py3-none-any.whl
.
File metadata
- Download URL: hexdoc_hexdim-1.1.1.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 311b290bba89031a2c36f0af6e8758832c9f9aa8ca18b5e7bbf54953e63f698d |
|
MD5 | 9f16bd047c81aac4f0cff623ea6c60d1 |
|
BLAKE2b-256 | 38312ccd14cd9496d9f613b3002fdbf85f9a9cda73c55b2b0b7bec972f16d492 |