From fcf0f4351a176adaa69b598ec98ef884922ffb13 Mon Sep 17 00:00:00 2001 From: tqchen Date: Mon, 27 Jul 2015 17:47:28 -0700 Subject: [PATCH] try rst --- doc/README.md | 24 ++++++++++++++++++++++++ doc/cpp_api.md | 9 +++++++++ doc/python_api.md | 11 +++++++++++ 3 files changed, 44 insertions(+) create mode 100644 doc/README.md create mode 100644 doc/cpp_api.md create mode 100644 doc/python_api.md diff --git a/doc/README.md b/doc/README.md new file mode 100644 index 000000000..492f1e1eb --- /dev/null +++ b/doc/README.md @@ -0,0 +1,24 @@ +Rabit Documentation +===================== +rabit is a light weight library that provides a fault tolerant interface of Allreduce and Broadcast. It is designed to support easy implementations of distributed machine learning programs, many of which fall naturally under the Allreduce abstraction. The goal of rabit is to support **portable** , **scalable** and **reliable** distributed machine learning programs. + +API Documents +============= +```eval_rst + +.. toctree:: + :maxdepth: 2 + + python_api.md + cpp_api.md + parameters.md + guide.md +``` +Indices and tables +================== + +```eval_rst +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` +``` \ No newline at end of file diff --git a/doc/cpp_api.md b/doc/cpp_api.md new file mode 100644 index 000000000..c6184aa08 --- /dev/null +++ b/doc/cpp_api.md @@ -0,0 +1,9 @@ +C++ Library API of Rabit +======================== +This page contains document of Library API of rabit. + +```eval_rst +.. toctree:: + +.. doxygennamespace:: rabit +``` diff --git a/doc/python_api.md b/doc/python_api.md new file mode 100644 index 000000000..8ab786600 --- /dev/null +++ b/doc/python_api.md @@ -0,0 +1,11 @@ +Python API of Rabit +=================== +This page contains document of python API of rabit. + +```eval_rst +.. toctree:: + +.. automodule:: rabit + :members: + :show-inheritance: +``` \ No newline at end of file