Skip to content

fix(docs): harden Pages export runtime#4

Merged
trsoliu merged 1 commit intomainfrom
codex/docs-pages-runtime-env
Apr 5, 2026
Merged

fix(docs): harden Pages export runtime#4
trsoliu merged 1 commit intomainfrom
codex/docs-pages-runtime-env

Conversation

@trsoliu
Copy link
Copy Markdown

@trsoliu trsoliu commented Apr 5, 2026

Summary

  • pass GitHub Pages base-path env overrides into Mintlify export
  • rewrite exported JS text assets so CLI-only runtime literals do not boot on Pages
  • document the runtime override in docs maintenance guidance

Testing

  • bun test scripts/export-docs-site.test.mjs scripts/docs-static-compat.test.mjs

@trsoliu trsoliu merged commit cd78726 into main Apr 5, 2026
1 check failed
@trsoliu trsoliu deleted the codex/docs-pages-runtime-env branch April 5, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant