![]() ![]() For example, your website may use your local packages to showcase latest features instead of depending on a released version. Monorepos allow you to share dependencies between similar projects. If you are using Docusaurus for documentation of an existing project, a monorepo may be the solution for you. /sidebars.js - Used by the documentation to specify the order of documents in the sidebar.You can install and use any npm packages you like in them ![]() /package.json - A Docusaurus website is a React app.This is the equivalent of siteConfig.js in Docusaurus v1 / - A config file containing the site configuration.Any contents inside here will be copied into the root of the final build directory More details can be found in the pages guide /src/pages - Any JSX/TSX/MDX file within this directory will be converted into a website page.You don't have to strictly put your non-documentation files here, but putting them under a centralized directory makes it easier to specify in case you need to do some sort of linting/processing /src/ - Non-documentation files like pages or custom React components.More details can be found in the docs guide You can delete the directory if you've disabled the docs plugin, or you can change its name after setting the path option. Customize the order of the docs sidebar in sidebars.js. /docs/ - Contains the Markdown files for the docs.More details can be found in the blog guide You can delete the directory if you've disabled the blog plugin, or you can change its name after setting the path option. /blog/ - Contains the blog Markdown files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |