Skip to content

Commit 0ba667f

Browse files
authored
Quickstart path refactor (#1626)
* init&finish * minor fix
1 parent fca3e1b commit 0ba667f

File tree

11 files changed

+25
-18
lines changed

11 files changed

+25
-18
lines changed

.htaccess

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,3 +389,10 @@ RewriteRule ^architecture-and-concepts/accounts/approach/$ /architecture-and-con
389389
RewriteRule ^architecture-and-concepts/accounts/deploying-new-accounts/$ /architecture-and-concepts/accounts? [R=301,L]
390390
RewriteRule ^architecture-and-concepts/accounts/introduction/$ /architecture-and-concepts/accounts? [R=301,L]
391391
RewriteRule ^architecture-and-concepts/accounts/simplified-transaction-flow/$ /architecture-and-concepts/accounts? [R=301,L]
392+
RewriteRule ^quick-start/devnet/$ /guides/quickstart/devent? [R=301,L]
393+
RewriteRule ^quick-start/environment-setup/$ /guides/quickstart/environment-setup? [R=301,L]
394+
RewriteRule ^quick-start/hellostarknet/$ /guides/quickstart/hellostarknet? [R=301,L]
395+
RewriteRule ^quick-start/next-steps/$ /guides/quickstart/next-steps? [R=301,L]
396+
RewriteRule ^quick-start/overview/$ /guides/quickstart/overview? [R=301,L]
397+
RewriteRule ^quick-start/sepolia/$ /guides/quickstart/sepolia? [R=301,L]
398+
RewriteRule ^quick-start/troubleshooting/$ /guides/quickstart/troubleshooting? [R=301,L]

components/Starknet/modules/guides/nav.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
* Guides
22
** Quickstart
3-
*** xref:quick-start:overview.adoc[Overview]
4-
*** xref:quick-start:environment-setup.adoc[Setting up your environment]
5-
*** xref:quick-start:hellostarknet.adoc[Generating and understanding `HelloStarknet`]
6-
*** xref:quick-start:devnet.adoc[Declaring, deploying, and interacting with `HelloStarknet` locally]
7-
*** xref:quick-start:sepolia.adoc[Deploying and interacting with `HelloStarknet` on Sepolia]
8-
*** xref:quick-start:next-steps.adoc[Recommended next steps]
9-
*** xref:quick-start:troubleshooting.adoc[Troubleshooting]
3+
*** xref:quickstart/overview.adoc[Overview]
4+
*** xref:quickstart/environment-setup.adoc[Setting up your environment]
5+
*** xref:quickstart/hellostarknet.adoc[Generating and understanding `HelloStarknet`]
6+
*** xref:quickstart/devnet.adoc[Declaring, deploying, and interacting with `HelloStarknet` locally]
7+
*** xref:quickstart/sepolia.adoc[Deploying and interacting with `HelloStarknet` on Sepolia]
8+
*** xref:quickstart/next-steps.adoc[Recommended next steps]
9+
*** xref:quickstart/troubleshooting.adoc[Troubleshooting]
1010
** Becoming a validator
1111
*** xref:staking-on-starknet/overview.adoc[Overview]
1212
*** xref:staking-on-starknet/prerequisite.adoc[]

components/Starknet/modules/quick-start/pages/devnet.adoc renamed to components/Starknet/modules/guides/pages/quickstart/devnet.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To interact with your local Starknet instance, you first need an account. Luckil
6464
...
6565
----
6666

67-
This allows to avoid creating and deploying new accounts, and instead simply importing them to Starknet Foundry. To import your local node's first predeployed account, navigate into the `hello_starknet` directory created in xref:hellostarknet.adoc#generating_hellostarknet[Generating `HelloStarknet`] and run:
67+
This allows to avoid creating and deploying new accounts, and instead simply importing them to Starknet Foundry. To import your local node's first predeployed account, navigate into the `hello_starknet` directory created in xref:quickstart/hellostarknet.adoc#generating_hellostarknet[Generating `HelloStarknet`] and run:
6868

6969
[source,terminal]
7070
----

components/Starknet/modules/quick-start/pages/environment-setup.adoc renamed to components/Starknet/modules/guides/pages/quickstart/environment-setup.adoc

File renamed without changes.

components/Starknet/modules/quick-start/pages/hellostarknet.adoc renamed to components/Starknet/modules/guides/pages/quickstart/hellostarknet.adoc

File renamed without changes.

components/Starknet/modules/quick-start/pages/next-steps.adoc renamed to components/Starknet/modules/guides/pages/quickstart/next-steps.adoc

File renamed without changes.

components/Starknet/modules/quick-start/pages/overview.adoc renamed to components/Starknet/modules/guides/pages/quickstart/overview.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Welcome to the "Hello, Starknet!" quickstart series, the official tutorial for s
44

55
This series will walk you though all the steps necessary to deploy your very own `HelloStarknet` contract, including:
66

7-
* xref:environment-setup.adoc[]
8-
* xref:hellostarknet.adoc[]
9-
* xref:devnet.adoc[]
10-
* xref:sepolia.adoc[]
11-
* xref:next-steps.adoc[]
7+
* xref:quickstart/environment-setup.adoc[]
8+
* xref:quickstart/hellostarknet.adoc[]
9+
* xref:quickstart/devnet.adoc[]
10+
* xref:quickstart/sepolia.adoc[]
11+
* xref:quickstart/next-steps.adoc[]
1212
1313
Good luck! We can already feel this this is the beginning of a beautiful friendship 🤜🤛

components/Starknet/modules/quick-start/pages/sepolia.adoc renamed to components/Starknet/modules/guides/pages/quickstart/sepolia.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Similar to interacting with a Starknet Devnet instance, to interact with Starkne
1616

1717
[NOTE]
1818
====
19-
To learn how to fetch a predeployed Sepolia account, check out xref:troubleshooting.adoc[Troubleshooting].
19+
To learn how to fetch a predeployed Sepolia account, check out xref:quickstart/troubleshooting.adoc[Troubleshooting].
2020
====
2121

22-
To create the account's information (private key, address, etc.), navigate into the `hello_starknet` directory created in xref:hellostarknet.adoc#generating_hellostarknet[Generating `HelloStarknet`] and run:
22+
To create the account's information (private key, address, etc.), navigate into the `hello_starknet` directory created in xref:quickstart/hellostarknet.adoc#generating_hellostarknet[Generating `HelloStarknet`] and run:
2323

2424
[source,terminal]
2525
----
@@ -57,7 +57,7 @@ transaction: https://sepolia.starkscan.co/tx/0x01340c0328b037bab85d53dd1b3b8040b
5757

5858
== Deploying `HelloStarknet` on Sepolia
5959

60-
Unlike when using a Starknet Devnet instance, there's no need for us to declare `HelloStarknet` on Sepolia as it has already been declared before (remember: declaration is a one-time process for each unique contract code). To verify that, you can try declaring it by navigating into the `hello_starknet` directory created in xref:hellostarknet.adoc#generating_hellostarknet[Generating `HelloStarknet`], running:
60+
Unlike when using a Starknet Devnet instance, there's no need for us to declare `HelloStarknet` on Sepolia as it has already been declared before (remember: declaration is a one-time process for each unique contract code). To verify that, you can try declaring it by navigating into the `hello_starknet` directory created in xref:quickstart/hellostarknet.adoc#generating_hellostarknet[Generating `HelloStarknet`], running:
6161

6262
[source,terminal]
6363
----

components/Starknet/modules/quick-start/pages/troubleshooting.adoc renamed to components/Starknet/modules/guides/pages/quickstart/troubleshooting.adoc

File renamed without changes.

components/Starknet/modules/guides/pages/staking-on-starknet/prerequisite.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export STAKING_ADDRESS=<YOUR_STAKER_ACCOUNT_ADDRESS>
4646
+
4747
[TIP]
4848
====
49-
For deploying and funding an `sncast` account on Sepolia, see xref:quick-start:sepolia.adoc#deploying_a_new_sepolia_account[Deploying a new Sepolia account].
49+
For deploying and funding an `sncast` account on Sepolia, see xref:quickstart/sepolia.adoc#deploying_a_new_sepolia_account[Deploying a new Sepolia account].
5050
====
5151

5252

0 commit comments

Comments
 (0)