Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

tweak quickstart docs

Steven Teyb3b48bac8e1b
diff --git a/apps/docs/quickstart/django.mdx b/apps/docs/quickstart/django.mdx
index 16ebb6cd06..926505a318 100644
--- a/apps/docs/quickstart/django.mdx
+++ b/apps/docs/quickstart/django.mdx
@@ -44,7 +44,7 @@ d = dub.Dub(
## 3. Create link
-Let's create a short link using the Dub Python SDK.
+Let's create a short link using the [Dub Python SDK](https://d.to/python).
```python views.py
def create_link(request):
diff --git a/apps/docs/quickstart/flask.mdx b/apps/docs/quickstart/flask.mdx
index 833e2fb26e..e102b11cf0 100644
--- a/apps/docs/quickstart/flask.mdx
+++ b/apps/docs/quickstart/flask.mdx
@@ -43,7 +43,7 @@ d = dub.Dub(
## 3. Create link
-Let's create a short link using the Dub Python SDK.
+Let's create a short link using the [Dub Python SDK](https://d.to/python).
```python app.py
@app.route('/create-link')
diff --git a/apps/docs/quickstart/go.mdx b/apps/docs/quickstart/go.mdx
index aa0beed4cc..bbd3365059 100644
--- a/apps/docs/quickstart/go.mdx
+++ b/apps/docs/quickstart/go.mdx
@@ -8,14 +8,22 @@ import LinkArguments from "/snippets/link-arguments.mdx";
<Prerequisites />
-## 2. Install
+## 2. Install and initialize the Dub Go SDK
-To install the Dub Go SDK, run the following command:
+<Steps titleSize="h3">
+
+<Step title="Install">
+
+To install the [Dub Go SDK](https://d.to/go), run the following command:
```bash bash
go get github.com/dubinc/dub-go
```
+</Step>
+
+<Step title="Initialize">
+
Initialize the Dub Go SDK by creating a new instance of the `Dub` struct.
```go
@@ -34,9 +42,13 @@ d := dub.New(
)
```
+</Step>
+
+</Steps>
+
## 3. Create link
-Let's create a short link using the Dub Go SDK.
+Let's create a short link using the [Dub Go SDK](https://d.to/go).
```go main.go
func main() {
diff --git a/apps/docs/quickstart/python.mdx b/apps/docs/quickstart/python.mdx
index 59bbf0e0e2..5d9a4fada4 100644
--- a/apps/docs/quickstart/python.mdx
+++ b/apps/docs/quickstart/python.mdx
@@ -43,7 +43,7 @@ d = dub.Dub(
## 3. Create link
-Let's create a short link using the Dub Python SDK.
+Let's create a short link using the [Dub Python SDK](https://d.to/python).
```python index.py
result = d.links.create(request=operations.CreateLinkRequestBody(