Skip to main content

Python web book docgen and hexdoc plugin for Oneironaut.

Project description

hexdoc-oneironaut

Python web book docgen and hexdoc plugin for Oneironaut.

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=beholderface/oneironaut
GITHUB_SHA=main
GITHUB_PAGES_URL=https://beholderface.github.io/oneironaut

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


Download files

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

Source Distribution

hexdoc_oneironaut-0.2.0.1.0.tar.gz (210.7 kB view details)

Uploaded Source

Built Distribution

hexdoc_oneironaut-0.2.0.1.0-py3-none-any.whl (261.5 kB view details)

Uploaded Python 3

File details

Details for the file hexdoc_oneironaut-0.2.0.1.0.tar.gz.

File metadata

  • Download URL: hexdoc_oneironaut-0.2.0.1.0.tar.gz
  • Upload date:
  • Size: 210.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for hexdoc_oneironaut-0.2.0.1.0.tar.gz
Algorithm Hash digest
SHA256 da880f64c48113058ea5bdea0a8b24965eb89fcdce0a4b3c558c85a96384ad5f
MD5 e5ad96f36b49b0e3c26594ac18e2a714
BLAKE2b-256 970b02d5f04ef4984fcd5796d5b1e1e16b06de661f0d2d749549d7535b915e0b

See more details on using hashes here.

File details

Details for the file hexdoc_oneironaut-0.2.0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hexdoc_oneironaut-0.2.0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43330f1738fd01ac58c3de593f90a411bd49e5de10a92d4c0d70fe34dabc7b10
MD5 81a53c77e652c36abe4b7f032afb1f2f
BLAKE2b-256 772b65abfefbb74d154f393c25d269df7031ff316d4ce76e3bac7f4150bb48f1

See more details on using hashes here.

Supported by

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