1234567891011121314151617181920212223242526 |
- name: API Docs
- on:
- push:
- branches: [ main, master ]
- pull_request:
- schedule:
- - cron: "0 6 * * *" # Daily 6AM UTC build
- jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Set up Python
- uses: actions/setup-python@v5
- with:
- python-version: "3.10"
- - name: Install pydoctor
- run: |
- sudo apt-get update && sudo apt -y install -y pydoctor python3-pip
- pip3 install pydoctor
- - name: Generate docs
- run: make apidocs
|