-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
apprenticeIssues that are good candidates to be handled by a Docusaurus apprentice / traineeIssues that are good candidates to be handled by a Docusaurus apprentice / traineefeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Description
If you use index pages and your sidebar contains a link it would be nice if you could either:
- Add a description to the link by doing something like:
{
type: 'link',
label: 'Facebook', // The link label
href: 'https://facebook.com', // The external URL
description: 'Some description'
},
or
- Fetch the data from the linked page if possible. This may be very specific to our use case but we link from one docs plugin to another in our Wiki as we can't always use relative links. So it would be nice if the index page could somehow get the frontmatter from the linked page.
Wdyt?
Has this been requested on Canny?
No. I can't login there because of some unknown error
Motivation
We would like to work more with index pages but we use a lot of links in the sidebar and that just don't really look nice.
API design
No response
Have you tried building it?
I didn't try to build it myself. Not sure what the best way would be yet. So maybe let's discuss first what would be possible.
Self-service
- I'd be willing to contribute this feature to Docusaurus myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apprenticeIssues that are good candidates to be handled by a Docusaurus apprentice / traineeIssues that are good candidates to be handled by a Docusaurus apprentice / traineefeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.