visualWeb now has automated docs sync, same pattern as your other repos.
Trigger
Workflow file:/Users/columbus/Development/idopt/visualWeb/.github/workflows/sync-docs.yml
It runs when:
- a commit to
mainchanges anything underdocs/** - manual run from GitHub Actions (
workflow_dispatch)
What it does
- Detects changed and deleted files under
docs/. - Checks out
Idopt-Lab/idopt-docs. - Copies docs into
idopt-docs/web-visuals/.... - Updates Mintlify
docs.jsonnavigation using:visualWeb/.github/scripts/update_docs_nav.py - Commits and pushes to
idopt-docs.
Required secret
InvisualWeb GitHub repo settings, add:
DOCS_PUSH_TOKEN(PAT with write access toIdopt-Lab/idopt-docs)
How Grant/Zhou should use it
- Edit docs in
visualWeb/docs/*.mdx. - Merge to
main. - Confirm
Sync Docs to Mintlifypassed in Actions. - Verify the updated pages appear in the central docs site.