README.rst 1.1 KB
Newer Older
1
2
3
Documentation
=============

4
5
Documentation for LightGBM is generated using `Sphinx <http://www.sphinx-doc.org/>`__
and `Breathe <https://breathe.readthedocs.io/>`__, which works on top of `Doxygen <http://www.doxygen.nl/index.html>`__ output.
6

7
List of parameters and their descriptions in `Parameters.rst <./Parameters.rst>`__
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/helpers/parameter_generator.py>`__.
10

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

Build
-----

16
You can build the documentation locally. Just install Doxygen and run in ``docs`` folder
17
18
19

.. code:: sh

20
    pip install -r requirements.txt
21
    make html
22

23
24
If you faced any problems with Doxygen installation or you simply do not need documentation for C code,
it is possible to build the documentation without it:
25
26
27

.. code:: sh

28
29
    pip install -r requirements_base.txt
    export C_API=NO || set C_API=NO
30
    make html