Open
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clear
oryarn clear
command. - I have tried
rm -rf node_modules yarn.lock package-lock.json
and re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
The "file path" type of link does not seem to function for Pages.
Reproducible demo
Steps to reproduce
- Edit the "demo" link from
/install
toindex.md
or./index.md
.
Expected behavior
The documentation only mentions that inter-plugin links don't work, but both of those pages are processed by the "pages" plugin; so I'd expect "file path" links to be converted appropriately.
I want to use "file path" links instead of relative URLs, so that I can benefit from all of the upsides listed at the bottom of the page ;P
Actual behavior
The generated link is localhost:3000/install/index.md
, not localhost:3000/install
(or equivalent).
Your environment
- Public source code: https://github.com/gbdev/rgbds
- Public site URL: https://rgbds.gbdev.io
- Docusaurus version used: 3.1.1
- Environment name and version (e.g. Chrome 89, Node.js 16.4): Node v21.6.2
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Arch Linux
Self-service
- I'd be willing to fix this bug myself.
Metadata
Metadata
Assignees
Labels
Issues that are good candidates to be handled by a Docusaurus apprentice / traineeRelated to content plugin emitting metadata for theme consumptionRelated to Markdown parsing or syntaxThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This issue has been accepted, and we are looking for community contributors to implement this
Activity