-
Notifications
You must be signed in to change notification settings - Fork 0
ci: add pdoc3 docs workflow and simplify release-drafter #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Aaron ("AJ") Steers (aaronsteers)
merged 10 commits into
main
from
devin/1768761462-migrate-release-drafter-pdoc3
Jan 18, 2026
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
01d14fe
ci: add pdoc3 docs workflow and update release-drafter
devin-ai-integration[bot] 0afe48c
ci: simplify release-drafter workflow
devin-ai-integration[bot] 3e91bd1
ci: restructure release-drafter workflow
devin-ai-integration[bot] a0f353c
ci: remove setup-python step (uv manages its own Python)
devin-ai-integration[bot] 38d3331
ci: combine release-drafter into single job
devin-ai-integration[bot] 855819a
ci: add workflow_dispatch trigger to release-drafter
devin-ai-integration[bot] 055f1a1
ci: add names to job and first step in release-drafter
devin-ai-integration[bot] cf1b1fb
ci: simplify version resolution with inline bash parameter expansion
devin-ai-integration[bot] f28d9cc
ci: reorder steps per PR feedback
devin-ai-integration[bot] 26ee12b
ci: use brace expansion glob to exclude .gitignore from uploads
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| name: Generate Docs | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: {} | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Build Docs | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install uv | ||
| uses: astral-sh/setup-uv@v2 | ||
| with: | ||
| version: "latest" | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.12" | ||
|
|
||
| - name: Install dependencies | ||
| run: uv sync --group dev | ||
|
|
||
| - name: Build documentation | ||
| run: uv run poe docs-generate | ||
|
|
||
| - name: Get generated docs directory | ||
| id: docs-dir | ||
| run: echo "path=$(uv run poe -q get-generated-docs-dir)" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Upload docs artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: docs-${{ github.run_id }} | ||
| path: ${{ steps.docs-dir.outputs.path }} | ||
|
|
||
| - name: Setup Pages | ||
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
| uses: actions/configure-pages@v5 | ||
|
|
||
| - name: Upload Pages artifact | ||
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| path: ${{ steps.docs-dir.outputs.path }} | ||
|
|
||
| deploy: | ||
| name: Publish Docs | ||
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| needs: build | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.