Closed IndrajeetPatil closed 2 years ago
Probably because you've used multiple <h1>
; pkgdown only expects one (generated by the article title).
pkgdown only expects one (generated by the article title)
Oh? Somehow missed this. It works with the CRAN version, but I guess that is serendipitous.
At any rate, I tried with <h2>
and <h3>
, and it looks good! Thanks.
Minimal reprex website: https://indrajeetpatil.github.io/minimalReprex/articles/test2.html
with default bootstrap version
For example, if my vignette TOC has the following structure:
It is rendered as:
with
bootstrap: 5
The TOC is rendered as expected with defaults.
But if I specify
bootswatch
theme (e.g. to have dark background) as specified here), it leaves out section titles: