DOC-3385: Markdown for Agents - build-time HTML to Markdown conversion#4027
Merged
kemister85 merged 7 commits intomainfrom Mar 19, 2026
Merged
DOC-3385: Markdown for Agents - build-time HTML to Markdown conversion#4027kemister85 merged 7 commits intomainfrom
kemister85 merged 7 commits intomainfrom
Conversation
- Add generate-markdown.mjs: converts Antora HTML to Markdown using d2m - Add serve-content-negotiation-local-test.mjs: local test server for Accept: text/markdown - New scripts: build:markdown, build:all, server:negotiate:local-test - Update .gitignore: Cursor setup (local only)
- Add resolutions for brace-expansion, sha.js, lodash, js-yaml, qs, minimatch, ecstatic, liquidjs, yauzl to force patched versions - Fix stale reference to deleted report in generate-markdown.mjs - yarn audit: 0 vulnerabilities (was 27)
- generate-markdown.mjs: escape backslashes in YAML title (incomplete string escaping) - serve-content-negotiation-local-test.mjs: resolve and validate path stays within ROOT
Kept triggering CodeQL findings (path traversal, uncontrolled input). Local testing via http-server + .md files.
3a61d74 to
f88126e
Compare
afe3138 to
a34e484
Compare
…d TinyMCE 8 in README
MitchC1999
approved these changes
Mar 19, 2026
tiny-ben-tran
approved these changes
Mar 19, 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.
Ticket: DOC-3385
Site: N/A (build pipeline change; staging applies after merge)
Changes:
scripts/generate-markdown.mjs— post-build conversion of Antora HTML to Markdown using dom-to-semantic-markdown (d2m)build:markdown,build:all.gitignore— Cursor setup (local only)Removed: Local content-negotiation test server — kept triggering CodeQL security findings. Local testing can use http-server and .md files directly, or staging.