Skip to content

Commit

Permalink
Add documentation for CrossCats
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa authored Oct 23, 2024
1 parent ecc7fef commit c74ca51
Show file tree
Hide file tree
Showing 40 changed files with 24,017 additions and 4,141 deletions.
14 changes: 11 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import svelte from "@astrojs/svelte";
export default defineConfig({
redirects: {
"/resources/whitepaper": "/resources/audit-whitepaper#Papers",
"/cross-cats/": "/cross-cats/cross-cats/",
"/cross-cats/solver/": "/cross-cats/becoming-a-solver/introduction/"
},
site: `${process.env["CF_PAGES_URL"] ?? "https://docs.catalyst.exchange"}`,
markdown: {
Expand Down Expand Up @@ -47,11 +49,18 @@ export default defineConfig({
},
},
{
label: "Protocol",
label: "V1: Cross-Chain AMM",
autogenerate: {
directory: "protocol",
},
},
{
label: "Cross-Cats: Cross-Chain Intents",
badge: "Closed Alpha",
autogenerate: {
directory: "cross-cats",
},
},
{
label: "Generalised Incentives",
autogenerate: {
Expand All @@ -66,7 +75,6 @@ export default defineConfig({
},
{
label: "Underwriter",
badge: "Open Beta!",
autogenerate: {
directory: "underwriter",
},
Expand All @@ -81,7 +89,7 @@ export default defineConfig({
}),
d2({
skipGeneration: !!process.env["CF_PAGES"] || !process.env["D2"],
layout: "elk",
layout: "tala",
}),
svelte(),
],
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.5.8",
"@astrojs/starlight": "^0.21.1",
"@astrojs/svelte": "^5.2.0",
"astro": "^4.3.5",
"astro-d2": "^0.1.1",
"@astrojs/check": "^0.9.3",
"@astrojs/starlight": "^0.28.2",
"@astrojs/svelte": "^5.7.1",
"astro": "^4.15.9",
"astro-d2": "^0.5.2",
"astro-iconify": "^1.2.0",
"rehype-mathjax": "^6.0.0",
"remark-math": "^6.0.0",
"sharp": "^0.32.5",
"starlight-links-validator": "^0.6.0",
"svelte": "^4.2.12",
"typescript": "^5.4.2"
}
}
"sharp": "^0.33.5",
"starlight-links-validator": "^0.12.1",
"svelte": "^4.2.19",
"typescript": "^5.6.2"
},
"packageManager": "[email protected]+sha256.1c0e33f70e5df9eede84a357bdfa0b1f9dba6e58194628d48a1055756f553754"
}
Loading

0 comments on commit c74ca51

Please sign in to comment.