Skip to content

Commit 6706183

Browse files
authored
[docs] Restructure the "Clone the Repository" section (llvm#4051)
- splits CLI commands so copy button can be used individually - nests details for step 3 accordingly
1 parent 35dddde commit 6706183

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docs/development.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
## Setting Up Environment
44

5-
### Check out the code
5+
### Clone the Repository
66

7-
```shell
8-
git clone https://github.com/llvm/torch-mlir
9-
cd torch-mlir
10-
git submodule update --init --progress
11-
```
7+
1. ```shell
8+
git clone https://github.com/llvm/torch-mlir && cd torch-mlir
9+
```
10+
11+
1. ```shell
12+
git submodule update --init --progress
13+
```
1214

13-
Optionally, use `--depth=1` to make a shallow clone of the submodules.
14-
While this is running, you can already setup the Python venv and dependencies in the next step.
15+
- Optionally, use `--depth=1` to make a shallow clone of the submodules.
16+
- While this is running, you can already setup the Python venv and dependencies in the next step.
1517

1618
### Setup your Python VirtualEnvironment and Dependencies
1719

0 commit comments

Comments
 (0)