Skip to content

Commit 72401bb

Browse files
authored
Merge pull request #527 from ProvableHQ/10-25-fixes
Fixing minor formatting issues in prep for push to website
2 parents cbcbccb + cb76285 commit 72401bb

21 files changed

+120
-81
lines changed

documentation/cli/00_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can print the list of commands by running `leo --help`
4040
* [`update`](./14_update.md) - Update to the latest version of Leo.
4141
* [`upgrade`](./15_upgrade.md) - Upgrade a deployed program on the Aleo network.
4242

43-
### Universal Flags:
43+
## Universal Flags
4444
These flags are available to use alongside all commands in the Leo CLI.
4545

4646
#### `-h`

documentation/cli/01_account.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
---
22
id: cli_account
3-
title: leo account
3+
title: ""
44
sidebar_label: Account
5+
toc_min_heading_level: 2
6+
toc_max_heading_level: 2
57
---
68
[general tags]: # (cli, leo_account, account, sign, verify, signature, private_key, view_key, address)
79

10+
# `leo account`
11+
812
The `leo account` command is used to create and manage Aleo accounts, as well as sign and verify messages
913

1014
:::warning
1115
We urge you to exercise caution when managing your private keys. `leo account` cannot be used to recover lost keys.
1216
:::
1317

1418

15-
## Subcommands
19+
# Subcommands
1620
* [`new`](#leo-account-new) - Generates a new Aleo account.
1721
* [`import`](#leo-account-import) - Derive and Aleo account from a private key.
1822
* [`sign`](#leo-account-sign) - Sign a message using your Aleo private key.

documentation/cli/02_add.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
22
id: cli_add
3-
title: leo add
3+
title: ""
44
sidebar_label: Add
5+
toc_min_heading_level: 2
6+
toc_max_heading_level: 2
57
---
68
[general tags]: # (cli, leo_add, add_dependency, dependency, dependency_management, imports)
79

10+
# `leo add`
11+
812
The `leo add` command is used to add a new on-chain or local dependency to the current Leo project.
913

1014

documentation/cli/03_build.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
id: cli_build
3-
title: leo build
3+
title: ""
44
sidebar_label: Build
5+
toc_min_heading_level: 2
6+
toc_max_heading_level: 2
57
---
68
[general tags]: # (cli, leo_build, build, compile, program)
79

8-
## `leo build`
9-
10-
[Back to Top](#commands)
10+
# `leo build`
1111

1212
To compile your program into Aleo instructions and verify that it builds properly, run:
1313
```bash

documentation/cli/04_clean.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
id: cli_clean
3-
title: leo clean
3+
title: ""
44
sidebar_label: Clean
55
---
66
[general tags]: # (cli, leo_clean, clean)
77

8+
# `leo clean`
9+
810
To clean the build directory, run:
911
```bash
1012
leo clean

documentation/cli/05_debug.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
id: cli_debug
3-
title: leo debug
3+
title: ""
44
sidebar_label: Debug
55
---
66
[general tags]: # (cli, leo_debug, debug, debugger)
77

8+
# `leo debug`
9+
810
To start the interactive debugger, run `leo debug` in a Leo project.
911

1012
```bash

documentation/cli/06_deploy.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
22
id: cli_deploy
3-
title: leo deploy
4-
sidebar_label: deploy
3+
title: ""
4+
sidebar_label: Deploy
5+
toc_min_heading_level: 2
6+
toc_max_heading_level: 2
57
---
68
[general tags]: # (cli, leo_deploy, deploy, deployment, transaction, program)
79

10+
# `leo deploy`
11+
812
:::note
913
This command requires having a funded account.
1014
:::

documentation/cli/07_devnet.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
---
22
id: cli_devnet
3-
title: leo devnet
3+
title: ""
44
sidebar_label: Devnet
5+
toc_min_heading_level: 2
6+
toc_max_heading_level: 2
57
---
68
[general tags]: # (cli, leo_devnet, devnet local_devnet, snarkos)
79

8-
## `leo devnet`
9-
[Back to Top](#commands)
10-
:::tip
11-
Use this command to initialize a local devnet
12-
:::
13-
<!-- markdown-link-check-disable -->
14-
:::info
15-
The default ENDPOINT for a local devnet is `http://localhost:3030`
16-
:::
17-
<!-- markdown-link-check-enable -->
10+
# `leo devnet`
1811

1912
To intialize a local devnet, run the following command:
2013
```bash
@@ -24,6 +17,12 @@ where `<SNARKOS>` should be the path to an installed binary of snarkOS.
2417

2518
If you don't have snarkOS installed, you can do so by passing the `--install` flag, which will install the binary at the path specified above.
2619

20+
<!-- markdown-link-check-disable -->
21+
:::info
22+
The default ENDPOINT for a local devnet is `http://localhost:3030`
23+
:::
24+
<!-- markdown-link-check-enable -->
25+
2726
### Flags:
2827
#### `--snarkos <SNARKOS>`
2928
Specifies the path to the installed snarkOS binary.

documentation/cli/08_execute.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
id: cli_execute
3-
title: leo execute
3+
title: ""
44
sidebar_label: Execute
5+
toc_min_heading_level: 2
6+
toc_max_heading_level: 2
57
---
68
[general tags]: # (cli, leo_execute, execute, execution, transaction, transition, transaction_status, async_transition)
79

8-
:::note
9-
This command requires having a funded account.
10-
:::
10+
# `leo execute`
1111

1212
You can execute a transition function by using the `leo execute` command. This differs from the `leo run` command in that a transaction and proof of execution are produced, and optionally can be broadcasted to the network.
1313

@@ -17,6 +17,10 @@ leo execute <TRANSITION_NAME> <INPUTS>
1717
```
1818
where `<TRANSITION_NAME>` is the name of the `transition` or `async transition` function to execute and `<INPUTS>`is a list of inputs to the program separated by spaces.
1919

20+
:::note
21+
This command requires having a funded account.
22+
:::
23+
2024
Under the hood, this command synthesizes the program circuit and generates proving and verifying keys.
2125

2226

documentation/cli/09_new.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
id: cli_new
3-
title: leo new
3+
title: ""
44
sidebar_label: New
55
---
66
[general tags]: # (cli, leo_new, new, new_project)
77

8+
# `leo new`
9+
810
To create a new project, run:
911
```bash
1012
leo new <NAME>

0 commit comments

Comments
 (0)