DOC-6711 RDI config reference ideas#3415
Conversation
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4d03e85. Configure here.
| {{- else -}} | ||
| {{ $seg }} | ||
| {{- end -}} | ||
| {{- end -}} |
There was a problem hiding this comment.
Dot paths split schema keys
Medium Severity
Property dot paths are built with real schema segment names (e.g. redis.batch.size, stream.name.pattern), but the UI splits displayPath on every .. That treats one key as several segments, so breadcrumb links and # anchors point at IDs that were never emitted for those fake segments.
Reviewed by Cursor Bugbot for commit 4d03e85. Configure here.


WIP: don't merge yet!
This PR updates the way the RDI reference docs are formatted and delivered. The new pages are in folders with "v2" at the end of the title to allow comparison with the existing pages.
Two basic elements to this:
This seems like a good separation of concerns - we can update the presentation of the reference on the docs side without a PR and rebuild on the RDI side.
The CLI ref layouts are largely the same as they were, but I've taken the opportunity to address another issue: finding RDI properties in the config file reference, which is long and complicated. The initial suggested improvements are:
One particular feature of the filter to call out is the idea of providing preset collections of properties that might be helpful for particular tasks. The current ones are just placeholders (eg, "Flink processor tuning"), but of course we can have any collections we want here. A further refinement to this (fairly easy to add) is to allow the user to create their own property collections and add them to the menu. This could use local storage, but another option would be to encode the collection in the URL. This might be useful for sharing collections and also for links from elsewhere in the docs ("use this set of properties if you want to achieve xxx...")
Anyway, as usual, all feedback is welcome. If we decide to go ahead with this then I'll push the corresponding changes on the RDI side.
Note
Medium Risk
Large generated reference data and a new build gate affect published docs accuracy; scope is documentation and build tooling, not runtime product code.
Overview
Adds a data-driven v2 path for RDI reference docs alongside the existing hand-authored pages, using JSON under
data/rdi-reference/instead of Markdown exported from RDI.Build / CI: New
validate_rditarget runsbuild/validate_rdi_collections.pybeforehugoandserve_hugo, so every property path incollections.jsonmust exist inconfig.json(schema drift fails the build).Config reference (v2):
config-yaml-reference-v2.mdrenders via therdi-config-referenceshortcode fromconfig.json, withcollections.jsondefining preset property groups (getting started, classic/Flink tuning).CLI reference (v2):
cli-v2/_content.gotmplgenerates one Hugo page perredis-dicommand fromcli.json(large Click-introspection dump), usingrdi/cli-page-body.htmlfor page bodies. Section index iscli-v2/_index.md(link title “CLI commands (v2)”).Legacy reference pages are unchanged; v2 entries are for side-by-side comparison until cutover.
Reviewed by Cursor Bugbot for commit 4d03e85. Bugbot is set up for automated code reviews on this repo. Configure here.