-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
GitHub rendering does not respect case-sensitive anchor tag names #32
Comments
@refset But the links in the TOC should still work... right? |
Yes the TOC still contains clickable links that scroll the page, but they both scroll to the same |
Is there anything quickdoc can do to fix this? |
I reckon always adding a positional index as a suffix to the tag names regardless ( |
This is kind of what I had before: quickdoc/src/quickdoc/impl.clj Lines 113 to 118 in 66e4835
but got lost in a PR which improved the links in the TOC. quickdoc/src/quickdoc/impl.clj Lines 159 to 162 in 66e4835
|
If you have a namespace with both
Db
(a protocol) anddb
(a function), the generated table of contents as GitHub renders it will incorrectly link both entries to the samedb
section due to the collision.Inspecting GitHub's HTML shows that a case-insensitive naming scheming is applied e.g.
user-content-db
(forDb
) anduser-content-db-1
(fordb
), which perhaps hints at an approach to fixing this.This is definitely not super important but I figured it was worth capturing 🙂
The text was updated successfully, but these errors were encountered: