Skip to content

Commit

Permalink
fix documentation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractUmbra committed May 5, 2024
1 parent 624b84b commit 763b36c
Show file tree
Hide file tree
Showing 2 changed files with 368 additions and 169 deletions.
12 changes: 6 additions & 6 deletions docs/_static/js/custom.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const classes = document.getElementsByClassName("class");
const tables = document.getElementsByClassName('py-attribute-table');
const tables = document.getElementsByClassName('py-attribute-table');

for (let i = 0; i < classes.length; i++) {
const parentSig = classes[i].getElementsByTagName('dt')[0];
const table = tables[i];
const parentSig = classes[i].getElementsByTagName('dt')[0];
const table = tables[i];

parentSig.classList.add(`parent-sig-${i}`);
table.id = `attributable-${i}`
parentSig.classList.add(`parent-sig-${i}`);
table.id = `attributable-${i}`

$(`#attributable-${i}`).insertAfter( `.parent-sig-${i}` );
$(`#attributable-${i}`).insertAfter(`.parent-sig-${i}`);
}


Expand Down
Loading

0 comments on commit 763b36c

Please sign in to comment.