Skip to content

Commit d18f45b

Browse files
JeroenDelcourJeroen Delcour
andauthored
Update docs README on how to build docs (#13465)
update docs README on how to build docs Co-authored-by: Jeroen Delcour <[email protected]>
1 parent 258b58e commit d18f45b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ Run these commands
4343

4444
```bash
4545
git submodule update --init --recursive
46-
pip install -e . -r requirements/pytorch/docs.txt
4746
make docs
4847
```
4948

@@ -52,11 +51,12 @@ and open `docs/build/html/index.html` in your browser.
5251
When you send a PR the continuous integration will run tests and build the docs. You can access a preview of the html pages in the
5352
_Artifacts_ tab in CircleCI when you click on the task named _build-Docs_ of _ci-tests_ at the bottom of the PR page.
5453

55-
Notes (Optional):
54+
Notes:
5655

57-
- You need to have LaTeX installed for rendering math equations. You can for example install TeXLive by doing one of the following:
58-
- on Ubuntu (Linux) run `apt-get install texlive` or otherwise follow the instructions on the TeXLive website
56+
- You need to have LaTeX installed for rendering math equations. You can for example install TeXLive with the necessary extras by doing one of the following:
57+
- on Ubuntu (Linux) run `sudo apt-get update && sudo apt-get install -y texlive-latex-extra dvipng texlive-pictures`
5958
- use the [RTD docker image](https://hub.docker.com/r/readthedocs/build)
59+
- You need to have pandoc installed for rendering Jupyter Notebooks. On Ubuntu (Linux), you can run: `sudo apt-get install pandoc`
6060

6161
## Developing docs
6262

0 commit comments

Comments
 (0)