Skip to content

fix(remark-docfx): stitch textDirective splits before env-token resolution#100

Open
viktorkombov wants to merge 2 commits into
vkombov/migrate-jquery-docsfrom
vkombov/normlize-textDirectives
Open

fix(remark-docfx): stitch textDirective splits before env-token resolution#100
viktorkombov wants to merge 2 commits into
vkombov/migrate-jquery-docsfrom
vkombov/normlize-textDirectives

Conversation

@viktorkombov
Copy link
Copy Markdown
Contributor

Closes #81, #90

Starlight enables remark-directive which parses :ProductName inside
{environment:ProductName} as an inline textDirective, splitting each
token into three AST nodes. Added a pre-pass to merge them back before
the ENV_PATTERN regex runs.

Also:

  • Extract shared env-token loader into src/env-tokens.ts
  • Remove src/normalize-mdx.ts and scripts/normalize-mdx.mjs (corrupted
    MDX source files during dev server watch)
  • Add scripts/migrate-jquery-pipeline.mjs and fixer scripts for
    DocFX→MDX migration (slugs, toc, links, pseudo-html, token normalization)
  • Restore body H1s and normalize {/} to {/} in 1500+ jQuery MDX files
  • Add agent skills: astro-child-config and docfx-to-mdx-migration

…ement

Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@viktorkombov viktorkombov added the ❌ status: awaiting-test PRs awaiting manual verification label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tripwire-docs ❌ status: awaiting-test PRs awaiting manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants