frequency-chain / docs

Documentation Site for Frequency
https://docs.frequency.xyz
Creative Commons Attribution Share Alike 4.0 International
5 stars 2 forks source link

Frequency Documentation

Technical documentation for the Frequency parachain. The current documentation can be viewed in its compiled form at https://docs.frequency.xyz. Alternatively, the latest iteration of the docs can be viewed non-formatted here.

For more information about Frequency, visit frequency.xyz or Frequency on GitHub

Install

To build the generator locally, install mdBook and link checker. The link checker will run during build process and throw warnings for any broken internal or external links.

cargo install mdbook
cargo install mdbook-linkcheck
npm install

Run

(Option 1) Active Build and Serve via HTTP

To run the doc generator locally, actively build after each change and serve them via HTTP use the following command:

npm run serve

Once the local server is running, the site will automatically open in the browser at http://localhost:3000. Note, it will not automatically refresh browser page after each change.

(Option 2) Manual Build

To run the doc generator locally and preview the formatted docs from local files, use the following:

npm run build

Lint

npm run lint

Release

The CI will automatically deploy what's merged into main.

Tools and Frameworks