Skip to content

Resolve/process .md links #54

@D4nte

Description

@D4nte

Problem

I noticed some links on waku.org were invalid:

md file:

[Learn more about Waku](/docs/index.md)

Link rendered by acid-info:

https://waku.org/docs/index.md

I understand the correct markdown content is:

[Learn more about Waku](/docs/index)

But it seems counter-intuitive and an easy pitfall because when working in MarkDown my editor (or is it only me) expect local path to existing files (ie index.md and not index).

Propose solution

Have the framework automatically remove .md on local paths.

Note

The config.json file expect the .md extensions:

  "navigation": {
    "home": "main.md",
    "fileOrdersInSidenav": [
      "main.md",
      "about.md",
      "platform.md",
      "operator.md",
      "contribute.md"
    ],

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions