4d / docs

Products Documentation
Creative Commons Attribution 4.0 International
6 stars 19 forks source link

doc

Commands

Start

Two processes should run at the same time:

The Preprocess

run npm run start_watch in one terminal. The files from the folder "docs" will be preprocessed in the folder named "docsPostProcessed". A change to a file will be automatically preprocessed.

Docusaurus Start

The docusaurus.config_start.js uses docusaurus.config.js with a few modifications:

npm run start -- --config ./docusaurus.config_start.js in a new terminal to start the preview with this new config.

Build

Syntax

To generate syntax files:

npm run syntax

Markdown conventions

API file names

preprocessing.conf

References class names vs file names

html tags in markdown

A # in tag means used for syntax file. Other tags are used for ref/include only

Prototype conventions