llmmd2pdf Dev Reminders
Find the latest general documentation here.
Building a New Release
- Ensure all tests pass: Run your test suite to confirm everything is functioning correctly (
pytest is recommended):
- Update Version: Increment the version number in
pyproject.toml and __init__.py.
- Commit Changes: Stage and commit your changes with a clear message.
- Add a Tag: Add a tag for the new version.
- Check GitHub Pages Settings: Whenever major changes, especially in the documentation were made, ensure that the new documentation is built and deployed after pushing your changes. (Turn ‘deploy from a branch’ on.)
- Push to Repository: Push your commits and tags to the remote repository.
- Build the Package: Use
pyproject build to create the distribution files and verify with twine check.
cd <path_to_your_project>
python -m build
twine check dist/*
- Upload to PyPI: Use
twine upload dist/* to upload your package to PyPI.
Local Module Testing
To install the module locally for testing, use the following command: