Use auto-generated session settings from CockroachDB source code#23251
Conversation
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify project configuration. |
9747974 to
ab3c1d9
Compare
Files changed:
|
|
@rafiss this is the docs update to pull in the autogenerated session settings you added in cockroachdb/cockroach#142228 ! |
rafiss
left a comment
There was a problem hiding this comment.
amazing! thanks for doing htis
taroface
left a comment
There was a problem hiding this comment.
I think this automation is badly needed and overdue, so thank you for making it happen.
That said, I'm concerned that it completely erases the manual documentation of the settings, which in many cases were more descriptive and refined. Modest example: inject_retry_errors_enabled here versus in our docs. I'm not sure how to address this gap. What do you think about it?
Technical issue: The code formatting in the autogenerated table is not rendering correctly. I think we encountered this in the logging reference docs but don't recall how we fixed it.
thanks Ryan!
it's a valid concern. i'm not entirely sure if the gap can be fully addressed tbh. i did participate on the review of Rafi's original PR (see here for my comments) to try to help offset some of the loss of fidelity due to the lack of support for e.g. links to docs pages from inside the generated docs. that said i think it's an overall win for users (and their agents ofc) due to the dozens of settings that were previously not documented at all. I'm def open to making a followup issue to try to improve the docs in the settings file even more. what do you think?
i think i found an example - the backticks inside the table cell are not rendering.
my guess is because Jekyll's markdown renderer gets confused since it's quite likely regex-based and it's already inside an HTML table. Here's a representative row: i think the fix is to PR cockroachdb/cockroach to make everything in backticks use HTML |
Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com>
taroface
left a comment
There was a problem hiding this comment.
LGTM provided those 2 followup issues are created sometime!
thanks Ryan! Filed the followup issues:
|

Fixes DOC-12507