LightGBM/docs
Gaurav Chopra c10b0430b8
[docs] fix typo: one-hot coding should be one-hot encoding (#3898)
* Update Python-Intro.rst

* Update docs/Python-Intro.rst

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-02-08 01:16:18 +03:00
..
_static [docs] document CUDA version support (#3428) 2021-01-31 17:08:06 +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 [ci][docs] fixed broken link (#2956) 2020-03-29 20:27:48 -05:00
C-API.rst [ci][docs] generate docs for C API (#2059) 2019-05-05 14:54:37 +03:00
Development-Guide.rst Better documentation for Contributing (#2781) 2020-02-22 10:56:14 +08:00
Experiments.rst [docs] Fix repetition of `tree_method` hyper-parameter in xgboost_hist experiment (#3296) 2020-08-10 23:28:28 +03:00
FAQ.rst [dask][docs] initial setup for Dask docs (#3822) 2021-01-24 20:58:52 -06:00
Features.rst [docs] update documentation with AUC-mu, average precision (#3627) 2020-12-04 11:30:32 -06:00
GPU-Performance.rst [docs] removed mentions of sparse_threshold (#2758) 2020-02-13 14:41:22 +03:00
GPU-Targets.rst [docs][ci] added docs about GPU support out of the box for Windows wheels and small refactoring for dual test (#3660) 2020-12-22 14:20:01 +03:00
GPU-Tutorial.rst [docs] improve wordings and code style (#3887) 2021-02-01 02:28:01 +03:00
GPU-Windows.rst [docs][ci] added docs about GPU support out of the box for Windows wheels and small refactoring for dual test (#3660) 2020-12-22 14:20:01 +03:00
Installation-Guide.rst [CUDA] added support for Clang (#3886) 2021-02-01 14:57:47 +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 [dask][docs] initial setup for Dask docs (#3822) 2021-01-24 20:58:52 -06:00
Parameters-Tuning.rst [docs] Add details on improving training speed (#3628) 2020-12-11 22:16:16 +03:00
Parameters.rst Add new task type: "save_binary" (#3651) 2021-02-03 16:58:11 +03:00
Python-API.rst [dask][docs] initial setup for Dask docs (#3822) 2021-01-24 20:58:52 -06:00
Python-Intro.rst [docs] fix typo: one-hot coding should be one-hot encoding (#3898) 2021-02-08 01:16:18 +03:00
Quick-Start.rst [docs] clarified support of LibSVM zero-based format files (#2504) 2019-10-14 13:41:17 +03:00
README.rst [ci][docs] update Doxygen link in docs (#3324) 2020-08-19 19:54:08 +03:00
conf.py [dask] Add type hints in Dask package (#3866) 2021-01-29 11:59:21 -06:00
gcc-Tips.rst [ci][docs] updated temp fix for warning written to stderr, fixed conda permissions and updated bench link (#1849) 2018-11-21 19:59:55 +03:00
index.rst [doc] added logo to docs (#3327) 2020-08-23 17:03:57 +08:00
make.bat [ci][docs] fix broken links (#3176) 2020-06-22 11:36:15 -05:00
requirements.txt be compatible with Sphinx 3 (#3013) 2020-04-22 13:47:52 -05:00
requirements_base.txt bump min sphinx_rtd_theme version (#3803) 2021-01-20 20:33:44 -06: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