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

[Stellar Merge] Add redirects and external URLs for a new "Reference" section #772

Merged
merged 7 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/reference/networks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 30
title: Networks
description: The shared Soroban test networks.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/reference/networks
label: Networks
---

:::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/reference/networks) for the most up-to-date information

:::

Read more about the different networks in the [Networks section](https://developers.stellar.org/docs/fundamentals-and-concepts/networks) in the Stellar docs.

| | Mainnet | Testnet | Futurenet |
Expand Down
10 changes: 10 additions & 0 deletions docs/reference/resource-limits-fees.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
---
sidebar_position: 35
title: Resource Limits & Fees
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/reference/resource-limits-fees
label: Resource Limits & Fees
---

:::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/reference/resource-limits-fees) for the most up-to-date information

:::

## Resource Limits

Soroban introduces smart contracts, marking the most transformative upgrade to the Stellar network to date. To maintain network performance, the ecosystem has decided to upgrade the network in a phased approach where network capacity is increased gradually over time. See [this blog post](https://stellar.org/blog/developers/the-stellar-network-s-phased-rollout-of-smart-contracts-the-road-to-mainnet) for more details and [discord](https://discord.com/invite/zVYdY3ktTn) for current status.
Expand Down
10 changes: 10 additions & 0 deletions docs/releases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
sidebar_position: 90
title: Releases
description: Soroban software releases and changelogs.
sidebar_custom_props:
migration:
href: https://developers.stellar.org/docs/reference/software-versions
label: Releases
---

:::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/reference/software-versions) for the most up-to-date information

:::

We're releasing early versions of Soroban because we believe it's important to share the development process, and we want Stellar ecosystem developers and smart contract developers from other ecosystems to have a chance to experiment and provide feedback.

:::caution
Expand Down
12 changes: 2 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,7 @@ const config = {
"classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
blog: {
path: 'meeting-notes',
blogTitle: 'Meeting Notes',
blogDescription: 'Notes and recordings from the Soroban protocol & developers meetings',
blogSidebarTitle: 'All meetings',
blogSidebarCount: 'ALL',
postsPerPage: 'ALL',
routeBasePath: 'meetings',
},
blog: false,
docs: {
showLastUpdateTime: true,
showLastUpdateAuthor: true,
Expand Down Expand Up @@ -125,7 +117,7 @@ const config = {
position: 'left'
},
{
to: '/meetings',
href: 'https://developers.stellar.org/meetings',
label: 'Meetings',
position: 'right',
},
Expand Down
17 changes: 11 additions & 6 deletions nginx/includes/redirects.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
rewrite "^/docs/category/examples$" "/docs/tutorials" permanent;
rewrite "^/docs/getting-started/run-rpc$" "/docs/reference/rpc" permanent;
rewrite "^/docs/getting-started/run-rpc$" "https://developers.stellar.org/network/soroban-rpc/admin-guide" permanent;
rewrite "^/docs/category/tutorials$" "/docs/tutorials" permanent;
rewrite "^/docs/tutorials/deploy-to-futurenet$" "/docs/getting-started/deploy-to-testnet" permanent;
rewrite "^/fundamentals-and-concepts/faq$" "/docs/faq" permanent;
Expand All @@ -23,18 +23,18 @@ 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/tutorials/stellar-asset-contract" "/docs/tokens/stellar-asset-contract" permanent;
rewrite "^/docs/category/migrating-from-evm$" "/docs/migrate/evm/introduction-to-solidity-and-rust" permanent;
rewrite "^/docs/fundamentals-and-concepts/migrating-from-evm(/.*)$" "/docs/migrate/evm$1" permanent;
rewrite "^/docs/reference/releases$" "/docs/releases" 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;
rewrite "^/docs/fundamentals-and-concepts/faq$" "/docs/faq" permanent;
rewrite "^/docs/reference/testnet$" "/docs/reference/networks" permanent;
rewrite "^/docs/reference/testnet$" "https://developers.stellar.org/docs/reference/networks" permanent;
rewrite "^/docs/fundamentals-and-concepts/(built-in-types|custom-types|fully-typed-contracts)$" "https://developers.stellar.org/docs/learn/smart-contract-internals/types/$1" permanent;
rewrite "^/docs/fundamentals-and-concepts/invoking-contracts-with-transactions$" "https://developers.stellar.org/docs/learn/smart-contract-internals/contract-interactions/stellar-transaction" permanent;
rewrite "^/docs/soroban-internals/contract-interactions/stellar-transactions$" "https://developers.stellar.org/docs/learn/smart-contract-internals/contract-interactions/stellar-transaction" permanent;
rewrite "^/docs/fundamentals-and-concepts/interacting-with-contracts$" "https://developers.stellar.org/docs/learn/smart-contract-internals/contract-interactions" permanent;
rewrite "^/docs/(basic|advanced)-tutorials(/.*)$" "/docs/tutorials$2" permanent;
rewrite "^/docs/fundamentals-and-concepts(/.*)$" "https://developers.stellar.org/docs/learn/smart-contract-internals$1" permanent;
rewrite "^/docs/notes" "/meetings" permanent;
rewrite "^/docs/notes" "https://developers.stellar.org/meetings" permanent;
##### BEGIN merge redirects
# developer tools and SDK
rewrite "^/docs/developer-tools" "https://developers.stellar.org/docs/tools/developer-tools" permanent;
Expand All @@ -51,8 +51,13 @@ rewrite "^/docs/reference/data-providers" "https://developers.stellar.org/docs/t
rewrite "^/methods/getTransaction$" "https://developers.stellar.org/network/soroban-rpc/methods/getTransaction" permanent;
rewrite "^/api/incomplete-methods$" "https://developers.stellar.org/network/soroban-rpc/methods" permanent;
rewrite "^/api(.*)" "https://developers.stellar.org/network/soroban-rpc$1" permanent;
# reference
rewrite "^/docs/reference/rpc$" "https://developers.stellar.org/network/soroban-rpc/admin-guide" permanent;
rewrite "^/docs/reference/rpc-list$" "https://developers.stellar.org/network/soroban-rpc/rpc-providers" permanent;
rewrite "^/docs/reference/networks$" "https://developers.stellar.org/docs/reference/networks" permanent;
rewrite "^/docs/reference/resource-limits-fees$" "https://developers.stellar.org/docs/reference/resource-limits-fees" permanent;
rewrite "^/docs/reference/releases(.*)$" "https://developers.stellar.org/docs/reference/software-versions$1" permanent;
rewrite "^/meetings(.*)$" "https://developers.stellar.org/meetings$1" permanent;
# learn
rewrite "^/docs/category/soroban-internals$" "https://developers.stellar.org/docs/learn/smart-contract-internals" permanent;
rewrite "^/docs/soroban-internals/contract-interactions$" "https://developers.stellar.org/docs/learn/smart-contract-internals/contract-interactions/overview" permanent;
Expand Down
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
{
type: 'link',
label: 'Meeting Notes',
href: '/meetings',
href: 'https://developers.stellar.org/meetings',
}
]
};
Loading