docs.yml 474 B

12345678910111213141516171819202122232425
  1. ---
  2. name: API Docs
  3. "on":
  4. push:
  5. branches: [main, master]
  6. pull_request:
  7. schedule:
  8. - cron: "0 6 * * *" # Daily 6AM UTC build
  9. jobs:
  10. apidocs:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v4
  14. - name: Set up Python
  15. uses: actions/setup-python@v5
  16. with:
  17. python-version: "3.13"
  18. - name: Install pydoctor
  19. run: |
  20. pip3 install pydoctor
  21. - name: Generate docs
  22. run: make apidocs