Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,19 @@ import { Card, CardGrid, LinkButton } from "@astrojs/starlight/components";
</LinkButton>
</div>
</Card>

<Card title="ICP JS SDK Bindgen">
Generate bindings for Candid.

<div>
<LinkButton
href="/bindgen/latest"
variant="minimal"
icon="right-caret"
iconPlacement="start"
>
Get started with <code class="dfn-text-highlight">@icp-sdk/bindgen</code>
</LinkButton>
</div>
</Card>
</CardGrid>
8 changes: 8 additions & 0 deletions projects.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
"repository": "dfinity/pic-js",
"branch": "icp-pages",
"subdirectory": "pic-js"
},
{
"title": "Bindgen",
"description": "Generate bindings for Candid",
"category": "tool",
"repository": "dfinity/icp-js-bindgen",
"branch": "icp-pages",
"subdirectory": "bindgen"
}
]
}
Binary file added public/bindgen/latest.zip
Binary file not shown.
Binary file added public/bindgen/v0.1.zip
Binary file not shown.
11 changes: 11 additions & 0 deletions public/bindgen/versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"path": "latest",
"label": "Latest (v0.1.0)"
},
{
"path": "v0.1",
"label": "v0.1",
"versionInTitle": "v0.1.0"
}
]
10 changes: 10 additions & 0 deletions redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,14 @@ export const REDIRECTS: StorageConfigRedirect[] = [
location: "/pic-js/latest",
code: 302,
},
{
source: "/bindgen",
location: "/bindgen/latest",
code: 302,
},
{
source: "/bindgen/",
location: "/bindgen/latest",
code: 302,
},
];