Skip to main content

Random pattern ideas that come to my head. Mostly utility.

Project description

hexdoc-hextrapats

Python web book docgen and hexdoc plugin for Hextra Patterns.

Random pattern ideas that come to my head. Mostly utility.

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

Install uv, then:

uv sync

.\.venv\Scripts\activate   # Windows
. .venv/bin/activate.fish  # fish
source .venv/bin/activate  # everything else

Usage

For local testing, create a file called .env in the repo root following this template:

GITHUB_REPOSITORY=MEEPofFaith/hextra-patterns
GITHUB_SHA=koltin-rewrite
GITHUB_PAGES_URL=https://meepoffaith.github.io/hextra-patterns

Useful commands:

# update your Python environment and lockfile if you added new dependencies
uv sync

# 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

# build and merge the web book
hexdoc build
hexdoc merge

# start the Python interpreter with some extra local variables
hexdoc repl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hexdoc_hextrapats-1.6.0.1.0.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hexdoc_hextrapats-1.6.0.1.0-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file hexdoc_hextrapats-1.6.0.1.0.tar.gz.

File metadata

  • Download URL: hexdoc_hextrapats-1.6.0.1.0.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hexdoc_hextrapats-1.6.0.1.0.tar.gz
Algorithm Hash digest
SHA256 c18c58d003db4835f8b4c68b8a87c2eec4d0869c72c44cf82b11730d7ef97146
MD5 8c56e2f9291813b74241a0b02e210656
BLAKE2b-256 978ce06ca53738e6c6229d4dbf2c5dfaa4bb451fb68d30df8a99dd0006686276

See more details on using hashes here.

Provenance

The following attestation bundles were made for hexdoc_hextrapats-1.6.0.1.0.tar.gz:

Publisher: build_docs.yml on MEEPofFaith/hextra-patterns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hexdoc_hextrapats-1.6.0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hexdoc_hextrapats-1.6.0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c70cd528d7472f08d96a75c1596118ccb78a788825c386be38ee8cb326916469
MD5 9b387e97baefe45ebe2313ec7260114d
BLAKE2b-256 052e10bebd306fc8f7c24a16ab43956f72153931b07f09bff482dc6bbb5a8876

See more details on using hashes here.

Provenance

The following attestation bundles were made for hexdoc_hextrapats-1.6.0.1.0-py3-none-any.whl:

Publisher: build_docs.yml on MEEPofFaith/hextra-patterns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page