-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Contribution guidelines
- I've read the contribution guidelines and wholeheartedly agree
I've found a bug and checked that ...
- ... the problem doesn't occur with the
mkdocsorreadthedocsthemes - ... the problem persists when all overrides are removed, i.e.
custom_dir,extra_javascriptandextra_css - ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
Let's say we have a following structure: docs/projects/project-name/docs. In docs folder we only have an index.md file. If we enable navigation.indexes it works as expected, but we still see an arrow on the right side, which indicates there are some pages within given section, which is not true - it's just empty.
Expected behaviour
The expected behaviour is already implemented in the mkdocs-section-index plugin - in such scenario there's no arrow on the right side.

Actual behaviour
Steps to reproduce
- Create
docs/projects/project-name/docsdirs. - Create only
index.mdfile in the last dir. - Enable
navigation.indexes. - Run
mkdocs serve.
Package versions
- Python: 3.8.12
- MkDocs: 1.2.2
- Material: 7.3.1
Configuration
site_name: Whatever
theme:
name: material
features:
- navigation.tabs
- navigation.top
- navigation.indexesSystem information
- Operating system: macOS
- Browser: Chrome
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
