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=main
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.2.0.1.0.0.tar.gz (16.2 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.2.0.1.0.0-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hexdoc_hextrapats-1.2.0.1.0.0.tar.gz
Algorithm Hash digest
SHA256 3f169bbe6c9df2fd7fa8db54c584b5a02c41406267001a6d281acc36baaea1b7
MD5 dd076d13772d6fcc354e642e3be9960a
BLAKE2b-256 bebeed8f061c14a56e3a894eebf8c5dd5d6e6cf85944856a6b5240982fd1bd97

See more details on using hashes here.

Provenance

The following attestation bundles were made for hexdoc_hextrapats-1.2.0.1.0.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.2.0.1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hexdoc_hextrapats-1.2.0.1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84b9d5d6de664e6e8cc38561b83bec4332d40114b0f69e2ed8472cbec11ba6e0
MD5 05dd14708aef3ce99acb5f80008f0e99
BLAKE2b-256 a2ac9947dffb0d95dff07a68d29a775577ed1f79f9eff0c16a505b55dcdeb618

See more details on using hashes here.

Provenance

The following attestation bundles were made for hexdoc_hextrapats-1.2.0.1.0.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