oprypin / mkdocs-literate-nav

MkDocs plugin to specify the navigation in Markdown instead of YAML
https://oprypin.github.io/mkdocs-literate-nav
MIT License
73 stars 8 forks source link

Does mkdocs-literate-nav support horizontal tab navigation? #11

Closed rohinimuralidharan closed 2 years ago

rohinimuralidharan commented 2 years ago

Hi! This plugin works well with a well-defined SUMMARY.md file, but doesn't display the nav in horizontal tabs as defined in my yml file. I am using Material theme. Could you please clarify if I am missing something? Also, could you please tell me if I can have both the index.md that refers to the home.html and the SUMMARY.md in the root folder? Thank you!

theme:
  name: material
  language: en
  features:
    - navigation.tabs
    - navigation.indexes
    - navigation.top
    - navigation.instant
    - search.highlight
    - search.share
    - search.suggest

plugins:
  - search
  - literate-nav:
      nav_file: SUMMARY.md  
oprypin commented 2 years ago

I don't think there should be any problems at all with navigaton.tabs. I have many sites that use this and it all works just fine.

The only difference is that I use plugins: - section-index and not features: - navigation.indexes, could be worth trying.

Otherwise, if you can't provide a full minimal site that reproduces this problem, I can't help.