Skip to content

Commit 3c32143

Browse files
committed
Update README.md
1 parent 5cea969 commit 3c32143

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,18 @@ To build the documentation locally:
3939

4040
1. Clone the ExecuTorch repo to your machine.
4141

42-
1. If you don't have it already, start a conda environment:
42+
```bash
43+
git clone -b release/0.6 https://github.com/pytorch/executorch.git --depth 1 --recurse-submodules --shallow-submodules && cd executorch
44+
```
4345

44-
```{note}
45-
The below command generates a completely new environment and resets
46-
any existing dependencies. If you have an environment already, skip
47-
the `conda create` command.
46+
1. If you don't have it already, start either a Python virtual envitonment:
47+
48+
```bash
49+
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
4850
```
4951

52+
Or a Conda environment:
53+
5054
```bash
5155
conda create -yn executorch python=3.10.0
5256
conda activate executorch
@@ -57,15 +61,11 @@ To build the documentation locally:
5761
```bash
5862
pip3 install -r ./.ci/docker/requirements-ci.txt
5963
```
60-
1. Update submodules
6164

62-
```bash
63-
git submodule sync && git submodule update --init
64-
```
6565
1. Run:
6666

6767
```bash
68-
bash install_executorch.sh
68+
./install_executorch.sh
6969
```
7070

7171
1. Go to the `docs/` directory.

0 commit comments

Comments
 (0)