Example project for sphinx python.
Project description
Python-sphinx-documentation
Template to document code with sphinx.
install package pip install packagename_jarne
Create documentation
- 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
- Install package with conda
conda env create -f environment.yml
- 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
- alternatives
Add new python files
- Add files in package folder
packagename_jarne
(or the new name) - Add links to the python files in
docs/source/
- 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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a480771c047b02911fb2fd9576a1cead0d89edd7fda8e9afea1c749d01c93a97 |
|
MD5 | 95d4946e29f9397d63d7346dc810919d |
|
BLAKE2b-256 | 93716385a9401076f4f6aae45f2ba053e52e40e3fc86b09cac55546c7c95bdb4 |
File details
Details for the file packagename_jarne-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: packagename_jarne-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1e955c0690d834ba5ce7b5df478952d68238300f0b595921fcd9cbba46080e7 |
|
MD5 | 9cf584c441c383145fe2160f383f4e7b |
|
BLAKE2b-256 | 7f7b73675325cf02943c5abf4304065bd229f117e280e32148e1af79eff112e3 |