README.rst 846 Bytes
Newer Older
1
2
3
4
5
Documentation
=============

Documentation for LightGBM is generated using `Sphinx <http://www.sphinx-doc.org/>`__.

6
List of parameters and their descriptions in `Parameters.rst <./Parameters.rst>`__
7
8
9
is generated automatically from comments in `config file <https://github.com/Microsoft/LightGBM/blob/master/include/LightGBM/config.h>`__
by `this script <https://github.com/Microsoft/LightGBM/blob/master/helper/parameter_generator.py>`__.

10
11
12
13
14
After each commit on ``master``, documentation is updated and published to `Read the Docs <https://lightgbm.readthedocs.io/>`__.

Build
-----

15
16
17
You can build the documentation locally. Just run in ``docs`` folder

for Python 3.x:
18
19
20

.. code:: sh

21
    pip install sphinx "sphinx_rtd_theme>=0.3"
22
    make html
23
24
25
26
27
28

 
for Python 2.x:

.. code:: sh

29
    pip install mock sphinx "sphinx_rtd_theme>=0.3"
30
    make html