Skip to content

Wrong editLink in default-theme with index.md #1115

@meteorlxy

Description

@meteorlxy
  • I confirm that this is a issue rather than a question.

Bug report

Version

v1.0.0-alpha.29

Steps to reproduce

What is expected?

Both index.md and README.md are supported.

What is actually happening?

Wrong path if using index.md instead of README.md as the index filename.

Possible solution

Add an extra config field like indexFileName, which is set to README.md by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    has PRHas a related PRtype: enhancementRequest to enhance an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions