The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add Steps
Steven Tey60c94fd71018
diff --git a/apps/docs/quickstart/django.mdx b/apps/docs/quickstart/django.mdxindex b3c37ee5fd..16ebb6cd06 100644--- a/apps/docs/quickstart/django.mdx+++ b/apps/docs/quickstart/django.mdx@@ -8,7 +8,11 @@ import LinkArguments from "/snippets/link-arguments.mdx";<Prerequisites />-## 2. Install+## 2. Install and initialize the Dub Python SDK++<Steps titleSize="h3">++<Step title="Install">To install the [Dub Python SDK](https://d.to/python), run the following command:@@ -16,11 +20,15 @@ To install the [Dub Python SDK](https://d.to/python), run the following command:pip install dub```+</Step>++<Step title="Initialize">+Initialize the Dub Python SDK by creating a new instance of the `Dub` class.```python-import dubimport os+import dubfrom dub.models import operationsfrom django.http import JsonResponse@@ -30,6 +38,10 @@ d = dub.Dub()```+</Step>++</Steps>+## 3. Create linkLet's create a short link using the Dub Python SDK.diff --git a/apps/docs/quickstart/flask.mdx b/apps/docs/quickstart/flask.mdxindex c6088dcf4e..833e2fb26e 100644--- a/apps/docs/quickstart/flask.mdx+++ b/apps/docs/quickstart/flask.mdx@@ -8,7 +8,11 @@ import LinkArguments from "/snippets/link-arguments.mdx";<Prerequisites />-## 2. Install+## 2. Install and initialize the Dub Python SDK++<Steps titleSize="h3">++<Step title="Install">To install the [Dub Python SDK](https://d.to/python), run the following command:@@ -16,6 +20,10 @@ To install the [Dub Python SDK](https://d.to/python), run the following command:pip install dub```+</Step>++<Step title="Initialize">+Initialize the Dub Python SDK by creating a new instance of the `Dub` class.```python@@ -29,6 +37,10 @@ d = dub.Dub()```+</Step>++</Steps>+## 3. Create linkLet's create a short link using the Dub Python SDK.diff --git a/apps/docs/quickstart/python.mdx b/apps/docs/quickstart/python.mdxindex 9654356dcf..59bbf0e0e2 100644--- a/apps/docs/quickstart/python.mdx+++ b/apps/docs/quickstart/python.mdx@@ -8,7 +8,11 @@ import LinkArguments from "/snippets/link-arguments.mdx";<Prerequisites />-## 2. Install+## 2. Install and initialize the Dub Python SDK++<Steps titleSize="h3">++<Step title="Install">To install the [Dub Python SDK](https://d.to/python), run the following command:@@ -16,6 +20,10 @@ To install the [Dub Python SDK](https://d.to/python), run the following command:pip install dub```+</Step>++<Step title="Initialize">+Initialize the Dub Python SDK by creating a new instance of the `Dub` class.```python@@ -29,6 +37,10 @@ d = dub.Dub()```+</Step>++</Steps>+## 3. Create linkLet's create a short link using the Dub Python SDK.diff --git a/apps/docs/snippets/sdk-install-nodejs.mdx b/apps/docs/snippets/sdk-install-nodejs.mdxindex b2f5b08583..5d56a74ad0 100644--- a/apps/docs/snippets/sdk-install-nodejs.mdx+++ b/apps/docs/snippets/sdk-install-nodejs.mdx@@ -1,5 +1,9 @@## 2. Install and initialize the Dub TypeScript SDK+<Steps titleSize="h3">++<Step title="Install">+Install the [Dub TypeScript SDK](/sdks/typescript/overview) using your preferred package manager:<Tabs>@@ -27,6 +31,10 @@ Install the [Dub TypeScript SDK](/sdks/typescript/overview) using your preferred</Tab></Tabs>+</Step>++<Step title="Initialize">+Then, initialize the Dub TypeScript SDK with your API key.```typescript lib/dub.ts@@ -43,3 +51,7 @@ You can now use the `dub` object to interact with the Dub API.```typescriptimport { dub } from "./lib/dub";```++</Step>++</Steps>