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.

add icons to docs

Steven Teyfc545e47cb76
diff --git a/apps/docs/api-reference/errors.mdx b/apps/docs/api-reference/errors.mdx
index 0817ca012f..f0008db9a2 100644
--- a/apps/docs/api-reference/errors.mdx
+++ b/apps/docs/api-reference/errors.mdx
@@ -2,6 +2,7 @@
title: "Errors"
"og:title": "Dub.co API returns machine readable error codes, human readable error messages and a link to the docs for more information"
description: "Troubleshoot problems with this comprehensive breakdown of all error codes."
+icon: bug
---
Dub.co API returns machine readable error codes, human readable error messages and a link to the docs for more information.
diff --git a/apps/docs/api-reference/introduction.mdx b/apps/docs/api-reference/introduction.mdx
index aeded51c03..ef4ec4cb12 100644
--- a/apps/docs/api-reference/introduction.mdx
+++ b/apps/docs/api-reference/introduction.mdx
@@ -2,6 +2,7 @@
title: "Introduction"
"og:title": "Dub.co API Reference - Introduction"
description: "Fundamental concepts of Dub.co's API."
+icon: webhook
---
<Info>
diff --git a/apps/docs/api-reference/rate-limits.mdx b/apps/docs/api-reference/rate-limits.mdx
index 935c2deb09..f681b487e6 100644
--- a/apps/docs/api-reference/rate-limits.mdx
+++ b/apps/docs/api-reference/rate-limits.mdx
@@ -2,6 +2,7 @@
title: "Rate limits"
"og:title": "What are Dub.co's API rate limits?"
description: "Learn about Dub's API rate limits."
+icon: clock
---
Dub's API rate limiting is in conformance with the [IETF standard](https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-ratelimit-headers):
diff --git a/apps/docs/data-model.mdx b/apps/docs/data-model.mdx
index aaa83a5944..d42afe7b17 100644
--- a/apps/docs/data-model.mdx
+++ b/apps/docs/data-model.mdx
@@ -1,6 +1,7 @@
---
title: Data model
description: "A quick overview of how Dub is structured."
+icon: database
---
import WorkspaceResponse from "/snippets/workspace-response.mdx";
diff --git a/apps/docs/examples.mdx b/apps/docs/examples.mdx
index 32cd903394..3ecb14b256 100644
--- a/apps/docs/examples.mdx
+++ b/apps/docs/examples.mdx
@@ -2,6 +2,7 @@
title: "Examples"
"og:title": "Dub.co API Examples - Build with the Dub.co API"
description: "Explore ideas and examples of what you can build with the Dub.co API"
+icon: github
---
<CardGroup cols={2}>
diff --git a/apps/docs/integrations.mdx b/apps/docs/integrations.mdx
index ba5a8125c7..ea5b4d36df 100644
--- a/apps/docs/integrations.mdx
+++ b/apps/docs/integrations.mdx
@@ -2,6 +2,7 @@
title: "Integrations"
"og:title": "Dub.co Integrations: Connect Dub.co to tools and services"
description: "Integrate Dub.co with your favorite tools and services."
+icon: object-union
---
## Active integrations
diff --git a/apps/docs/introduction.mdx b/apps/docs/introduction.mdx
index 9b3272d59f..9f907ed399 100644
--- a/apps/docs/introduction.mdx
+++ b/apps/docs/introduction.mdx
@@ -2,6 +2,7 @@
title: Introduction
"og:title": "Getting Started with Dub - Documentation"
description: "Dub is the link management platform for modern marketing teams."
+icon: rocket
---
<Frame>
diff --git a/apps/docs/local-development.mdx b/apps/docs/local-development.mdx
index 6063b1100e..30fd7eeb0f 100644
--- a/apps/docs/local-development.mdx
+++ b/apps/docs/local-development.mdx
@@ -2,6 +2,7 @@
title: "Local Development"
"og:title": "How to setup Dub.co for Local Development (6 steps)"
description: "A guide on how to run Dub.co's codebase locally."
+icon: code
---
<Frame>
diff --git a/apps/docs/mint.json b/apps/docs/mint.json
index 9f5eb482bc..3352483149 100644
--- a/apps/docs/mint.json
+++ b/apps/docs/mint.json
@@ -63,6 +63,7 @@
"pages": [
{
"group": "Typescript",
+ "icon": "js",
"pages": [
"quickstart/typescript",
"quickstart/nextjs",
@@ -73,10 +74,12 @@
},
{
"group": "Go",
+ "icon": "golang",
"pages": ["quickstart/go"]
},
{
"group": "Python",
+ "icon": "python",
"pages": [
"quickstart/python",
"quickstart/flask",
@@ -170,6 +173,7 @@
"sdks/typescript/overview",
{
"group": "Links",
+ "icon": "link",
"pages": [
"sdks/typescript/links/create",
"sdks/typescript/links/get",
@@ -183,10 +187,12 @@
},
{
"group": "Analytics",
+ "icon": "chart-line",
"pages": ["sdks/typescript/analytics/retrieve"]
},
{
"group": "Workspaces",
+ "icon": "folder",
"pages": [
"sdks/typescript/workspaces/create",
"sdks/typescript/workspaces/get",
@@ -195,6 +201,7 @@
},
{
"group": "Domains",
+ "icon": "globe",
"pages": [
"sdks/typescript/domains/add",
"sdks/typescript/domains/update",
@@ -206,10 +213,12 @@
},
{
"group": "Tags",
+ "icon": "tag",
"pages": ["sdks/typescript/tags/create", "sdks/typescript/tags/list"]
},
{
"group": "Metatags",
+ "icon": "image",
"pages": ["sdks/typescript/metatags/get"]
}
]
diff --git a/apps/docs/quickstart.mdx b/apps/docs/quickstart.mdx
deleted file mode 100644
index 3f037bb293..0000000000
--- a/apps/docs/quickstart.mdx
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Quickstart
-description: "Everything you need to start using Dub.co"
----
-
-<Frame>
- <img
- className="rounded-lg border border-gray-100"
- src="/images/thumbnail.jpg"
- alt="Dub.co Thumbnail"
- width="1200"
- height="630"
- />
-</Frame>
diff --git a/apps/docs/sdks/overview.mdx b/apps/docs/sdks/overview.mdx
index a683bdcb7e..fdf79819a2 100644
--- a/apps/docs/sdks/overview.mdx
+++ b/apps/docs/sdks/overview.mdx
@@ -2,6 +2,7 @@
title: "Overview"
"og:title": "Open-source libraries & SDKs for Dub.co API"
description: "Open-source client libraries for the Dub.co API"
+icon: code
---
## Official SDKs
diff --git a/apps/docs/sdks/typescript/overview.mdx b/apps/docs/sdks/typescript/overview.mdx
index dd6d554479..b6146ffa38 100644
--- a/apps/docs/sdks/typescript/overview.mdx
+++ b/apps/docs/sdks/typescript/overview.mdx
@@ -1,6 +1,7 @@
---
title: "Overview"
description: "TypeScript SDK for Dub.co"
+icon: js
---
## Install
diff --git a/apps/docs/self-hosting.mdx b/apps/docs/self-hosting.mdx
index cff37101ad..852d0ebc0a 100644
--- a/apps/docs/self-hosting.mdx
+++ b/apps/docs/self-hosting.mdx
@@ -2,6 +2,7 @@
title: "Self-hosting Dub.co"
"og:title": "How to self-host Dub.co in 8 easy steps"
description: "An end-to-end guide on how to self-host Dub.co – the open-source link management platform."
+icon: server
---
<Frame>