Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 841 Bytes

deploy.md

File metadata and controls

26 lines (20 loc) · 841 Bytes

Deploy

# Documentation
# pip install sphinx nbsphinx myst_parser
sphinx-build -b html . build/html

# Pypi package
rm -r dist
# change version in setup.py
# change something in code
python3 -m build
python3 -m twine upload --repository pypi dist/*
Uploading distributions to https://upload.pypi.org/legacy/
# Enter your username: ...
# Enter your password: ...

Once the project is registered with readthedocs.org the documentation rebuilds each time there is a push to the Github repo (login to readthedocs to see the build progress/ any errors).