Docusaurus

Build documentation page with Docusaurus 2

There’s quite number of times we need to have a documentation page. Build them with mkdocs or readthedoc is fine but not pretty enough.

Donald Le
1 min readSep 30, 2020

--

Photo by Amy Baugess on Unsplash

What you need to prepare

  • Nodejs
  • Yarn
  • and an IDE

docusaurus.config.js

Define information for docusaurus project, including structure of the page, url.

package.json

List of libraries needed

yarn.lock

The purpose of a lock file is to lock down the versions of the dependencies specified in a package.json file. This…

--

--

Donald Le
Donald Le

Written by Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.