I created a "How to Use" document in which I want to directly show the Tutorial page. How can I Disable the 'My Site' Landing page?
I try to change the parameters on docusaurus.config.js, with to avail.
I created a "How to Use" document in which I want to directly show the Tutorial page. How can I Disable the 'My Site' Landing page?
I try to change the parameters on docusaurus.config.js, with to avail.
Copyright © 2021 Jogjafile Inc.
You need to do three things:
In the Markdown file that's your tutorial landing page (such as
intro.mdorindex.mdor whatever you're using), add this inside the front matter:slug: /Delete
src/pages/index.js, or rename the file to_index.js.In
docusaurus.config.js, find thepresetsarray. AddrouteBasePath: '/'as a property of thedocsobject in that array. Like this:That should do it.
This is called "docs-only mode". You can read more about it here: https://docusaurus.io/docs/docs-introduction#docs-only-mode