Skip to main content

Tools for documentation and packaging

Project description

epythet

Documentation and packaging tools. Less humdrum, more automation, earlier at the pub.

Full documentation here

Install

Just

pip install epythet

Oh, and also you'll need sphinx-doc, which you can get on linux by:

$ apt-get install python3-sphinx

and on macOS with

brew install sphinx-doc

and on windows by googling it.

Quickstart

Setup Sphinx docsrc

from epythet.docs_gen.setup_docsrc import make_docsrc
make_docsrc(PROJECT_DIR)

Generate module docs

from epythet.docs_gen.autogen import make_autodocs
make_autodocs(PROJECT_DIR)

Compile docs

cd PROJECT_DIR/docsrc
make html

View by opening PROJECT_DIR/docsrc/_build/html/index.html.

Github Pages

Go to your repo settings and set GitHub Pages site to build from the /docs folder in the master branch. Github will tell you where it will be published. In this case, the site is published at https://i2mint.github.io/epythet/

Compile docs for github

cd PROJECT_DIR/docsrc
make github

Push generated PROJECT_DIR/docs to master branch

Editing and Customizing Docs

You can add RST documentation directly in the source files. This source file for example.

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

epythet-0.0.26.tar.gz (33.0 kB view details)

Uploaded Source

File details

Details for the file epythet-0.0.26.tar.gz.

File metadata

  • Download URL: epythet-0.0.26.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for epythet-0.0.26.tar.gz
Algorithm Hash digest
SHA256 f426a4e0b29e88643409358858860ef0980b29baab637f67df82851382bbc4ab
MD5 39f28a6a3810edd60e51c3e71bd84b77
BLAKE2b-256 a71530bfa7837c8cc5d5c5e6b9eede16aafaa1ac33176dbdcb297bb16c909d92

See more details on using hashes here.

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