Conversation
|
Hello, thanks for the PR! Note that it is generally better to open an issue first, so we can discuss the feature request. It's more respectful of both maintainers and contributors time. I'll try to review your PR and the issue/idea behind it as soon as possible 🙂 |
Replaces-PR-#20: #20 Related-to-issue-#25: #25 Related-to-issue-#35: #35 Co-authored-by: Oleh Prypin <[email protected]> Co-authored-by: tvdboom <[email protected]>
|
Hey @percevalw, we just merged #39 which allows to define aliases above headings. With this feature, even if you have the same heading appearing in multiple pages, you can set a unique alias that points to it. I believe that almost entirely solves the use-case described here. The only thing that is maybe not solved is the case where the headings are generated by other plugins/extensions and you don't have control over them. In mkdocstrings case, we will be able to use these new aliases to solve this issue too. |
Hi,
This PR addresses the need for priority handling when a heading title appears several times throughout the site. The new priority parameter can be set to decide which page will be linked in such cases.
From the updated README:
Let me know if these changes work for you.