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" === "macOS/Linux"
``` { .shell .copy } ```shell
curl -LsSf https://astral.sh/uv/install.sh | sh 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 If you don't have `~/.local/bin` in your `PATH`, the installer will
modify your shell profile. To avoid it: 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 curl -LsSf https://astral.sh/uv/install.sh | env INSTALLER_NO_MODIFY_PATH=1 sh
``` ```
=== "Windows" === "Windows"
``` { .shell .copy } ```shell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
``` ```
=== "Homebrew" === "Homebrew"
``` { .shell .copy } ```shell
brew install uv brew install uv
``` ```
=== "Cargo" === "Cargo"
``` { .shell .copy } ```shell
# This might take a while # This might take a while
cargo install --git https://github.com/astral-sh/uv uv 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: To build the docs, run while inside the `jj` repository:
``` { .shell .copy } ```shell
uv run mkdocs serve uv run mkdocs serve
``` ```