docs: Add anchors to each setting's name in settings.html
for direct linking
#36733
Labels
A-docs
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
E-easy
Easy issue to tackle, requires little or no CockroachDB experience
good first issue
In the docs, we'd like to be able to link to specific settings, as discussed during the review on cockroachdb/docs#4635
It can be done by manually adding anchors to the settings file copy in the docs repo. However, that file is auto-generated in this repo and then copied over periodically, so making edits via the docs repo would lead to conflicts that would need to be manually tracked and resolved.
Therefore this feature request is to add anchor tags to each setting in
docs/generated/settings/settings.html
so they can be linked to directly in the documentation. A solution (verified to work in the PR linked above) would be to add an anchor with the same name as the setting, e.g.The text was updated successfully, but these errors were encountered: