Member-only story

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

--

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…

--

--

No responses yet