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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a2c9c9a1074643aabab6e9c0d2ef0aca94424273a2c3cf69b8f3f5ec4f89356
|
|
| MD5 |
623eeb07bae8bc45ed3837441d60ff43
|
|
| BLAKE2b-256 |
6c2e22e1212d7ac27a83476ac65d7d7237740903b539e67c7ed2d47b758f7be2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43a83ae0708f1674d2adaf33f3e3e08e361c31df858af5719d9a369fd452bc43
|
|
| MD5 |
d1e374e20835d4383c42517f53bd6f50
|
|
| BLAKE2b-256 |
6ccf419472a597a6d5012705b559b231996c17529677324dfba1b538ce5c4836
|