| 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.
Search is enabled by Algolia:
- Algolia crawler runs regularly on certain days within a week configured in the crawler.
- It also runs periodically through the
algolia-index.yamlGitHub action, when there are changes in theproductionbranch.
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.