Skip to content

Commit

Permalink
doc(v7): add API doc gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Oct 24, 2024
1 parent 470ea95 commit 509882e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align="center">
<h1>Lit Protocol Javascript/Typescript SDK V6.5.x</h1>
<h1>Lit Protocol Javascript/Typescript SDK V7.x.x</h1>

<img src="https://i.ibb.co/p2xfzK1/Screenshot-2022-11-15-at-09-56-57.png">
<br/>
Expand Down Expand Up @@ -88,7 +88,8 @@ If you're a tech-savvy user and wish to utilize only specific submodules that ou

| Version | Link |
| ---------------- | -------------------------------------------------------- |
| V6 (Beta) | [6.x.x docs](https://v6-api-doc-lit-js-sdk.vercel.app/) |
| V7 (Beta) | [7.x.x docs](https://v7-api-doc-lit-js-sdk.vercel.app/) |
| V6 | [6.x.x docs](https://v6-api-doc-lit-js-sdk.vercel.app/) |
| V5 (**Current**) | [5.x.x docs](https://v3.api-docs.getlit.dev/) |
| V2 | [2.x.x docs](http://docs.lit-js-sdk-v2.litprotocol.com/) |

Expand Down
2 changes: 2 additions & 0 deletions tools/scripts/gen-doc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import inquirer from 'inquirer';
const VERCEL_PROJECT = {
V5: 'prj_Xq6tl0JfFOmWlCLlMkh0B5rzFHoK',
V6: 'prj_Ed96nvLrMCQgjVN252BmnHD1kRy4',
V7: 'prj_87TpDb44hK5zKtny2fjcLcyND73Q',
};

const args = getArgs();
Expand All @@ -40,6 +41,7 @@ async function selectProject() {
choices: [
{ name: 'V5', value: VERCEL_PROJECT.V5 },
{ name: 'V6', value: VERCEL_PROJECT.V6 },
{ name: 'V7', value: VERCEL_PROJECT.V7 },
],
},
]);
Expand Down

0 comments on commit 509882e

Please sign in to comment.