Leaf's documentation
This documentation website was built using Docusaurus 2
$ npm install
or if you are having problems with dependency conflicts:
$ npm install --legacy-peer-deps
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
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