Skip to content

Fix MDX v3 compatibility: escape placeholder angle brackets in prose#559

Open
Copilot wants to merge 7 commits intomainfrom
copilot/explore-codebase-migrate-docs
Open

Fix MDX v3 compatibility: escape placeholder angle brackets in prose#559
Copilot wants to merge 7 commits intomainfrom
copilot/explore-codebase-migrate-docs

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 13, 2026

  • Fix docHtml.default → render DocContent directly in DocItem/index.js
  • Fix Cannot read properties of null (reading 'clientHeight') crash on page reloaduseTOCHighlight (Docusaurus internal) calls document.querySelector('.navbar')!.clientHeight in getNavbarHeight(). The custom Header has no .navbar CSS class, so this returns null and crashes. Setting navbar.hideOnScroll: true in the theme config makes Docusaurus use offset 0 instead of calling getNavbarHeight(), preventing the crash.

Copilot AI and others added 2 commits April 13, 2026 10:56
Agent-Logs-Url: https://github.com/openebs/website/sessions/cd366096-37d4-4db0-afa5-04705363ad52

Co-authored-by: Abhinandan-Purkait <32007083+Abhinandan-Purkait@users.noreply.github.com>
Wrap bare <placeholder> patterns outside code blocks in backtick inline
code to prevent MDX v3 from treating them as JSX tags. Patterns fixed:
- <"minio-pv-name">, <"postgres-pv-name">, <"prometheus-pv-name">
- <pool_id>, <pool_node>, <pv_name>, <replica_uuid> in metrics tables
- <path_to_your_yaml> in prose (not in code blocks)
- <Grafana_SVC_NodePort> and similar uppercase/underscore placeholders
- <incr_snap_name>, <pool_node> and similar patterns in kb.md/spc docs

Applied to main/ and all versioned_docs/ copies (74 files total).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: Abhinandan-Purkait <32007083+Abhinandan-Purkait@users.noreply.github.com>
Agent-Logs-Url: https://github.com/openebs/website/sessions/cd366096-37d4-4db0-afa5-04705363ad52

Co-authored-by: Abhinandan-Purkait <32007083+Abhinandan-Purkait@users.noreply.github.com>
…ion, EditThisPage, netlify Node version

Agent-Logs-Url: https://github.com/openebs/website/sessions/ab30f53c-5f27-4472-a010-3a6e1138b64f

Co-authored-by: Abhinandan-Purkait <32007083+Abhinandan-Purkait@users.noreply.github.com>
Agent-Logs-Url: https://github.com/openebs/website/sessions/16883ad8-043b-4bcf-a4ba-bba041a7c67c

Co-authored-by: Abhinandan-Purkait <32007083+Abhinandan-Purkait@users.noreply.github.com>
…ull .navbar

Agent-Logs-Url: https://github.com/openebs/website/sessions/7966e4ca-74ee-498b-a0d6-937be7c765f4

Co-authored-by: Abhinandan-Purkait <32007083+Abhinandan-Purkait@users.noreply.github.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
@Abhinandan-Purkait Abhinandan-Purkait marked this pull request as ready for review April 14, 2026 11:21
@Abhinandan-Purkait Abhinandan-Purkait requested a review from a team as a code owner April 14, 2026 11:21
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.

2 participants