reffy 16.0.0 → 16.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reffy",
3
- "version": "16.0.0",
3
+ "version": "16.0.1",
4
4
  "description": "W3C/WHATWG spec dependencies exploration companion. Features a short set of tools to study spec references as well as WebIDL term definitions and references found in W3C specifications.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,7 +28,8 @@ export default function () {
28
28
  if (n.closest('.head, del')) return;
29
29
  const pageUrl = n.href.split('#')[0];
30
30
  // links generated by authoring tools have data-link-type or data-xref-type set
31
- let linkSet = n.dataset.linkType || n.dataset.xrefType ? autolinks : rawlinks;
31
+ // Bikeshed also adds automatic untyped links in the generatedindex ("ul.index aside")
32
+ let linkSet = n.dataset.linkType || n.dataset.xrefType || n.closest("ul.index aside") ? autolinks : rawlinks;
32
33
  if (!linkSet[pageUrl]) {
33
34
  linkSet[pageUrl] = {anchors: new Set()};
34
35
  }