You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, it's something needed for any bit-docs website that wants to include this plugin, so why not implement here rather than re-implement it in every bit-docs website?
Adding of IDs could be toggled on/off with a setting if needed, and it could be smart enough to use any existing IDs on the header elements, or smart enough to enumerate for headings with the same contents on the same page (thus otherwise having identically generated IDs).
The text was updated successfully, but these errors were encountered:
Seem like this code:
https://github.com/canjs/bit-docs-html-canjs/blob/d1352069818e053453a5f082fad68e08f79f3ad6/static/canjs.js#L187-L210
Should be part of this plugin, especially considering the regex for building the ID could change here but not there, thus breaking the anchor links:
bit-docs-html-toc/make-tree.js
Lines 53 to 58 in 65eda42
Also, it's something needed for any bit-docs website that wants to include this plugin, so why not implement here rather than re-implement it in every bit-docs website?
Adding of IDs could be toggled on/off with a setting if needed, and it could be smart enough to use any existing IDs on the header elements, or smart enough to enumerate for headings with the same contents on the same page (thus otherwise having identically generated IDs).
The text was updated successfully, but these errors were encountered: