Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
add redirects for the "getting started" tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Mar 26, 2024
1 parent 85894ab commit 2ad9c60
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 5 deletions.
10 changes: 10 additions & 0 deletions docs/getting-started/create-an-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 50
title: 5. Create an App
description: Make a frontend web app that interacts with your smart contracts.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/smart-contracts/getting-started/create-an-app
label: 5. Create an App
---

:::danger These are not the droids you're looking for

This page has been migrated to the Stellar Developers documentation. Please [click here](https://developers.stellar.org/docs/smart-contracts/getting-started/create-an-app) for the most up-to-date information

:::

With two smart contracts deployed to a public network, you can now create a web app that interacts with them via RPC calls. Let's get started.

## Initialize a frontend toolchain
Expand Down
10 changes: 10 additions & 0 deletions docs/getting-started/deploy-increment-contract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 40
title: 4. Deploy the Increment Contract
description: Deploy the Increment contract to Testnet.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/smart-contracts/getting-started/deploy-increment-contract
label: 4. Deploy the Increment Contract
---

:::danger These are not the droids you're looking for

This page has been migrated to the Stellar Developers documentation. Please [click here](https://developers.stellar.org/docs/smart-contracts/getting-started/deploy-increment-contract) for the most up-to-date information

:::

<head>
<meta charSet="utf-8" />
<meta
Expand Down
10 changes: 10 additions & 0 deletions docs/getting-started/deploy-to-testnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 20
title: 2. Deploy to Testnet
description: Deploy a smart contract to a live test network.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/smart-contracts/getting-started/deploy-to-testnet
label: 2. Deploy to Testnet
---

:::danger These are not the droids you're looking for

This page has been migrated to the Stellar Developers documentation. Please [click here](https://developers.stellar.org/docs/smart-contracts/getting-started/deploy-to-testnet) for the most up-to-date information

:::

<head>
<meta charSet="utf-8" />
<meta
Expand Down
10 changes: 10 additions & 0 deletions docs/getting-started/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 10
title: 1. Hello World
description: Create your first smart contract in Rust.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/smart-contracts/getting-started/hello-world
label: 1. Hello World
---

:::danger These are not the droids you're looking for

This page has been migrated to the Stellar Developers documentation. Please [click here](https://developers.stellar.org/docs/smart-contracts/getting-started/hello-world) for the most up-to-date information

:::

<head>
<meta charSet="utf-8" />
<meta
Expand Down
10 changes: 10 additions & 0 deletions docs/getting-started/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 0
title: Setup
description: Install and configure Rust to deploy smart contracts.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/smart-contracts/getting-started/setup
label: Setup
---

:::danger These are not the droids you're looking for

This page has been migrated to the Stellar Developers documentation. Please [click here](https://developers.stellar.org/docs/smart-contracts/getting-started/setup) for the most up-to-date information

:::

<head>
<title>Install and configure Rust to deploy smart contracts.</title>
<meta charSet="utf-8" />
Expand Down
10 changes: 10 additions & 0 deletions docs/getting-started/storing-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 30
title: 3. Storing Data
description: Write a smart contract that stores and retrieves data.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/smart-contracts/getting-started/storing-data
label: 3. Storing Data
---

:::danger These are not the droids you're looking for

This page has been migrated to the Stellar Developers documentation. Please [click here](https://developers.stellar.org/docs/smart-contracts/getting-started/storing-data) for the most up-to-date information

:::

<head>
<meta charSet="utf-8" />
<meta
Expand Down
11 changes: 6 additions & 5 deletions nginx/includes/redirects.conf
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
rewrite "^/docs/category/examples$" "https://developers.stellar.org/docs/smart-contracts/example-contracts" permanent;
rewrite "^/docs/getting-started/run-rpc$" "https://developers.stellar.org/network/soroban-rpc/admin-guide" permanent;
rewrite "^/docs/category/tutorials$" "https://developers.stellar.org/docs/smart-contracts/example-contracts" permanent;
rewrite "^/docs/tutorials/deploy-to-futurenet$" "/docs/getting-started/deploy-to-testnet" permanent;
rewrite "^/docs/tutorials/deploy-to-futurenet$" "https://developers.stellar.org/docs/smart-contracts/getting-started/deploy-to-testnet" permanent;
rewrite "^/fundamentals-and-concepts/faq$" "/docs/faq" permanent;
rewrite "^/docs/examples/events$" "https://developers.stellar.org/docs/smart-contracts/example-contracts/events" permanent;
rewrite "^/docs/learn/rust-dialect$" "https://developers.stellar.org/docs/learn/smart-contract-internals/rust-dialect" permanent;
rewrite "^/docs/advanced-tutorials/liquidity-pool-b6f$" "https://developers.stellar.org/docs/smart-contracts/example-contracts/liquidity-pool" permanent;
rewrite "^/docs(/category)?/learn$" "https://developers.stellar.org/docs/learn/smart-contract-internals" permanent;
rewrite "^/docs/category/fundamentals-and-concepts$" "https://developers.stellar.org/docs/learn/smart-contract-internals" permanent;
rewrite "^/docs/built-in-contracts/token$" "/docs/tokens/stellar-asset-contract" permanent;
rewrite "^/docs/getting-started/deploy-to-a-local-network$" "/docs/getting-started/deploy-to-testnet" permanent;
rewrite "^/docs/getting-started/deploy-to-futurenet$" "/docs/getting-started/deploy-to-testnet" permanent;
rewrite "^/docs/getting-started/deploy-to-a-local-network$" "https://developers.stellar.org/docs/smart-contracts/getting-started/deploy-to-testnet" permanent;
rewrite "^/docs/getting-started/deploy-to-futurenet$" "https://developers.stellar.org/docs/smart-contracts/getting-started/deploy-to-testnet" permanent;
rewrite "^/docs/tutorials/testing$" "https://developers.stellar.org/docs/learn/smart-contract-internals/debugging" permanent;
rewrite "^/docs/category/how-to-guides$" "https://developers.stellar.org/docs/smart-contracts/guides" permanent;
rewrite "^/docs/getting-started/connect-freighter-wallet$" "/docs/reference/freighter" permanent;
rewrite "^/docs/common-interfaces/token$" "/docs/tokens/token-interface" permanent;
rewrite "^/docs/how-to-guides/tokens$" "https://developers.stellar.org/docs/smart-contracts/example-contracts/tokens" permanent;
rewrite "^/dapps/category/challenges$" "/dashboard" permanent;
rewrite "^/docs/guides/cli/wrap-token$" "/docs/guides/cli/deploy-stellar-asset-contract" permanent;
rewrite "^/docs/guides/cli/wrap-token$" "https://developers.stellar.org/docs/smart-contracts/guides/cli/deploy-stellar-asset-contract" permanent;
# BEGIN re-structure redirects
rewrite "^/sorobanathon" "/" permanent;
rewrite "^/docs/reference/interfaces/token-interface" "/docs/tokens/token-interface" permanent;
rewrite "^/docs/category/getting-started$" "/docs/getting-started/setup" permanent;
rewrite "^/docs/category/getting-started$" "https://developers.stellar.org/docs/smart-contracts/getting-started/setup" permanent;
rewrite "^/docs/tutorials/stellar-asset-contract" "/docs/tokens/stellar-asset-contract" permanent;
rewrite "^/docs/category/migrating-from-evm$" "https://developers.stellar.org/docs/learn/migrate/evm" permanent;
rewrite "^/docs/fundamentals-and-concepts/migrating-from-evm(/.*)$" "https://developers.stellar.org/docs/learn/migrate/evm$1" permanent;
Expand Down Expand Up @@ -66,3 +66,4 @@ rewrite "^/docs/migrate(.*)$" "https://developers.stellar.org/docs/learn/migrate
# smart contracts
rewrite "^/docs/guides(.*)$" "https://developers.stellar.org/docs/smart-contracts/guides$1" permanent;
rewrite "^/docs/tutorials(.*)$" "https://developers.stellar.org/docs/smart-contracts/example-contracts$1" permanent;
rewrite "^/docs/getting-started(.*)$" "https://developers.stellar.org/docs/smart-contracts/getting-started$1" permanent;

0 comments on commit 2ad9c60

Please sign in to comment.