Cannot link directly to doc in sidebar
See original GitHub issue🐛Cannot link directly to doc in sidebar
I am trying to link to a doc directly in the sidebar per the v2 documentation.
To Reproduce
(Write your steps here:)
- Add doc link in
sidebars.jscode
module.exports = {
docs: [
{
type: "category",
label: "Get Started",
items: ["get_started"]
},
{
type: "doc",
id: "api"
}
]
};
- Run
npm run start
Expected behavior
No compile errors, we see the link directly to the doc in the sidebar.
Actual Behavior
It will not compile, see this error in console:
Error: Unknown sidebar item keys: id. Item: {"type":"doc","id":"api"}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Document Library URL Links not working
I tried adding new links to this document library and they won't open, but If I add a new document library and add...
Read more >[TW5] How to link to the sidebar? [Resolved] - Google Groups
What I'd like to do is to be able to link directly from my task tiddler to the report, so that it opens...
Read more >Google Apps Script: open sidebar directly when clicking on ...
Opening a sidebar with a click on the menu name is not possible, as it's not possible to assign a function to the...
Read more >Use sidebars in Pages on Mac - Apple Support
Open and close sidebars Right sidebar: Click Format or Document in the toolbar to open the sidebar and show the controls. To close...
Read more >Sidebar - Docusaurus
Pass this object into the @docusaurus/plugin-docs plugin directly or via ... A sidebar at its crux is a hierarchy of categories, doc links, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

See https://github.com/facebook/docusaurus/pull/2032
Thank you. We’ll warn it to user better in #1994