This website was created with Docusaurusarrow-up-right .
What's In This Document
Get Started in 5 Minutes
Make sure all the dependencies for the website are installed:
Copy # Install dependencies
$ yarn
Copy # Start the site
$ yarn start Directory Structure
Your project file structure should look something like this
Editing Content
Editing an existing docs page
Edit docs by navigating to docs/ and editing the corresponding document:
docs/doc-to-be-edited.md
For more information about docs, click herearrow-up-right
Editing an existing blog post
Edit blog posts by navigating to website/blog and editing the corresponding post:
website/blog/post-to-be-edited.md
For more information about blog posts, click herearrow-up-right
Adding a new docs page to an existing sidebar
Create the doc as a new markdown file in /docs, example docs/newly-created-doc.md:
Refer to that doc's ID in an existing sidebar in website/sidebar.json:
For more information about adding new docs, click herearrow-up-right
Adding a new blog post
Make sure there is a header link to your blog in website/siteConfig.js:
website/siteConfig.js
Create the blog post with the format YYYY-MM-DD-My-Blog-Post-Title.md in website/blog:
website/blog/2018-05-21-New-Blog-Post.md
For more information about blog posts, click herearrow-up-right
Adding items to your site's top navigation bar
Add links to docs, custom pages or external links by editing the headerLinks field of website/siteConfig.js:
website/siteConfig.js
For more information about the navigation bar, click herearrow-up-right
Adding custom pages
Docusaurus uses React components to build pages. The components are saved as .js files in website/pages/en:
If you want your page to show up in your navigation header, you will need to update website/siteConfig.js to add to the headerLinks element:
website/siteConfig.js
For more information about custom pages, click herearrow-up-right .
Full Documentation
Full documentation can be found on the websitearrow-up-right .