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.5.0.1.0.0.tar.gz (19.6 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.5.0.1.0.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hexdoc_hextrapats-1.5.0.1.0.0.tar.gz
  • Upload date:
  • Size: 19.6 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.5.0.1.0.0.tar.gz
Algorithm Hash digest
SHA256 b538d112ab04fb963f82b270976580c3baa2cda2ef7fc1defa738d940feafce3
MD5 1726086593329849e9d3f4e6c71d17ed
BLAKE2b-256 cec5f622ed5c119017ffc1a7b2b9d822a5d3e7e43ff1ce8b0fc0aa11000c0c73

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hexdoc_hextrapats-1.5.0.1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48e9d54468caf90bc58cc68f202830059127f0118442dec4f8a5c9fc50ba250a
MD5 fdc4e623becd3cb57e3d2af94ce50089
BLAKE2b-256 1197c768df425edad2664bcfdb421320c71daee636ef3ca2bafa5294ccc5f258

See more details on using hashes here.

Provenance

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