Skip to content

Commit 1a87368

Browse files
Kristopher Turnerclaude
andcommitted
fix(ci): update sync source path from standards/ to docs/standards/
Platform moved canonical standards from standards/*.mdx to docs/standards/*.md so they render in MkDocs. Update the copy step to match: - Source: _platform/docs/standards/*.md (not _platform/standards/*.mdx) - Rename .md → .mdx on copy so Docusaurus renders consistently - Skip how-to pages (consuming, contributing, propagation, authoring-guide) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 93b6738 commit 1a87368

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/sync-standards.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,18 @@ jobs:
4040
ref: ${{ github.event.inputs.platform_ref || github.event.client_payload.ref || 'main' }}
4141
path: _platform
4242

43-
- name: Copy platform/standards/*.mdx → site/standards/
43+
- name: Copy platform/docs/standards/*.md → site/standards/ (as .mdx)
4444
run: |
4545
set -euo pipefail
4646
mkdir -p standards
47-
# Copy only .mdx (README.md on platform is an index for humans, not a rendered page)
48-
find _platform/standards -maxdepth 1 -name "*.mdx" -print0 \
49-
| xargs -0 -I{} cp -v "{}" standards/
47+
# Source moved to docs/standards/ in platform (MkDocs home).
48+
# Copy .md files and rename to .mdx so Docusaurus renders them consistently.
49+
for f in _platform/docs/standards/*.md; do
50+
base=$(basename "$f" .md)
51+
# Skip the how-to pages that live only in platform docs, not in site standards
52+
case "$base" in consuming|contributing|propagation|authoring-guide) continue ;; esac
53+
cp -v "$f" "standards/${base}.mdx"
54+
done
5055
rm -rf _platform
5156
5257
- name: Detect changes

0 commit comments

Comments
 (0)