This repository contains Singular framework's public documentation generated using Fluorite.
- Install Fluorite globally:
npm install @chisel/fluorite -g - Inside root directory of this repo run
fl buildandfl serveto serve the docs onlocalhost:6001
- Clone this repository twice into two different directories sibling of each other called:
docs-srcanddocs-dist - Inside
docs-dist, switch to branchgh-pages:git checkout -b gh-pages - Inside
docs-src, run:fl build - Commit and push the changes inside
docs-dist
- Create a file in
docs-distnamedCNAMEwhich contains your domain name. - Create a CNAME record with your DNS provider that points the domain added in the file to
<user>.github.io(where user is your username). - Make sure to add
"exclusions": ["CNAME"]toflconfig.jsonso the file doesn't get deleted the next time the documentation is generated.