diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx index a4a62d1..1b8deb2 100644 --- a/docs/src/content/docs/index.mdx +++ b/docs/src/content/docs/index.mdx @@ -82,4 +82,19 @@ import { Card, CardGrid, LinkButton } from "@astrojs/starlight/components"; + + + Generate bindings for Candid. + +
+ + Get started with @icp-sdk/bindgen + +
+
diff --git a/projects.json b/projects.json index ba61e52..233d9ad 100644 --- a/projects.json +++ b/projects.json @@ -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" } ] } diff --git a/public/bindgen/latest.zip b/public/bindgen/latest.zip new file mode 100644 index 0000000..98132f1 Binary files /dev/null and b/public/bindgen/latest.zip differ diff --git a/public/bindgen/v0.1.zip b/public/bindgen/v0.1.zip new file mode 100644 index 0000000..9b90a1c Binary files /dev/null and b/public/bindgen/v0.1.zip differ diff --git a/public/bindgen/versions.json b/public/bindgen/versions.json new file mode 100644 index 0000000..a7c4589 --- /dev/null +++ b/public/bindgen/versions.json @@ -0,0 +1,11 @@ +[ + { + "path": "latest", + "label": "Latest (v0.1.0)" + }, + { + "path": "v0.1", + "label": "v0.1", + "versionInTitle": "v0.1.0" + } +] diff --git a/redirects.ts b/redirects.ts index 6286187..a26f991 100644 --- a/redirects.ts +++ b/redirects.ts @@ -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, + }, ];