Skip to content

Commit

Permalink
[doc] Fix sklearn doc error, introduce MyST markdown parser (ray-proj…
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpumperla authored Jan 12, 2022
1 parent 54dd2d0 commit 703c161
Show file tree
Hide file tree
Showing 8 changed files with 727 additions and 732 deletions.
8 changes: 4 additions & 4 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To compile the documentation, run the following commands from this directory.
Note that Ray must be installed first.

```
```bash
pip install -r requirements-doc.txt
pip install -U -r requirements-rtd.txt # important for reproducing the deployment environment
make html
Expand All @@ -12,13 +12,13 @@ open _build/html/index.html

To test if there are any build errors with the documentation, do the following.

```
sphinx-build -b html -d _build/doctrees source _build/html
```bash
sphinx-build -W -b html -d _build/doctrees source _build/html
```

To check if there are broken links, run the following (we are currently not running this
in the CI since there are false positives).

```
```bash
make linkcheck
```
1 change: 1 addition & 0 deletions doc/requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ git+https://github.com/ray-project/lightgbm_ray@main#lightgbm_ray
git+https://github.com/ray-project/ray_lightning#ray_lightning
scikit-optimize
sphinx-sitemap==2.2.0
myst-parser
3 changes: 2 additions & 1 deletion doc/requirements-rtd.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pygments==2.3.1
setuptools==41.0.1
docutils==0.15
docutils==0.16
mock==1.0.1
pillow==8.3.2
alabaster>=0.7,<0.8,!=0.7.5
Expand All @@ -10,3 +10,4 @@ sphinx==3.0.4
readthedocs-sphinx-ext<1.1
sphinx-book-theme==0.0.42
sphinx-sitemap==2.2.0
myst-parser
Loading

0 comments on commit 703c161

Please sign in to comment.