Skip to content

This directory contains a collection of guides and tutorials on various aspects of setting up and maintaining software development repositories

License

Notifications You must be signed in to change notification settings

opencitations/repository_setup_guides

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository setup guides

This repository contains guides for setting up and maintaining Python development repositories.

Documentation site

View the full documentation at: https://opencitations.github.io/repository_setup_guides/

Topics covered

  • 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

Local development

To run the documentation site locally:

cd docs
npm install
npm run dev

The site will be available at http://localhost:4321/repository_setup_guides/

Structure

The documentation source files are located in:

  • docs/src/content/docs/virtual_environments/: Python dependency management
  • docs/src/content/docs/version_control/: Version control best practices
  • docs/src/content/docs/ci_cd/: Continuous integration and deployment guides
  • docs/src/content/docs/documentation/: Documentation site setup guides

Example repositories

These repositories apply principles discussed in the guides: