8000 Using a period in a directory name causes the rendered title to include only the left hand side of the directory · Issue #728 · mkdocs/mkdocs · GitHub
[go: up one dir, main page]

Skip to content

Using a period in a directory name causes the rendered title to include only the left hand side of the directory #728

@justinkinney

Description

@justinkinney

I noticed that using a period in a directory name causes the rendered title to lose everything to the right of the period.

cursor_and_seespn_docs

To replicate (assuming default docs directory path):

mkdir -p docs/Project\ with\ a.dot
echo "#testing" > docs/Project\ with\ a.dot/test\ page\ with\ a.dot.md
mkdocs build

I'm guessing the problem comes from filename_to_title(), but I don't have a suggestion for how to fix it at this point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0