Repository navigation
Fix wiki build: replace MDX-incompatible autolinks in local development guide - #106
Merged
Merged
Conversation
…nt guide The Corp Wiki deploy failed after #105 because <http://...> autolinks are parsed as JSX tags by MDX. Use inline code instead. Verified with a full docusaurus build.
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.
What
The Corp Wiki deploy failed on master after #105 (run for commit ea103b9).
local-development.mdhad two angle-bracket autolinks (lines 35 and 37). MDX parses<as the start of a JSX tag, so the build stopped with "Unexpected character/before local name".Fix
Replace
<http://localhost:5173>and<http://localhost:3000/api/auth/redirect>with inline code. No other changes.Verified
npm ci && npm run buildincorpwiki/(with dummy Algolia values) now compiles the client and server and generates the static site.<http...>autolinks remain in the docs changed by Add one-command local dev stack (authentik, Gitea, Mongo, Redis, Mailpit) and update local dev docs #105. The README has one, which GitHub renders correctly and the wiki build does not include.Until this merges, the Corp Wiki deploy keeps failing and the previously published wiki stays live.