zendframework / zf-mkdoc-theme

MkDocs theme and gh-pages automation scripts for ZF documentation
MIT License
13 stars 13 forks source link

Duplicate entries in subnavigation #48

Open froschdesign opened 6 years ago

froschdesign commented 6 years ago

The subnavigation contains duplicate entries for the homepage.

zend-mvc

  • zend-mvc
  • Introduction
  • Quick Start
  • Reference
    • Default Services

Examples:

Full list:

https://github.com/search?p=1&q=org%3Azendframework+"index.md"+filename%3Amkdocs.yml+NOT+"Home%3A+index.md"&type=Code

froschdesign commented 6 years ago

The current used version of MkDocs uses the site-name for the homepage of a component and not the title "Home". Therefore the wrong first entry in the sub-navigation.

One option is to set a title "Home" for the homepage (- Home: index.md) or using a newer version of MKDocs. This would solve the problem without editing the MkDocs configuration files.

froschdesign commented 6 years ago

Related to #52