Skip to content

Commit

Permalink
Merge pull request #13 from canonical/add-src-docs
Browse files Browse the repository at this point in the history
Add src-docs instructions
  • Loading branch information
cbartz authored Mar 8, 2024
2 parents 59b6ac9 + 8c90b3e commit 6ec5375
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ tox devenv -e integration
source venv/bin/activate
```

## Generating src docs for every commit

Run the following command:

```bash
echo -e "tox -e src-docs\ngit add src-docs\n" >> .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
```

## Testing

This project uses `tox` for managing test environments. There are some pre-configured environments
Expand Down

0 comments on commit 6ec5375

Please sign in to comment.