Skip to content

Leaf-Agriculture/docs

Repository files navigation

Documentation

Leaf's documentation

About

This documentation website was built using Docusaurus 2

Installation

$ npm install

Local Development

This commmand starts a local server with auto reload enabled. Every time you save a file it will refresh the page in the browser.

$ npm run swizzle docusaurus-lunr-search SearchBar
$ npm start

Build

The search bar only works on the production build. That is because only the production build generates the data index that is searched. For more info, please check here.

To build it:

$ npm run build
$ npx http-server ./build