| Doc | Directory | Sidebar |
|---|---|---|
| LFM | lfm | sidebarsLfm.ts |
| LEAP | leap | sidebarsLeap.ts |
| Examples | examples | sidebarsExamples.ts |
npm install
npm run devThe local server will be available at http://localhost:3000.
To test the build:
npm run build
npm run serveThe npm run serve script does not support hot loading. It is only useful to test the local search function.
Currently, the search function is powered by @cmfcmf/docusaurus-search-local.
Note
Search only works for the statically built documentation (i.e., after running npm run build under the repo root).
It does not work in development (i.e., when running npm run dev). To test search locally, first build the documentation with npm run build build, and then serve it with npm run serve.
There are two link checks in this repo:
- Docusaurus will throw error for any broken as configured by
onBrokenLinksindocusaurus.config.ts. If the broken build is annoying for preview, change it towarn. - The
check.yamlworkflow has acheck-linkjob that examine markdown links. Customize the config inlink-check.json. If a link cannot be accessed (e.g. Github private repo), add the URL pattern to theignorePatternsarray.
The deployment is automated through Vercel.
| Branch | Domain |
|---|---|
main |
https://docs-staging.liquid.ai/ |
production |
https://docs.liquid.ai/ |
To promote the main branch to production, run the deploy-main.yaml GitHub action, which will automatically fast-forward the production branch to match main.