Skip to content

fix: replace markup the documentation site cannot parse - #1874

Merged
thegdsks merged 2 commits into
mainfrom
fix/docs-mdx-comments
Dec 4, 2026
Merged

thegdsks merged 2 commits into
mainfrom
fix/docs-mdx-comments

Conversation

@thegdsks

@thegdsks thegdsks commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Summary

The documentation deploy fails to parse generated pages. This replaces HTML comments with MDX comments in the two generators and escapes bare angle brackets outside code.

Added / Changed / Removed / Fixed

  • Fixed: environment variables and IaC reference pages, and a few hand written pages.

Surfaces touched

  • Docs

Security review

  • None

Tests run

Parsed every page in the navigation with the MDX compiler: no tag or comment errors remain (heading id syntax, which the docs site supports, is not covered). Generator checks pass.

Not verified / needs a real host

The documentation deploy itself.

Rollback

Revert.

Summary by CodeRabbit

  • Documentation
    • Updated documentation examples to display angle-bracket placeholders and comparison operators correctly.
    • Adjusted generated-page markers for compatibility with MDX.
    • Preserved existing instructions, settings, and documented behavior.

Confidence Score: 5/5RetriggerView in Greptile

The PR appears safe to merge; no actionable issues were found.

Summary

Replaces markup that blocks the documentation site's MDX parser.

  • Generated reference pages keep examples readable in MDX.
  • Hand-written guides show angle-bracket placeholders as text.

No actionable issues were found. The hosted documentation deploy was not verified during this review.

Reviews (1) · Last reviewed commit: "fix: escape the remaining markup the doc..." · Reviewed by Greptile

@thegdsks thegdsks added this to the v1.5.21 milestone Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The documentation generators now use MDX comment markers and escape angle brackets outside inline-code spans. Documentation pages update generated-file markers and displayed placeholders or examples to use the corresponding syntax.

Changes: MDX documentation rendering

Layer / File(s) Summary
Generator markers and escaping
scripts/gen-runtime-settings-docs/main.go, scripts/geniacref/*.go
The generators now emit MDX comment markers. They escape bare < characters outside inline-code spans.
Documentation markers and examples
docs/*.md, docs/iac/*
Documentation pages update generated-file markers and escape angle brackets in displayed placeholders and examples.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested labels: type/fix

Merge Risk: Minimal · up to d6300

This change fixes documentation markup that the docs site cannot parse. No concrete defect was found, and the only remaining unknown is a real-host deploy check, which is low risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "fix: replace markup the documentation site cannot parse" matches the main change. The PR replaces HTML comments with MDX comments in the generators and escapes bare angle brackets outside c…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix: replace markup the documentation site cannot parse" matches the main change. The PR replaces HTML comments with MDX comments in the generators and escapes bare angle brackets outside code so the docs site can parse the pages. The summary covers both the comment-marker change and the escaping change across the generators and handwritten docs pages. The title is specific and concise.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 18b0fe6e-b014-437b-b266-0ae9382cf8a3
Commits

Reviewing files that changed from the base of the PR and between 7b11f63 and d63004b.

Files selected for processing: 13

  • docs/database-access.md
  • docs/database-upgrades.md
  • docs/deploy-button.md
  • docs/domains-and-ingress.md
  • docs/environment-variables.md
  • docs/external-databases.md
  • docs/iac/errors.md
  • docs/iac/reference.md
  • docs/pages.md
  • docs/runtime-settings.md
  • scripts/gen-runtime-settings-docs/main.go
  • scripts/geniacref/errors.go
  • scripts/geniacref/main.go

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@thegdsks
thegdsks merged commit c28785b into main Dec 4, 2026
32 checks passed
@thegdsks
thegdsks deleted the fix/docs-mdx-comments branch December 4, 2026 19:39
@glinr-bot glinr-bot Bot mentioned this pull request Dec 4, 2026
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