No project description provided
Reason this release was yanked:
Outdated, use hexdoc 1!0.1.x and hexdoc-hexcasting instead.
Project description
hexdoc
This is the Python docgen 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
Creating a plugin / addon
WIP.
- Run these commands, then follow the prompts:
pip install cookiecutter cookiecutter gh:object-Object/HexMod --directory doc
- Note: if you run this from within an existing mod repo, add the flag
-f
and leaveoutput_directory
blank.
- Note: if you run this from within an existing mod repo, add the flag
- Fill in the TODOs in
doc/properties.toml
(mostly paths to files/folders in your mod so hexdoc can find the data it needs). - Try running the docgen locally by following the instructions in
doc/README.md
. - If it doesn't already exist, create an empty
gh-pages
branch and push it. - On GitHub, under
Settings > Pages
, set the source toDeploy from a branch
, the branch togh-pages
, and the folder todocs/
. - Commit and push the docgen, and see if the CI works.
- On GitHub, under
Settings > Environments
, create two new environments calledpypi
andtestpypi
. - Follow these instructions for PyPI and TestPyPI: https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/
- TestPyPI is a duplicate of PyPI which can be used for testing package publishing without affecting the real index. The CI workflow includes a manual execution option to publish to TestPyPI.
Setup
python -m venv venv
.\venv\Scripts\activate # Windows
source venv/bin/activate # anything other than Windows
# run from the repo root, not doc/
pip install -e .[dev]
Usage
# run from the repo root, not doc/
hexdoc ./doc/properties.toml -o _site/src/docs
hexdoc_merge --src _site/src/docs --dst _site/dst/docs
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-0.10.3.1.0.dev11.tar.gz
(110.4 kB
view details)
Built Distribution
File details
Details for the file hexdoc-0.10.3.1.0.dev11.tar.gz
.
File metadata
- Download URL: hexdoc-0.10.3.1.0.dev11.tar.gz
- Upload date:
- Size: 110.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37c62a34d2826223a0990030dc142efcee5762c09ba19dd73b41e9cfd7865bd5 |
|
MD5 | 0dfac20105d2a06fb011339b9441457f |
|
BLAKE2b-256 | a2d3fc754113a89e2a94e6b7231e6617a2dfa1f7917734883535ec7644a3e27f |
File details
Details for the file hexdoc-0.10.3.1.0.dev11-py3-none-any.whl
.
File metadata
- Download URL: hexdoc-0.10.3.1.0.dev11-py3-none-any.whl
- Upload date:
- Size: 205.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e35b25bf341861a06f5a9db5d2982ab07bed63d675ee3bed98739f9fab76d8fc |
|
MD5 | 3a0db6e93a68388422c851f091308fd0 |
|
BLAKE2b-256 | afce7293aa70e972d5b440d171c8bf2a693452620349c9c5fe8cc8f99c30f70d |