docs/contributing: remove explicit enabling of copy button in code snippets

This commit is contained in:
Vincent Ging Ho Yim 2025-04-18 13:26:42 +10:00
parent 1de9cfe540
commit 08f9a9af43

View File

@ -302,7 +302,7 @@ version and the dependencies needed to build the docs. Install it like so:
=== "macOS/Linux"
``` { .shell .copy }
```shell
curl -LsSf https://astral.sh/uv/install.sh | sh
```
@ -310,25 +310,25 @@ version and the dependencies needed to build the docs. Install it like so:
If you don't have `~/.local/bin` in your `PATH`, the installer will
modify your shell profile. To avoid it:
``` { .shell .copy }
```shell
curl -LsSf https://astral.sh/uv/install.sh | env INSTALLER_NO_MODIFY_PATH=1 sh
```
=== "Windows"
``` { .shell .copy }
```shell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```
=== "Homebrew"
``` { .shell .copy }
```shell
brew install uv
```
=== "Cargo"
``` { .shell .copy }
```shell
# This might take a while
cargo install --git https://github.com/astral-sh/uv uv
```
@ -342,7 +342,7 @@ version and the dependencies needed to build the docs. Install it like so:
To build the docs, run while inside the `jj` repository:
``` { .shell .copy }
```shell
uv run mkdocs serve
```