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 build
andfl serve
to serve the docs onlocalhost:6001
- Clone this repository twice into two different directories sibling of each other called:
docs-src
anddocs-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-dist
namedCNAME
which 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.json
so the file doesn't get deleted the next time the documentation is generated.