docs: Fix bug on table of contents (#43840)

We were previously always highlighting the last header in the table of
contents as active even if you were at the top of the page. This is now
fixed, where upon loading the page, no header is highlighted, and as you
scroll, we highlight the top-most heading one by one.

Release Notes:

- N/A
ca6e64d451Danilo Leal committed on 11/30/2025, 4:11:20 PM· committed by GitHubparent0079044
1 file changedLine totals unavailable