-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update website to Vitepress
1.0.0-rc.40
etc. (#1079)
Signed-off-by: Marek Kaput <[email protected]>
- Loading branch information
Showing
9 changed files
with
376 additions
and
894 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,8 @@ Get started with Scarb by following a cheatsheet of the most important commands. | |
scarb new project/directory | ||
``` | ||
|
||
::: info | ||
There is `scarb init` which runs in current directory instead of creating new one. | ||
::: | ||
> [!TIP] | ||
> There is `scarb init` which runs in current directory instead of creating new one. | ||
## Compiling | ||
|
||
|
@@ -24,9 +23,9 @@ scarb build | |
|
||
Built Sierra code of this package will be written to `target/dev` directory. | ||
|
||
::: info | ||
`scarb clean` cleans `target` directory. | ||
::: | ||
<!-- prettier-ignore --> | ||
> [!TIP] | ||
> `scarb clean` cleans `target` directory. | ||
### Building CASM | ||
|
||
|
@@ -72,21 +71,17 @@ Add dependency located in local path: | |
alexandria_math = { path = "../path-to-alexandria-checkout/alexandria" } | ||
``` | ||
|
||
::: info | ||
You can add `version` field to specify package version requirement. | ||
::: | ||
> [!TIP] | ||
> You can add `version` field to specify package version requirement. | ||
::: info | ||
You can add `branch`, `tag` and `rev` fields to Git dependencies. | ||
::: | ||
> [!TIP] | ||
> You can add `branch`, `tag` and `rev` fields to Git dependencies. | ||
::: info | ||
You can use `ssh://` URLs, Scarb uses local `git` installation for all network operations. | ||
::: | ||
> [!TIP] | ||
> You can use `ssh://` URLs, Scarb uses local `git` installation for all network operations. | ||
::: info | ||
You can add development dependencies in `[dev-dependencies]` section. | ||
::: | ||
> [!TIP] | ||
> You can add development dependencies in `[dev-dependencies]` section. | ||
### Via `scarb add` | ||
|
||
|
@@ -102,21 +97,20 @@ Add dependency located in local path: | |
scarb add alexandria_math --path ../path-to-alexandria-checkout/alexandria | ||
``` | ||
|
||
::: info | ||
You can specify package version like this: `[email protected]`, but see remarks in previous section. | ||
::: | ||
> [!TIP] | ||
> You can specify package version like this: `[email protected]`, but see remarks in previous section. | ||
::: info | ||
`--git` supports `--branch`, `--tag` and `--rev` arguments. | ||
::: | ||
<!-- prettier-ignore --> | ||
> [!TIP] | ||
> `--git` supports `--branch`, `--tag` and `--rev` arguments. | ||
::: info | ||
`scarb rm` removes a dependency. | ||
::: | ||
<!-- prettier-ignore --> | ||
> [!TIP] | ||
> `scarb rm` removes a dependency. | ||
::: info | ||
`--dev` flag adds/removes a development dependency. | ||
::: | ||
<!-- prettier-ignore --> | ||
> [!TIP] | ||
> `--dev` flag adds/removes a development dependency. | ||
## Formatting | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.