Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slugifying produces duplicate div ids #1477

Open
mmomtchev opened this issue Feb 11, 2022 · 0 comments
Open

slugifying produces duplicate div ids #1477

mmomtchev opened this issue Feb 11, 2022 · 0 comments

Comments

@mmomtchev
Copy link
Contributor

In a project that I am converting to documentation I have:

  • gdal.Group.arrays property in gdal.Group class
  • gdal.GroupArrays class

They both end up having a div id of gdalgrouparrays and the fragment links do not work

I propose that the slugifying is tracked:

  • we always reuse the same instance of GithubSlugger
  • every time a new slug is requested, it is checked against a list of existing slugs and only if it does not exist, a new one is requested from GithubSlugger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant