This repository contains guides for setting up and maintaining Python development repositories.
View the full documentation at: https://opencitations.github.io/repository_setup_guides/
- Virtual environments: Complete UV guide from installation to publishing
- Version control: Semantic commits using the Conventional Commits specification
- CI/CD: GitHub Actions workflows, automated testing with pytest and UV, automated releases with semantic-release
- Documentation: Starlight setup with automated GitHub Pages deployment
To run the documentation site locally:
cd docs
npm install
npm run devThe site will be available at http://localhost:4321/repository_setup_guides/
The documentation source files are located in:
docs/src/content/docs/virtual_environments/: Python dependency managementdocs/src/content/docs/version_control/: Version control best practicesdocs/src/content/docs/ci_cd/: Continuous integration and deployment guidesdocs/src/content/docs/documentation/: Documentation site setup guides
These repositories apply principles discussed in the guides: