Skip to main content

Publishing static documentation the easy way

Project description

Por favor

PyPI Build Status

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

porfavor-0.5.1.tar.gz (432.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

porfavor-0.5.1-py2.py3-none-any.whl (434.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file porfavor-0.5.1.tar.gz.

File metadata

  • Download URL: porfavor-0.5.1.tar.gz
  • Upload date:
  • Size: 432.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for porfavor-0.5.1.tar.gz
Algorithm Hash digest
SHA256 0eb0f3ca3184bbc56f3bca20d0f04d1adb7da5a15c89aa5652ba11d130fd5400
MD5 003a813bba71f470650c45a447dd4688
BLAKE2b-256 fb77d192a925f1c8c3b8956c61dc3f7c3cc958fb62df4b081954daec3b8b1c37

See more details on using hashes here.

File details

Details for the file porfavor-0.5.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for porfavor-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0bd4f27bc40fd8c4cbfe88eaa4b71fa1198f9e96e8f16e3df2eb08434afbf725
MD5 a0f99763534693da2e5d65dfab09354e
BLAKE2b-256 90b7bcb3840900be5211f7ac12522f21d97982703cb6cfec62b43473ba46fd51

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