docs(docs-infra): drop tabs layout from the API reference details page (#59068)

Drop the tabs in favor of a single page separated by sections.

PR Close #59068
This commit is contained in:
hawkgs
2024-11-12 09:35:24 +02:00
committed by Jessica Janiuk
parent e0c33814fd
commit b6733eeea4
37 changed files with 834 additions and 1068 deletions
@@ -49,9 +49,7 @@ export class TableOfContentsLoader {
const updatedTopValues = new Map<string, number>();
for (const heading of headings) {
const parentTop = heading.parentElement?.offsetTop ?? 0;
const top = Math.floor(parentTop + heading.offsetTop - this.toleranceThreshold);
updatedTopValues.set(heading.id, top);
updatedTopValues.set(heading.id, this.calculateTop(heading));
}
this.tableOfContentItems.update((oldItems) => {