Skip to content

Commit

Permalink
docs: update cli location in nav (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyg0 authored Jul 23, 2024
1 parent 02426ee commit 8f8de9e
Show file tree
Hide file tree
Showing 19 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion content/00.build/10.zksync-101/00.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ help you become a great developer on ZKsync! You will learn how to:
## Install zksync-cli

Our Quickstart series utilizes the `zksync-cli` to help you develop and interact with ZKsync from your local machine. Check out our
[zksync-cli section](/build/tooling/zksync-cli) to learn more on how to use the CLI.
[zksync-cli section](/build/zksync-cli) to learn more on how to use the CLI.

You will need to install a couple tools to effectively use `zksync-cli`:

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ e. **Use the Latest Version**

If `zksync-cli` is not running the latest version:

- Refer to the [instructions for `unknown command` Error](/build/tooling/zksync-cli/troubleshooting#unknown-command-error)
- Refer to the [instructions for `unknown command` Error](/build/zksync-cli/troubleshooting#unknown-command-error)
above to check and update your ZKsync CLI version.

---
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions content/00.build/40.tooling/20.hardhat/10.getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Along with the official plugins, there are [other plugins from the community](/b

To learn more about Hardhat itself, check out [the official documentation](https://hardhat.org/getting-started/).

This tutorial shows you how to setup a ZKsync Era Solidity project with Hardhat using the [ZKsync CLI](/build/tooling/zksync-cli).
This tutorial shows you how to setup a ZKsync Era Solidity project with Hardhat using the [ZKsync CLI](/build/zksync-cli).

If you are using Vyper, check out the [Vyper plugin documentation](/build/tooling/hardhat/hardhat-zksync-vyper)
or the [vyper-example](%%zk_git_repo_hardhat-zksync%%/tree/main/examples/vyper-example) in GitHub!
Expand All @@ -49,7 +49,7 @@ or the [vyper-example](%%zk_git_repo_hardhat-zksync%%/tree/main/examples/vyper-e
::callout
Skip the hassle for test ETH by using `zksync-cli` for local testing.
Use the `npx zksync-cli dev start` command to initialize a local ZKsync development environment, which includes local Ethereum and ZKsync nodes.
This method allows you to test contracts without requesting external testnet funds. Explore more in the [zksync-cli documentation](/build/tooling/zksync-cli).
This method allows you to test contracts without requesting external testnet funds. Explore more in the [zksync-cli documentation](/build/zksync-cli).
::

::callout{icon="i-heroicons-exclamation-triangle" color="amber"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can get Sepolia ETH from the [network faucets](/ecosystem/network-faucets).
Skip the hassle for test ETH by using `zksync-cli` for local testing.
Simply execute `npx zksync-cli dev start` to initialize a local ZKsync development environment, which includes local Ethereum and ZKsync nodes.
This method allows you to test contracts without requesting external testnet funds.
Explore more in the [zksync-cli documentation](/build/tooling/zksync-cli).
Explore more in the [zksync-cli documentation](/build/zksync-cli).
::

::callout{icon="i-heroicons-exclamation-triangle" color="amber"}
Expand Down
2 changes: 1 addition & 1 deletion content/00.build/60.test-and-debug/00.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ Choose the most appropriate setup based on your specific needs, and happy testin

## Use ZKsync CLI for easy setup

The [ZKsync CLI](/build/tooling/zksync-cli) makes it simple for developers to work with both the Dockerized local setup and In-Memory Node.
The [ZKsync CLI](/build/zksync-cli) makes it simple for developers to work with both the Dockerized local setup and In-Memory Node.
Use `zksync-cli dev start` to get your local development environment running along with additional modules like Block Explorer, Wallet and Bridge.
2 changes: 1 addition & 1 deletion content/00.build/60.test-and-debug/20.in-memory-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You can visit the `era-test-node` repository [to learn more](%%zk_git_repo_era-t
## Run actions with `zksync-cli`

You can setup the In-Memory Node quickly with `zksync-cli dev start`.
If you don't have `zksync-cli` setup, see the [Overview](/build/tooling/zksync-cli) guide.
If you don't have `zksync-cli` setup, see the [Overview](/build/zksync-cli) guide.

Note: at the moment this method won't allow you to use additional features like forking networks or replaying transactions.

Expand Down
2 changes: 1 addition & 1 deletion content/00.build/60.test-and-debug/40.hardhat.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and we'll use [Mocha](https://mochajs.org/) as our test runner.

### Prerequisites

- `zksync-cli` installed from the [zksync-cli section](/build/tooling/zksync-cli).
- `zksync-cli` installed from the [zksync-cli section](/build/zksync-cli).
- `era_test_node` installed and running. See [In-memory Node](/build/test-and-debug/in-memory-node).

---
Expand Down
2 changes: 1 addition & 1 deletion content/10.zk-stack/20.running-a-zk-chain/10.locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ to set up dependencies on your machine (don't worry about the Environment sectio
::callout{icon="i-heroicons-exclamation-triangle" color="amber"}
This guide is for setting up an Elastic Chain ecosystem and for spinning up your own ZK chains
using ZK Stack. If you just want play around with a pre-built ZKsync chain, you can use `zksync-cli dev` to run docker containers.
Learn more on [zksync-cli](/build/tooling/zksync-cli).
Learn more on [zksync-cli](/build/zksync-cli).
::

### Install ZK Inception
Expand Down
2 changes: 1 addition & 1 deletion content/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ features:
- title: 'Develop with zksync-cli'
description: 'Boost your development workflow with the zksync-cli tool.'
icon: 'i-simple-icons-windowsterminal'
to: '/build/tooling/zksync-cli'
to: '/build/zksync-cli'
- title: 'Architecture'
description: 'Learn about the ZKsync architecture and how it works under the hood.'
icon: 'i-heroicons-sparkles-20-solid'
Expand Down
9 changes: 7 additions & 2 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,13 @@
"type": 301
},
{
"source": "/build/tooling/zksync-cli/getting-started.html",
"destination": "/build/tooling/zksync-cli",
"source": "/build/tooling/zksync-cli",
"destination": "/build/zksync-cli",
"type": 301
},
{
"source": "/build/tooling/zksync-cli/*.@(html|md)",
"destination": "/build/zksync-cli",
"type": 301
},
{
Expand Down

0 comments on commit 8f8de9e

Please sign in to comment.