Add DocFX multi-language snippet tabs with persisted language state; patch vulnerable glob#20
Draft
Copilot wants to merge 5 commits into
Draft
Add DocFX multi-language snippet tabs with persisted language state; patch vulnerable glob#20Copilot wants to merge 5 commits into
Copilot wants to merge 5 commits into
Conversation
Agent-Logs-Url: https://github.com/Cratis/Documentation/sessions/92100d38-3803-4f4d-9451-9f04c6b524aa Co-authored-by: einari <134365+einari@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Cratis/Documentation/sessions/92100d38-3803-4f4d-9451-9f04c6b524aa Co-authored-by: einari <134365+einari@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Cratis/Documentation/sessions/92100d38-3803-4f4d-9451-9f04c6b524aa Co-authored-by: einari <134365+einari@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Cratis/Documentation/sessions/92100d38-3803-4f4d-9451-9f04c6b524aa Co-authored-by: einari <134365+einari@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for snippets from multiple programming languages
Add DocFX multi-language snippet tabs with persisted language state; patch vulnerable glob
May 11, 2026
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.
Summary
Adds DocFX support for
:::multilang title="...":::to render language-specific snippet tabs from mirrored documentation trees, and persists selected language across page navigation via local storage. Also upgradesglobto a patched release to address the CLI command-injection advisory.Added
Source/preprocess-multilang.tsto resolvesnippets/<kebab-title>.mdper language root and rewrite directives into DocFX tab groups.Source/docs/Documentation/code-snippets.md.Changed
Source/package.jsonbuild pipelines now runpreprocess:multilangbefore DocFX article/site build steps.Source/styles/docfx.jstab state now reads/writes selected tab IDs tolocalStorage(docfx-selected-tabs) while preserving query-string tab behavior.Fixed
Removed
Security
globfrom11.0.0to11.1.0to consume the patched CLI behavior for-c/--cmd.Deprecated
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
storybook.js.org/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node /home/REDACTED/work/Documentation/Documentation/Source/docs/Documentation/test-storybook/node_modules/.bin/storybook build(dns block)/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node /home/REDACTED/work/Documentation/Documentation/Source/docs/Documentation/test-storybook/node_modules/.bin/storybook build ntation/test-storybook/node_modules/@esbuild/linux-x64/bin/esbuild rybook/node_modules/.bin/storybook(dns block)/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node /home/REDACTED/work/Documentation/Documentation/Source/docs/Documentation/test-storybook/node_modules/.bin/storybook build k/Documentation/Documentation rybook/node_modules/.bin/storybook(dns block)If you need me to access, download, or install something from one of these locations, you can either: