Extract inline code blocks from speech-understanding MDX pages#632
Open
Extract inline code blocks from speech-understanding MDX pages#632
Conversation
…nippet files Process custom-formatting.mdx, speech-understanding.mdx, and translation.mdx to extract all inline code blocks (Python, JavaScript, bash, JSON, text) into separate snippet files under snippets/ directories, replacing them with <Code src> and <CodeBlocks> references per the extraction plan. https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN
JSON files with // comments, [...], and bare ... are invalid syntax. Replace 5 affected .json snippet files with -response.mdx files using <Json> components (JS object literals), referenced via <Markdown src>. https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN
Run `pnpm generate:fern-definition` and `pnpm to-json` to update generated files that were out of sync with the source YAML specs. https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN
The CI uses `pnpm to-json` (js-yaml) followed by `pnpm format` (prettier), which produces different output than fern write-definition. Regenerate using the same pipeline CI uses. https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN
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.
Process custom-formatting.mdx, speech-understanding.mdx, and translation.mdx to extract all inline code blocks (Python, JavaScript, bash, JSON, text) into separate snippet files under snippets/ directories, replacing them with
and references per the extraction plan.https://claude.ai/code/session_011DqGsW3eyCDUmqXcjqXBWN