pip install -U build
python3 -m build
- Edit
fhirclient/client.py
and change the__version__
field. - Edit
docs/Doxyfile
and change thePROJECT_NUMBER
field.
- Make sure that the version is correct in the source (see above for update instructions).
- Update the docs
- Release on GitHub
- Announce on Zulip
Docs are generated with Doxygen
and doxypypy.
You can install doxypypy via pip: pip install doxypypy
.
Then you can just run Doxygen. Configuration is stored in docs/Doxyfile
.
Running Doxygen will put the generated HTML documentation into docs/html
.
Those files make up the content of the gh-pages
branch.
I usually perform a second checkout of the gh-pages branch and copy the HTML files over, with:
doxygen docs/Doxyfile
rsync -a docs/html/ ../client-py-web/
Just create a new release in GitHub and create a corresponding tag.
This will also cause the pypi.yaml
GitHub Action to fire, uploading to PyPI.
Make a post in the Zulip channel for python.