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.22.tar.gz (32.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: epythet-0.0.22.tar.gz
  • Upload date:
  • Size: 32.8 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.0 CPython/3.8.6

File hashes

Hashes for epythet-0.0.22.tar.gz
Algorithm Hash digest
SHA256 44e445eb04875b1452fec96a9282a6b6adc5cc78e5149b8b0ac43e06910ed8fc
MD5 a625617c8f3e85bcf0d73eaa84cd1a8f
BLAKE2b-256 d05d6b7228ebc999823501757010c9bdf75c892a3a83b786021f72e32d070c05

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