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

Commit

Permalink
fix: adding more redirects (#856)
Browse files Browse the repository at this point in the history
Co-authored-by: hatemosphere <[email protected]>
  • Loading branch information
githubdoramon and hatemosphere authored Jan 16, 2024
1 parent b6fef08 commit 277d3a9
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 106 deletions.
2 changes: 1 addition & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"aqwzx-zksync-v2-docs"
],
"staging": [
"docs-v2-zksync"
"staging-zksync-web-era-docs"
]
}
}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ $ yarn ci:build

If `lint:spell` doesn't recognize a word, and you’re sure that it’s correct, consider adding it to `cspell-zksync.txt`.

## Search

We use Algolia to index our documentation. Know more about it [here](https://algolia.com). Dashboard is [here](https://dashboard.algolia.com/), and [Crawler Admin](https://crawler.algolia.com/) is here.

## Contributions

### Adding new tutorials
Expand Down
65 changes: 0 additions & 65 deletions docs/dev/how-to/estimate-gas.md

This file was deleted.

130 changes: 90 additions & 40 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,51 @@
"destination": "https://zksync.io/contact",
"type": "302"
},
{
"source": "/docs/reference/architecture/differences-with-ethereum.html",
"destination": "/build/developer-reference/differences-with-ethereum.html",
"type": "302"
},
{
"source": "/docs/tools/",
"destination": "/build",
"type": "302"
},
{
"source": "/userdocs",
"destination": "https://docs.lite.zksync.io/userdocs",
"type": "302"
},
{
"source": "/userdocs/",
"destination": "https://docs.lite.zksync.io/userdocs",
"type": "302"
},
{
"source": "/docs/tools/zksync-cli",
"destination": "/build/tooling/zksync-cli/getting-started.html",
"type": "302"
},
{
"source": "/docs/tools/hardhat",
"destination": "/build/tooling/hardhat/getting-started.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/cross-chain-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/cross-chain-tutorial.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/custom-aa-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/account-abstraction/custom-aa-tutorial.html",
"type": "302"
},
{
"source": "/docs/api/tools/block-explorer/intro.html",
"destination": "/build/tooling/block-explorer/getting-started.html",
"type": "302"
},
{
"source": "/docs/dev/zksync-v2/aa.html",
"destination": "/zk-stack/concepts/account-abstraction.html",
Expand Down Expand Up @@ -348,11 +393,6 @@
"destination": "/build/developer-reference/rollups.html",
"type": "302"
},
{
"source": "/docs/tools/",
"destination": "/build/tooling/zksync-cli/getting-started.html",
"type": "302"
},
{
"source": "/docs/api/go/",
"destination": "/build/sdks/go/getting-started.html",
Expand Down Expand Up @@ -598,16 +638,6 @@
"destination": "/build/tutorials/tooling-guides/api3.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/cross-chain-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/cross-chain-tutorial.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/custom-aa-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/account-abstraction/custom-aa-tutorial.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/custom-paymaster-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/paymasters/custom-paymaster-tutorial.html",
Expand All @@ -628,11 +658,6 @@
"destination": "/build/developer-reference/contract-development.html",
"type": "302"
},
{
"source": "/docs/reference/architecture/differences-with-ethereum.html",
"destination": "/build/developer-reference/differences-with-ethereum.html",
"type": "302"
},
{
"source": "/docs/reference/architecture/events.html",
"destination": "/build/developer-reference/events.html",
Expand Down Expand Up @@ -1123,6 +1148,51 @@
"destination": "https://zksync.io/contact",
"type": "302"
},
{
"source": "/docs/reference/architecture/differences-with-ethereum.html",
"destination": "/build/developer-reference/differences-with-ethereum.html",
"type": "302"
},
{
"source": "/docs/tools/",
"destination": "/build",
"type": "302"
},
{
"source": "/userdocs",
"destination": "https://docs.lite.zksync.io/userdocs",
"type": "302"
},
{
"source": "/userdocs/",
"destination": "https://docs.lite.zksync.io/userdocs",
"type": "302"
},
{
"source": "/docs/tools/zksync-cli",
"destination": "/build/tooling/zksync-cli/getting-started.html",
"type": "302"
},
{
"source": "/docs/tools/hardhat",
"destination": "/build/tooling/hardhat/getting-started.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/cross-chain-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/cross-chain-tutorial.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/custom-aa-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/account-abstraction/custom-aa-tutorial.html",
"type": "302"
},
{
"source": "/docs/api/tools/block-explorer/intro.html",
"destination": "/build/tooling/block-explorer/getting-started.html",
"type": "302"
},
{
"source": "/docs/dev/zksync-v2/aa.html",
"destination": "/zk-stack/concepts/account-abstraction.html",
Expand Down Expand Up @@ -1423,11 +1493,6 @@
"destination": "/build/developer-reference/rollups.html",
"type": "302"
},
{
"source": "/docs/tools/",
"destination": "/build/tooling/zksync-cli/getting-started.html",
"type": "302"
},
{
"source": "/docs/api/go/",
"destination": "/build/sdks/go/getting-started.html",
Expand Down Expand Up @@ -1673,16 +1738,6 @@
"destination": "/build/tutorials/tooling-guides/api3.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/cross-chain-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/cross-chain-tutorial.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/custom-aa-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/account-abstraction/custom-aa-tutorial.html",
"type": "302"
},
{
"source": "/docs/dev/tutorials/custom-paymaster-tutorial.html",
"destination": "/build/tutorials/smart-contract-development/paymasters/custom-paymaster-tutorial.html",
Expand All @@ -1703,11 +1758,6 @@
"destination": "/build/developer-reference/contract-development.html",
"type": "302"
},
{
"source": "/docs/reference/architecture/differences-with-ethereum.html",
"destination": "/build/developer-reference/differences-with-ethereum.html",
"type": "302"
},
{
"source": "/docs/reference/architecture/events.html",
"destination": "/build/developer-reference/events.html",
Expand Down

0 comments on commit 277d3a9

Please sign in to comment.