Skip to main content

Deploy references from source control.

Project description

Deploy references from source control.

  • verdoc checks out Git tags/branches/commits/etc. in temporary clones and runs:

    tox -e verdoc -- "$outdir"
  • verdoc-index creates an index.html file that redirects to any URL you give it.

Only Git and tox are supported out of the box, but verdoc aims to be modular and easy to extend.

Installation

Use pipx to install verdoc.

pipx install verdoc

Usage

See the documentation for detailed usage instructions.

$ git checkout --orphan gh-pages
$ git rm -rf .
$ git tag -l
v1.0.0
v2.0.0
$ # Run `tox -e docs` instead of `tox -e verdoc`:
$ verdoc --build-opt env=docs v1.0.0 v2.0.0
INFO:verdoc:[v1.0.0] started
INFO:verdoc:[v2.0.0] started
INFO:verdoc:[v1.0.0] succeeded
INFO:verdoc:[v2.0.0] succeeded
$ git add v1.0.0/ v2.0.0/
$ git commit -m "Add built docs for v1.0.0 and v2.0.0"
$ verdoc-index v2.0.0
$ git add index.html
$ git commit -m "Create an index.html that redirects to v2.0.0"
$ git push

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

verdoc-1.0.2.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

verdoc-1.0.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file verdoc-1.0.2.tar.gz.

File metadata

  • Download URL: verdoc-1.0.2.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10

File hashes

Hashes for verdoc-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1a2c9c9a1074643aabab6e9c0d2ef0aca94424273a2c3cf69b8f3f5ec4f89356
MD5 623eeb07bae8bc45ed3837441d60ff43
BLAKE2b-256 6c2e22e1212d7ac27a83476ac65d7d7237740903b539e67c7ed2d47b758f7be2

See more details on using hashes here.

File details

Details for the file verdoc-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: verdoc-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10

File hashes

Hashes for verdoc-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 43a83ae0708f1674d2adaf33f3e3e08e361c31df858af5719d9a369fd452bc43
MD5 d1e374e20835d4383c42517f53bd6f50
BLAKE2b-256 6ccf419472a597a6d5012705b559b231996c17529677324dfba1b538ce5c4836

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