TOC highlighting doesn't work without a logo
*Created originally on Bitbucket by Anonymous*
The jQuery search to find the table of contents depends upon the existence of a logo to ferret out the first UL in the sidebar. As a result, without a logo, it fails.
To fix, change
var links = $("div.sphinxsidebar p.logo + h3 + ul")
.addClass("sphinxtoclist")
.find("a");
to this:
var links = $("div.sphinxsidebar h3 + ul");
if ( links.length != 0 ) {
links = $(links[0]).addClass("sphinxtoclist").find("a");
}
issue