mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-24 22:48:06 +00:00
b1c232a2ad
As part of #43020, we're making an option's `parents` explicit, which isn't possible without breaking the docs links that our JSON Schema contains. We previously incorrectly generated the `See also` link for an option, by taking the first of its `parents` which isn't `.`, and assume the option is documented under that parent, which isn't true for options that can be valid in multiple places. To fix this, we track which headings are output, and then linking to them accordingly. By fixing this, we see the following diffs: ```diff -#packagerulesenabled +#enabled -#packagerulesfetchchangelogs +#fetchchangelogs -#ansiblemanagerfilepatterns +#managerfilepatterns ``` We can also add a test to catch this breakage in the future. Co-authored-by: Claude Opus 5 <jamie.tanna+claude-code@mend.io>