diff --git a/web/content/docs/guides/building.md b/web/content/docs/guides/building.md index 7c5742ad4..39a12b6e7 100644 --- a/web/content/docs/guides/building.md +++ b/web/content/docs/guides/building.md @@ -29,13 +29,13 @@ Snix is hosted in its own Forgejo instance, hosted on [git.snix.dev](https://git Check out the source code as follows: -```console -$ git clone https://git.snix.dev/snix/snix.git +```bash +git clone https://git.snix.dev/snix/snix.git ``` ### Interactive development -```console -$ direnv allow +```bash +direnv allow ``` This provides all the necessary tools and dependencies to interactively build @@ -47,14 +47,14 @@ It is also possible to build the different Snix crates with Nix, in which you don't need to enter the shell. From the root of the repository, you can build as follows: -```console +```bash $ nix-build -A snix.cli ``` Alternatively, you can use the `mg` wrapper from anywhere in the repository (requires the direnv setup from above): -```console -$ mg build //snix:cli +```bash +mg build //snix:cli ``` This uses [crate2nix][] to build each crate dependency individually. diff --git a/web/content/docs/guides/contributing.md b/web/content/docs/guides/contributing.md index ef2660da6..51dd6b88a 100644 --- a/web/content/docs/guides/contributing.md +++ b/web/content/docs/guides/contributing.md @@ -42,14 +42,14 @@ interact with Gerrit directly. Replace `$USER` with your `Username` shown in the Gerrit settings. #### If using SSH authentication: -```console -$ git remote set-url origin "ssh://$USER@cl.snix.dev:29418/snix" +```bash +git remote set-url origin "ssh://$USER@cl.snix.dev:29418/snix" ``` #### If using HTTP authentication: -```console -$ git remote set-url origin "https://$USER@cl.snix.dev/a/snix" +```bash +git remote set-url origin "https://$USER@cl.snix.dev/a/snix" ```