Skip to content

Commit 15bb996

Browse files
committed
refactor: rename snippets and import them using relative paths
1 parent eed9846 commit 15bb996

37 files changed

+51
-57
lines changed

docs/api/airdrops/02-airdrops-endpoints.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
7+
import DeprecatedSubgraphs from "../../snippets/_deprecated-subgraphs.mdx";
8+
import EnvioEndpoints from "../../snippets/_envio-endpoints.mdx";
9+
import TheGraphEndpoints from "../../snippets/_the-graph-endpoints.mdx";
1010
import EnvioEndpointTable from "@site/src/components/molecules/EnvioEndpointTable";
1111

1212
# Airdrops Endpoints

docs/api/airdrops/06-previous-endpoints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 6
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "../../snippets/_deprecated-endpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

docs/api/flow/02-flow-endpoints.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
7+
import DeprecatedSubgraphs from "../../snippets/_deprecated-subgraphs.mdx";
8+
import EnvioEndpoints from "../../snippets/_envio-endpoints.mdx";
9+
import TheGraphEndpoints from "../../snippets/_the-graph-endpoints.mdx";
1010
import EnvioEndpointTable from "@site/src/components/molecules/EnvioEndpointTable";
1111

1212
# Flow Endpoints

docs/api/flow/05-previous-endpoints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 5
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "../../snippets/_deprecated-endpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

docs/api/lockup/02-lockup-endpoints.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
7+
import DeprecatedSubgraphs from "../../snippets/_deprecated-subgraphs.mdx";
8+
import EnvioEndpoints from "../../snippets/_envio-endpoints.mdx";
9+
import TheGraphEndpoints from "../../snippets/_the-graph-endpoints.mdx";
1010
import EnvioEndpointTable from "@site/src/components/molecules/EnvioEndpointTable";
1111

1212
# Lockup Endpoints

docs/api/lockup/05-previous-endpoints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 5
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "../../snippets/_deprecated-endpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

docs/concepts/01-what-is-sablier.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ sidebar_position: 1
44
title: "What Is Sablier?"
55
---
66

7-
import ReleaseHistoryAirdrops from "@site/docs/snippets/ReleaseHistoryAirdrops.mdx";
8-
import ReleaseHistoryFlow from "@site/docs/snippets/ReleaseHistoryFlow.mdx";
9-
import ReleaseHistoryLegacy from "@site/docs/snippets/ReleaseHistoryLegacy.mdx";
10-
import ReleaseHistoryLockup from "@site/docs/snippets/ReleaseHistoryLockup.mdx";
7+
import ReleaseHistoryAirdrops from "../snippets/_release-history-airdrops.mdx";
8+
import ReleaseHistoryFlow from "../snippets/_release-history-flow.mdx";
9+
import ReleaseHistoryLegacy from "../snippets/_release-history-legacy.mdx";
10+
import ReleaseHistoryLockup from "../snippets/_release-history-lockup.mdx";
1111

1212
Sablier is a powerful onchain token distribution protocol. Here are some key definitions:
1313

docs/guides/airdrops/examples/01-local-environment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
SetupWithFoundry,
1111
InstallNpm,
1212
FinalSteps,
13-
} from "@site/docs/snippets/LocalEnvironment.mdx";
13+
} from "../../../snippets/_local-environment.mdx";
1414

1515
<Introduction protocol="Airdrops" />
1616

docs/guides/airdrops/examples/02-create-campaign.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ sidebar_position: 2
44
title: "Create Campaigns"
55
---
66

7-
import AdmonitionSimpleCode from "@site/docs/snippets/AdmonitionSimpleCode.mdx";
8-
import Deployment from "@site/docs/snippets/Deployment.mdx";
7+
import AdmonitionSimpleCode from "../../../snippets/_admonition-simple-code.mdx";
8+
import Deployment from "../../../snippets/_deployment.mdx";
99

1010
# Create Airdrop Campaigns
1111

docs/guides/flow/02-flow-deployments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 2
44
title: "Deployment Addresses"
55
---
66

7-
import ReleaseHistoryFlow from "@site/docs/snippets/ReleaseHistoryFlow.mdx";
7+
import ReleaseHistoryFlow from "../../snippets/_release-history-flow.mdx";
88

99
# Flow Deployments
1010

0 commit comments

Comments
 (0)