feat(docs): add workflow to publish s2-docs markdown to orphan branch#701
Merged
feat(docs): add workflow to publish s2-docs markdown to orphan branch#701
Conversation
- Add js-yaml dependency to actually parse YAML and catch syntax errors - Fix improperly indented field names (related_components, parent_category) - Fix escaped underscores in field names - Update validation to catch YAML parsing errors before other checks - Fixed 86 markdown files with YAML frontmatter issues
Add GitHub Actions workflow to publish docs/s2-docs markdown files to a docs-markdown orphan branch for chatbot indexing. This is Phase 1 of publishing markdown content - Phase 2 will add markdown-generator output alongside s2-docs content in PR #696.
|
Member
Author
Run report for 804caabcTotal time: 6.9ms | Comparison time: 0s | Estimated loss: 6.9ms (100.0% slower)
Touched files |
GarthDB
added a commit
that referenced
this pull request
Feb 12, 2026
Remove the orphan branch workflow since the chatbot supports subdirectories directly. The chatbot can index: https://github.com/adobe/spectrum-design-data/tree/main/docs/s2-docs Reverts #701
GarthDB
added a commit
that referenced
this pull request
Feb 12, 2026
Remove the orphan branch workflow since the chatbot supports subdirectories directly. The chatbot can index: https://github.com/adobe/spectrum-design-data/tree/main/docs/s2-docs Reverts #701
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add GitHub Actions workflow to publish docs/s2-docs markdown files to a docs-markdown orphan branch for chatbot indexing.
This is Phase 1 of publishing markdown content - Phase 2 will add markdown-generator output alongside s2-docs content in PR #696.
Changes
.github/workflows/publish-markdown.ymlworkflowdocs/s2-docs/**, after successful Release workflows, and on manual dispatch*.mdfiles fromdocs/s2-docs/to thedocs-markdownorphan branch unders2-docs/Orphan Branch Layout
After this PR merges, the
docs-markdownbranch will contain:Phase 2 (in PR #696) will add
components/,tokens/, andregistry/directories alongsides2-docs/.