Commit 9a3bb92
committed
docs: fix sidebar scaffold on section-less pages
Body-class regex required class right after <body>, but pages with a
title anchor emit <body id=... class=...>, so toc2 toc-left was never
added. Section-less pages (pci-parallel-port, mpg) lost the left margin
and TOC arrows. Match attrs before class.1 parent 77e9f58 commit 9a3bb92
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
401 | | - | |
402 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
403 | 405 | | |
404 | 406 | | |
405 | 407 | | |
| |||
0 commit comments