Files
zeekay e3ff48b347 docs: SPA Dockerfile, chat widget, search index, CI workflow
- ghcr.io/hanzoai/spa multi-stage Dockerfile
- scripts/build-index.mjs: chunked content index
- src/components/Chat: in-page chat widget over the index
- src/theme/Root.tsx: mounts the chat globally
- .github/workflows/docs.yml: build + push multi-arch GHCR images
- docusaurus url → liquid.lux.network
- .gitignore: track docs/, ignore only build artefacts
2026-04-28 11:59:57 -07:00

76 lines
1.6 KiB
JavaScript

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
module.exports = {
tutorialSidebar: [
{
type: "doc",
id: "index",
className: "sidebarBold",
label: "Introduction",
},
{
type: "doc",
id: "quick-start",
label: "Quick Start",
},
{
type: "doc",
id: "links",
label: "Links & Resources",
},
{
type: "category",
label: "Key Concepts",
className: "sidebarBold",
collapsed: false,
items: [
{
type: "category",
label: "Assets",
items: ["concepts/lAssets", "concepts/myt-and-yield"],
},
{
type: "category",
label: "Borrowing & Loans",
items: [
"concepts/self-repaying-loans",
"concepts/borrowing-in-liquid",
"concepts/liquidations",
],
},
{
type: "category",
label: "System Mechanics",
items: [
"concepts/transmuter",
"concepts/redemption-rate",
"concepts/fees",
],
},
],
},
{
type: "category",
label: "Tutorials",
className: "sidebarBold",
collapsed: true,
items: [
"tutorials/use-passive-myt",
"tutorials/deposit-and-borrow",
"tutorials/repay-loan",
"tutorials/redeem-lassets",
],
},
{
type: "category",
label: "Guides",
className: "sidebarBold",
collapsed: false,
items: [
"newguides/how-peg-is-maintained",
"newguides/risk-considerations",
],
},
"faq",
],
};