LightGBM/docs
Nikita Titov 02ca158fe0
[python] migrate to pathlib in conf.py (#4427)
2021-07-03 00:24:00 +03:00
..
_static [docs] make building of C++ tests section collapsable (#4340) 2021-06-04 21:44:43 +03:00
logo [R-package] Add R logo (fixes #3331, #3332) (#3336) 2020-08-29 23:09:26 -05:00
.linkcheckerrc [ci] move link checking to a cron job (#3890) 2021-02-02 23:31:00 +03:00
Advanced-Topics.rst Correct spelling (#4250) 2021-05-04 10:10:55 -05:00
C-API.rst [ci][docs] generate docs for C API (#2059) 2019-05-05 14:54:37 +03:00
Development-Guide.rst [docs] document sanitizers (#4365) 2021-06-14 22:15:38 +03:00
Experiments.rst Correct spelling (#4250) 2021-05-04 10:10:55 -05:00
FAQ.rst [docs] add Yu Shi to repo maintainers (#4060) 2021-03-10 20:30:11 -06:00
Features.rst Correct spelling (#4250) 2021-05-04 10:10:55 -05:00
GPU-Performance.rst [docs] Add alt text on images (related to #4036) (#4038) 2021-03-25 03:13:28 +03:00
GPU-Targets.rst clarify DEBUG-level log about tree depth (#4126) 2021-04-05 08:28:01 -05:00
GPU-Tutorial.rst [docs] improve wordings and code style (#3887) 2021-02-01 02:28:01 +03:00
GPU-Windows.rst [docs] Add alt text on images (related to #4036) (#4038) 2021-03-25 03:13:28 +03:00
Installation-Guide.rst [docs] document sanitizers (#4365) 2021-06-14 22:15:38 +03:00
Key-Events.md [docs] updated Microsoft GitHub URL (#2152) 2019-05-08 13:51:28 +08:00
Makefile [docs] fixed building at Python 2.x (#997) 2017-10-30 11:44:08 +08:00
Parallel-Learning-Guide.rst [docs] update link to LightGBM example in MMLSpark repo (#4401) 2021-06-24 22:16:43 +03:00
Parameters-Tuning.rst [docs] Add alt text to image in Parameters-Tuning.rst (#4035) 2021-03-02 13:43:01 -06:00
Parameters.rst fix param aliases (#4387) 2021-06-26 15:07:37 +03:00
Python-API.rst [python-package] Create Dataset from multiple data files (#4089) 2021-07-02 15:17:17 +03:00
Python-Intro.rst [python-package] Create Dataset from multiple data files (#4089) 2021-07-02 15:17:17 +03:00
Quick-Start.rst [docs] Change some 'parallel learning' references to 'distributed learning' (#4000) 2021-02-19 09:47:30 -06:00
README.rst [ci][docs] update Doxygen link in docs (#3324) 2020-08-19 19:54:08 +03:00
conf.py [python] migrate to pathlib in conf.py (#4427) 2021-07-03 00:24:00 +03:00
gcc-Tips.rst [docs] fix markdown in docs (#4191) 2021-04-18 02:11:12 +03:00
index.rst Update index.rst (#4029) 2021-03-10 09:32:46 -06:00
make.bat [ci][docs] fix broken links (#3176) 2020-06-22 11:36:15 -05:00
requirements.txt [ci][docs] Unpin Breathe version in requirements.txt (#4222) 2021-04-25 23:25:21 +03:00
requirements_base.txt [ci][docs] Unpin Sphinx version (#4277) 2021-05-12 00:27:03 +03:00

README.rst

Documentation
=============

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

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

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

Build
-----

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

.. code:: sh

    pip install -r requirements.txt
    make html

Unfortunately, documentation for R code is built only on our site, and commands above will not build it for you locally.
Consider using common R utilities for documentation generation, if you need it.

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:

.. code:: sh

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