Modernize XGBoost Python document. (#7468)

* Use sphinx gallery to integrate examples.
* Remove mock objects.
* Add dask doc inventory.
This commit is contained in:
Jiaming Yuan
2021-11-23 23:24:52 +08:00
committed by GitHub
parent 96a9848c9e
commit c024c42dce
30 changed files with 130 additions and 84 deletions

1
doc/python/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
examples

View File

@@ -13,4 +13,4 @@ Contents
python_api
callbacks
model
Python examples <https://github.com/dmlc/xgboost/tree/master/demo/guide-python>
examples/index

View File

@@ -5,7 +5,7 @@ This document gives a basic walkthrough of the xgboost package for Python.
**List of other Helpful Links**
* `Python walkthrough code collections <https://github.com/dmlc/xgboost/blob/master/demo/guide-python>`_
* :doc:`/python/examples/index`
* :doc:`Python API Reference <python_api>`
Install XGBoost