Skip to content

Route name is cropped when it contains index in it #1332

@Baroshem

Description

@Baroshem

Environment

production

Reproduction

Access website here -> https://algolia.nuxtjs.org/advanced/er

The name of the file and the route is indexer.md. A screenshot shows the folder 2.advanced and 3.indexer.md

image

Describe the bug

Not sure if a bug is related to NuxtContent, Docus, or the Nuxt 3 so I decided to report it here. Can be transfered if needed :)

When naming a .md page in the documentation powered by Docus 3 with a name consisting of the keyword index will result in the route cropped.

In my case the file is called 3.indexer.md and the route created from it is er -> Like indexer without index

Additional context

No response

Logs

No response

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