LightGBM/docs
Nikita Titov 54facc4d72
[python] rename `print_evaluation()` into `log_evaluation()` (#4604)
* Update __init__.py

* Update Python-API.rst

* Update engine.py

* Update test_utilities.py

* Update sklearn.py

* Update callback.py

* Update callback.py

* Update callback.py
2021-09-16 01:26:02 +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 José Morales to repo maintainers (#4563) 2021-08-28 12:58:03 -05: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] Add notes in installation guide, including ones about OpenMP (#4520) 2021-08-17 21:16:27 +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] add lightgbm_ray to docs (#4584) 2021-09-09 19:10:03 +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 [docs] document CLI behavior when label_column is omitted (#4485) 2021-07-24 23:05:48 -05:00
Python-API.rst [python] rename `print_evaluation()` into `log_evaluation()` (#4604) 2021-09-16 01:26:02 +03:00
Python-Intro.rst [docs] Clarify the fact that predict() on a file does not support saved Datasets (fixes #4034) (#4545) 2021-08-24 21:33:13 -05: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] add type hints in docs/conf.py (#4526) 2021-08-18 20:31:59 -05: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