Skip to content

Mkdocs no longer respecting set display text for same .md files. #3710

Open

Description

@LizThompson93

In the past, what you set in the nav is what you get.

nav:
  - Home: 'index.md'
  - 'French Main Dishes': 'French Cuisine.md'
  - 'French Desserts': 'French Cuisine.md'

Now it overrides the display text to the first one which is not expected behavior.

image

Activity

  1. pawamoy commented on May 21, 2024

    @pawamoy
    Contributor

    Seems related to #3428 (comment). Adding the same page multiple times to the navigation is not supported.

  2. squidfunk commented on May 21, 2024

    @squidfunk
    Contributor

    Yup, seems related. However, what I wondered was why the titles are not preserved, which definitely worked before 1.6.

  3. LizThompson93 commented on May 21, 2024

    @LizThompson93
    Author

    Seems related to #3428 (comment). Adding the same page multiple times to the navigation is not supported.

    It's what Martin said, I know it used to work very recently and whatever change was done now made it not flexible and intuitive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions