[doc] Use RTD theme. (#7346)

This commit is contained in:
Jiaming Yuan
2021-10-20 14:49:19 +08:00
committed by GitHub
parent 376b448015
commit 3b0b74fa94
7 changed files with 34 additions and 38 deletions

View File

@@ -522,14 +522,7 @@ XGBoost uses `Sphinx <https://www.sphinx-doc.org/en/stable/>`_ for documentation
* Python dependencies
- sphinx
- breathe
- guzzle_sphinx_theme
- recommonmark
- mock
- sh
- graphviz
- matplotlib
Checkout the ``requirements.txt`` file under ``doc/``
Under ``xgboost/doc`` directory, run ``make <format>`` with ``<format>`` replaced by the format you want. For a list of supported formats, run ``make help`` under the same directory.