diff --git a/docs/configuration.md b/docs/configuration.md index b9bd0f76..69735ae1 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -144,6 +144,16 @@ window.$docsify = { }; ``` +If you have a link to the homepage in the sidebar and want it to be shown as active when accessing the root url, make sure to update your sidebar accordingly: + +```markdown +- Sidebar + - [Home](/) + - [Another page](another.md) +``` + +For more details, see [#1131](https://github.com/docsifyjs/docsify/issues/1131). + ## basePath - Type: `String`