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 "tokens" pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Mar 26, 2024
1 parent 2d64db0 commit 6b54e69
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
10 changes: 10 additions & 0 deletions docs/tokens/stellar-asset-contract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 20
title: Stellar Asset Contract
description: Use Stellar assets on Soroban.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/smart-contracts/tokens/stellar-asset-contract
label: Stellar Asset 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/tokens/stellar-asset-contract) for the most up-to-date information

:::

<head>
<title>Use Stellar assets on Soroban.</title>
<meta charSet="utf-8" />
Expand Down
10 changes: 10 additions & 0 deletions docs/tokens/token-interface.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 10
title: Token Interface
description: The common interface implemented by tokens that are compatible with Soroban's built-in tokens.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/smart-contracts/tokens/token-interface
label: Stellar Asset 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/tokens/token-interface) for the most up-to-date information

:::

Token contracts, including the Stellar Asset Contract and example token
implementations expose the following common interface.

Expand Down
10 changes: 6 additions & 4 deletions nginx/includes/redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ rewrite "^/docs/learn/rust-dialect$" "https://developers.stellar.org/docs/learn/
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/built-in-contracts/token$" "https://developers.stellar.org/docs/smart-contracts/tokens/stellar-asset-contract" 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$" "https://developers.stellar.org/docs/smart-contracts/guides/freighter" permanent;
rewrite "^/docs/common-interfaces/token$" "/docs/tokens/token-interface" permanent;
rewrite "^/docs/common-interfaces/token$" "https://developers.stellar.org/docs/smart-contracts/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$" "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/reference/interfaces/token-interface" "https://developers.stellar.org/docs/smart-contracts/tokens/token-interface" 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/tutorials/stellar-asset-contract" "https://developers.stellar.org/docs/smart-contracts/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;
rewrite "^/docs/reference/releases$" "https://developers.stellar.org/docs/reference/software-versions" permanent;
Expand Down Expand Up @@ -67,4 +67,6 @@ rewrite "^/docs/migrate(.*)$" "https://developers.stellar.org/docs/learn/migrate
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;
rewrite "^/docs/category/tokens$" "https://developers.stellar.org/docs/smart-contracts/tokens" permanent;
rewrite "^/docs/tokens(.*)$" "https://developers.stellar.org/docs/smart-contracts/tokens$1" permanent;
rewrite "^/docs/reference/freighter$" "https://developers.stellar.org/docs/smart-contracts/guides/freighter" permanent;

0 comments on commit 6b54e69

Please sign in to comment.