wiki/README.md

915 B

Wiki

FOME Wiki built using Docusaurus 2.

Installation

Required Node.js version: 16 or higher.

npm install

Local Development

npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Docusaurus guides: https://docusaurus.io/docs/category/guides

Lint code

npm run lint

Build

npm build

This command generates static content into the build directory and can be served using any static contents hosting service.

Generate PDF

Required Prince XML.

Build and serve docs locally before generating PDF:

npm run build
npm run serve

In another terminal run this to generate PDF:

npm run pdf