I found that there’s an odd bug with docsify-darklight-theme plugin, whether it’s used with or without docsify-themeable.
If you setup a raw docsify project:
npx docsify init ./test-docs
And edit docsify’s options in index.html:
window.$docsify = {
loadSidebar: true,
autoHeader: true
}
Then create the following _sidebar.md:
- [Title 1](/autotitle.md)
- [Title 2](/customtitle.md)
With the following pages:
autotitle.md
This page has an auto-generated title.
customtitle.md
# My custom title
This page has a custom title.
When loaded, the autotitle.md will have an auto-generated title matching its link text from _sidebar.md.

When loaded, the customtitle.md will keep its custom title.

However, after docsify-darklight-theme setup, the customtitle.md will have two main titles:
- the one from the sidebar
- the one from its content

I find this behavior very strange and can’t understand where it’s coming from… I heavily rely on the default behavior in order to have short links in my sidebar with more detailed page titles.
For now, I will disable the autoHeader feature and manually provide page titles, but I’d really like to use the default behavior with docsify-darklight-theme… If you could look into this, it would be greatly appreciated!
Thanks 🙂
I found that there’s an odd bug with
docsify-darklight-themeplugin, whether it’s used with or withoutdocsify-themeable.If you setup a raw docsify project:
And edit docsify’s options in
index.html:Then create the following
_sidebar.md:With the following pages:
autotitle.mdcustomtitle.md# My custom title This page has a custom title.When loaded, the
autotitle.mdwill have an auto-generated title matching its link text from_sidebar.md.When loaded, the
customtitle.mdwill keep its custom title.However, after
docsify-darklight-themesetup, thecustomtitle.mdwill have two main titles:I find this behavior very strange and can’t understand where it’s coming from… I heavily rely on the default behavior in order to have short links in my sidebar with more detailed page titles.
For now, I will disable the
autoHeaderfeature and manually provide page titles, but I’d really like to use the default behavior withdocsify-darklight-theme… If you could look into this, it would be greatly appreciated!Thanks 🙂