docs: implement publishing pipeline (#617)#644
Closed
planetf1 wants to merge 4 commits intogenerative-computing:mainfrom
Closed
docs: implement publishing pipeline (#617)#644planetf1 wants to merge 4 commits intogenerative-computing:mainfrom
planetf1 wants to merge 4 commits intogenerative-computing:mainfrom
Conversation
Contributor
|
The PR description has been updated. Please fill out the template for your PR to be reviewed. |
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
Contributor
Author
|
Not ready for review yet. Opening to share the idea -- we need the mandatory core PRs merged first |
69b3b2e to
30529c0
Compare
Add docs-publish.yml workflow that builds, validates, and deploys docs to orphan deployment branches (docs/staging from main, docs/production from releases). Replaces docs-autogen-pr.yml. Includes pre-commit hooks for MDX validation and docstring quality, docs/PUBLISHING.md strategy document, and .gitignore entries for generated API docs. Validation is soft-fail by default with strict_validation toggle. workflow_dispatch supports force_publish for testing.
Safer default for manual dispatch — testing deploys to docs/preview rather than docs/staging. The automatic paths (push→staging, release→production) are unaffected. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30529c0 to
11f3d8f
Compare
PRs with the 'docs-preview' label deploy to docs/preview branch. PRs without the label only run build + validation (no deploy). Also triggers on 'labeled' event so adding the label fires the workflow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update PUBLISHING.md with docs/preview branch, label-based PR deployment, and updated manual dispatch instructions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
Recreating PR from upstream branch to enable deploy testing. See replacement PR. |
8 tasks
Contributor
Author
|
Replaced by #646 (same changes, pushed to upstream branch to enable deploy testing). |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
docs: implement publishing pipeline
Type of PR
Description
Fixes #617
Implements Option B from #617: dedicated orphan deployment branches for
Mintlify. CI builds and validates documentation, then pushes the combined
output (static guides + generated API reference) to
docs/staging(frommain) or
docs/production(from releases).Changes
.github/workflows/docs-publish.yml— new unified workflow replacingdocs-autogen-pr.yml. Triggers on push to main, release published, PRs(validation only), and workflow_dispatch (with
force_publishoverridefor testing). Validation is soft-fail by default;
strict_validationinput can be enabled when ready.
.github/workflows/docs-autogen-pr.yml— deleted (replaced by above)..pre-commit-config.yaml— adds two informational hooks: MDXvalidation when doc files change, docstring quality audit when Python
source changes. Both skip gracefully if generated docs aren't present.
docs/PUBLISHING.md— documents the publishing architecture, branchstrategy, local development workflow, and Mintlify configuration.
.gitignore— adds entries for generateddocs/docs/api/anddocs/docs/api-reference.mdx.Dependencies
Requires these PRs to merge first:
build.py,validate.py,audit_coverage.py, poe tasks, and generated MDX output)Nice to have but not blocking:
Testing