docs: hide generated variant pages#4724
Conversation
📝 WalkthroughWalkthroughThis PR implements a build-time documentation generation system that creates variant-specific pages (OpenClaw and Hermes) from shared Fern source files using placeholder substitution. Generated MDX output is written to ChangesAgent Variant Documentation Generation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
🌿 Preview your docs: https://nvidia-preview-pr-4724.docs.buildwithfern.com/nemoclaw |
E2E Advisor RecommendationRequired E2E: None Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 0 worth checking, 0 nice ideas This is an automated advisory review. A human maintainer must make the final merge decision. |
Summary
Moves generated OpenClaw/Hermes lifecycle docs out of the source directory and into the ignored docs build tree. This keeps contributor-facing source folders free of generated page copies while preserving Fern's native rendering for variant pages.
Changes
docs/_build/instead of beside the original docs file._buildoutput location.Type of Change
Verification
git commit --no-verifyandgit push --no-verifywere used at the user's request.npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Verified locally:
npm test -- test/agent-variant-docs.test.tsnpm run docs(passes with existing Fern warning)Signed-off-by: Miyoung Choi miyoungc@nvidia.com
Summary by CodeRabbit
New Features
Documentation
Tests