ci: Fix Fern docs version publishing#949
Conversation
Signed-off-by: Neal Vaidya <nevaidya@nvidia.com>
Try out this PRQuick install: pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@b3b3974591509aae6ac251035bb2820d6d3faa73Recommended with virtual environment (using uv): uv venv --python 3.12 && source .venv/bin/activate
uv pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@b3b3974591509aae6ac251035bb2820d6d3faa73Last updated for commit: |
WalkthroughThe workflow file is updated to make docs publishing more accessible and refine version management. The publish step can now run manually via workflow dispatch when on the main branch, and version checking logic is adjusted to use a consistent field reference with explicit Latest version metadata. ChangesFern Docs Workflow Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Root cause
The v0.7.0 release run promoted the first version entry to Latest. On AIPerf, that first entry was dev, so the published docs lost the dev version entry. The docs-website branch has been manually repaired to the Dynamo-style shape with separate Latest, dev, and stable version entries.
Validation
git diff --check -- .github/workflows/fern-docs.yml.github/workflows/fern-docs.ymlSKIP=no-commit-to-branch PRE_COMMIT_HOME=/tmp/aiperf-pre-commit-cache uv run pre-commit run --files .github/workflows/fern-docs.ymlSummary by CodeRabbit