Publishing static documentation the easy way
Project description
Por favor
Publishing static documentation the easiest way possible!
Install
$ pip install porfavor
Use
On the server side, you should run the matching server-side implementation. It listens to any client and puts the given documentation in its right place.
On the server, run:
$ pip install porfavor
$ porfavor serve . # replace '.' with the desired working directory
Now, to deploy documentation on the server, all you have to do is running
porfavor publish with the right arguments:
$ # porfavor publish <server's URL> \
> <project name> \
> <documentation root>
$ porfavor publish localhost:5000 my_amazing_project docs/_build/html/
Zipping content of folder 'docs/_build/html'... DONE!
Publishing content for project 'my_amazing_project'... DONE!
Alternatively, you can write the following script, to make deployment more automatic:
from porfavor import publish
if __name__ == '__main__':
publish(host="localhost:5000",
project="project_name",
root_dir="root_dir")
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
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 porfavor-0.5.0.tar.gz.
File metadata
- Download URL: porfavor-0.5.0.tar.gz
- Upload date:
- Size: 432.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89fd7d8112b4c27e751b383da02c548002b11de7fadeb2f2721bae3f0df23d9d
|
|
| MD5 |
4abdc0d19d83f522565378c20cdcb3f9
|
|
| BLAKE2b-256 |
4edb5324bfbbb3aac8058f7d7dcd3b7e21cffb50bc938653a4fc11b644272d82
|
File details
Details for the file porfavor-0.5.0-py2.py3-none-any.whl.
File metadata
- Download URL: porfavor-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 434.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12a6264c40a6094b66dc176448548648c52d3b039fc7de3e646db5d64a4a4fde
|
|
| MD5 |
3c132b4d3af2a4db39ff944a6b78b7de
|
|
| BLAKE2b-256 |
160503cc275023cf640df03775d31cd085581a363903ff8b0e039a8b8d5b3f31
|