LightGBM/docs
Lewington-pitsos 2ee77ba07c
[docs] Improve some phrasing in the installation guide (#3214)
* Improve some phrasing

* implement requested changes
2020-07-08 21:48:47 +03:00
..
_static [docs] added download artifacts badge (#1883) 2018-12-08 12:38:14 +08:00
.linkcheckerrc [ci][docs] fix broken links (#3176) 2020-06-22 11:36:15 -05: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] update latest benchmark results (#2887) 2020-03-08 23:59:20 +08:00
FAQ.rst [docs] update link to GitHub anchor conventions (#3085) 2020-05-14 10:22:06 -05:00
Features.rst [ci][docs] fixed broken link (#2956) 2020-03-29 20:27:48 -05:00
GPU-Performance.rst [docs] removed mentions of sparse_threshold (#2758) 2020-02-13 14:41:22 +03:00
GPU-Targets.rst [docs] update ROCm link in docs (#3050) 2020-05-05 16:07:04 -05:00
GPU-Tutorial.rst [python] Re-enable scikit-learn 0.22+ support (#2949) 2020-04-10 12:53:21 +09:00
GPU-Windows.rst [ci][docs] fix broken links (#3176) 2020-06-22 11:36:15 -05:00
Installation-Guide.rst [docs] Improve some phrasing in the installation guide (#3214) 2020-07-08 21:48: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 [docs] added link to kubeflow fairing and enhanced parallel guide (#2602) 2019-12-02 21:24:24 +03:00
Parameters-Tuning.rst Path smoothing (#2950) 2020-05-03 13:53:15 +08:00
Parameters.rst [R-package] Interface for interaction constraints (#3136) 2020-07-02 13:45:44 -05:00
Python-API.rst [python] Re-enable scikit-learn 0.22+ support (#2949) 2020-04-10 12:53:21 +09:00
Python-Intro.rst [python] Re-enable scikit-learn 0.22+ support (#2949) 2020-04-10 12:53:21 +09: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] fix broken links (#3176) 2020-06-22 11:36:15 -05:00
conf.py [R-package] [docs] replace build_r_site.R with pkgdown::build_site() (#3098) 2020-05-17 12:55:09 -05: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 [docs] refer to RTD site directly (#2415) 2019-09-24 18:38:20 -05: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 [docs][scikit-learn] removed duplicated docstrings (#3164) 2020-06-23 00:06:46 +03:00
requirements_rtd.txt [docs][scikit-learn] removed duplicated docstrings (#3164) 2020-06-23 00:06:46 +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 <http://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