aistore icon indicating copy to clipboard operation
aistore copied to clipboard

docs: add Fern preview check workflow

Open chenopis opened this issue 5 months ago • 0 comments

Summary

Adds a Fern documentation validation workflow and contributor-facing local preview/check instructions.

Changes:

  • Adds .github/workflows/fern-docs.yml for PR validation on Fern/docs-related changes.
  • Adds make fern-generate, make fern-check, make fern-preview, and make fern-build targets.
  • Updates scripts/fern/generate-pages.sh so local checks can create a Python API reference stub when FERN_TOKEN is not available.
  • Adds contributor documentation for local Fern preview and validation.

Related

  • Jira: NSVISCS-11564
  • Companion IA-only PR: https://github.com/NVIDIA/aistore/pull/327

Verification

  • bash scripts/fern/generate-pages.sh
  • npm exec --yes --package [email protected] -- fern check
    • Result: 0 errors, 1 existing warning for missing generated ./pages/python when fern docs md generate is not run locally.
  • git diff --check

Note: full make fern-generate/Go-adjacent verification is still limited in this local environment because go is not installed.

chenopis avatar Jun 26 '26 23:06 chenopis