Skip to main content

Example project for sphinx python.

Project description

Python-sphinx-documentation

Template to document code with sphinx. install package pip install packagename_jarne

Create documentation

  1. Update files to fit the new package
  • Change packagename_jarne to the new packagename
  • Change version in packagename_jarne/version
  • Update setup.py
  • Update sources for Sphinx
    • docs/source/conf.py
    • rst files
  1. Install package with conda

conda env create -f environment.yml

  1. Make documentation
  • conda env create -f environment_build.yml; conda activate conda-env-name-build;cd docs;make html;cd ..
  • make html
    • alternatives make help

Add new python files

  1. Add files in package folder packagename_jarne (or the new name)
  2. Add links to the python files in docs/source/
  3. Make Documentation (see above)

Upload to pipy requirements

  • add PYPI_TOKEN to github secrets

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

packagename_jarne-0.3.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

packagename_jarne-0.3.0-py2.py3-none-any.whl (2.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file packagename_jarne-0.3.0.tar.gz.

File metadata

  • Download URL: packagename_jarne-0.3.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for packagename_jarne-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a480771c047b02911fb2fd9576a1cead0d89edd7fda8e9afea1c749d01c93a97
MD5 95d4946e29f9397d63d7346dc810919d
BLAKE2b-256 93716385a9401076f4f6aae45f2ba053e52e40e3fc86b09cac55546c7c95bdb4

See more details on using hashes here.

File details

Details for the file packagename_jarne-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for packagename_jarne-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e1e955c0690d834ba5ce7b5df478952d68238300f0b595921fcd9cbba46080e7
MD5 9cf584c441c383145fe2160f383f4e7b
BLAKE2b-256 7f7b73675325cf02943c5abf4304065bd229f117e280e32148e1af79eff112e3

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