Sidebar collapsing question

I love this software environment, and appreciate the document as a nice reference for myself as I develop code. However, I find it annoying that if I select an item, the sidebar collapses. I see that nbdev’s does not do this, and spent quite a bit of time trying to discover the magic. It appears to be the line “doc_baseurl = /” in settings.ini. This works fine with the local server, (which I love!) but does not for the version that gets into my github.io, see https://tburnett.github.io/wtlike/photon_data.html. ( I love that this happens automatically!) But, that version is also flawed, in that the automatic links to sections fail. I see that the online version nbdev seems to avoid that by not being on github.io. Is there a solution?