From f2095f1d5bb23bdac46eb14492e5b5f31622613a Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Sun, 4 Feb 2024 00:23:35 -0800 Subject: [PATCH] [Doc] Fix formatting for R package doc (#10030) --- doc/R-package/index.rst | 1 + doc/requirements.txt | 2 ++ doc/xgboost_doc.yml | 10 +++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/R-package/index.rst b/doc/R-package/index.rst index 8a27d0174..bf9c1f8d9 100644 --- a/doc/R-package/index.rst +++ b/doc/R-package/index.rst @@ -34,4 +34,5 @@ Other topics .. toctree:: :maxdepth: 2 :titlesonly: + Handling of indexable elements diff --git a/doc/requirements.txt b/doc/requirements.txt index 667ef268f..ddff9be92 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -7,7 +7,9 @@ sh matplotlib graphviz numpy +scipy myst-parser +ray[train] xgboost_ray sphinx-gallery pyspark diff --git a/doc/xgboost_doc.yml b/doc/xgboost_doc.yml index 90b877e73..177e8758f 100644 --- a/doc/xgboost_doc.yml +++ b/doc/xgboost_doc.yml @@ -1,15 +1,23 @@ name: xgboost_docs dependencies: - - python + - python=3.10 - pip - pygraphviz - sphinx + - sphinx-gallery - recommonmark - mock - sh - matplotlib + - numpy + - scipy + - scikit-learn + - myst-parser + - pyspark - pip: - breathe - sphinx_rtd_theme - pydot-ng - graphviz + - ray[train] + - xgboost_ray