Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upImprove documentation build and reference #1529
Conversation
Signed-off-by: Enrico Minack <github@enrico.minack.dev>
The original import broke `make html` in my setup: File ".../horovod/common/basics.py", line 19, in <module> import horovod.common.util as util AttributeError: module 'horovod.common' has no attribute 'util' Signed-off-by: Enrico Minack <github@enrico.minack.dev>
Signed-off-by: Enrico Minack <github@enrico.minack.dev>
@@ -35,7 +35,7 @@ Horovod | |||
| | |||
|
|||
Horovod is a distributed training framework for TensorFlow, Keras, PyTorch, and MXNet. The goal of Horovod is to make | |||
distributed Deep Learning fast and easy to use. | |||
distributed Deep Learning fast and easy to use. Full documentation can be found at https://horovod.readthedocs.io/en/latest. |
This comment has been minimized.
This comment has been minimized.
tgaddair
Nov 23, 2019
Collaborator
Instead of putting this here, can we move this below the "Contents" and say something like:
"Full documentation and an API reference can be found here <https://horovod.readthedocs.io/en/latest>
_."
This comment has been minimized.
This comment has been minimized.
sblotner
Nov 23, 2019
Collaborator
I agree with this suggestion. "See the full documentation and an API reference at https://horovod.readthedocs.io/en/latest."
@@ -117,6 +117,13 @@ If you're installing Horovod on a server with GPUs, read the `Horovod on GPU <do | |||
If you want to use Docker, read the `Horovod in Docker <docs/docker.rst>`_ page. | |||
|
|||
|
|||
Compiling |
This comment has been minimized.
This comment has been minimized.
tgaddair
Nov 23, 2019
Collaborator
Let's merge this in the the "Install" section above, and remove references to the read-the-docs page. So just say "To compile Horovod from source, follow the industrutions in the Contributor Guide <docs/contributors.rst>
_.
Then, we can add something similar in https://github.com/horovod/horovod/blob/master/docs/summary.rst, which will then link to the correct GitHub or read-the-docs page depending on where the users is viewing the docs from.
This comment has been minimized.
This comment has been minimized.
I agree with Travis's comments. Added a few editorial suggestions as well |
@@ -35,7 +35,7 @@ Horovod | |||
| | |||
|
|||
Horovod is a distributed training framework for TensorFlow, Keras, PyTorch, and MXNet. The goal of Horovod is to make | |||
distributed Deep Learning fast and easy to use. | |||
distributed Deep Learning fast and easy to use. Full documentation can be found at https://horovod.readthedocs.io/en/latest. |
This comment has been minimized.
This comment has been minimized.
sblotner
Nov 23, 2019
Collaborator
I agree with this suggestion. "See the full documentation and an API reference at https://horovod.readthedocs.io/en/latest."
@@ -117,6 +117,13 @@ If you're installing Horovod on a server with GPUs, read the `Horovod on GPU <do | |||
If you want to use Docker, read the `Horovod in Docker <docs/docker.rst>`_ page. | |||
|
|||
|
|||
Compiling |
This comment has been minimized.
This comment has been minimized.
The Horovod documentation is available at https://horovod.readthedocs.io/. | ||
|
||
Those html pages can be rendered from ``.rst`` files located in the `docs` directory. | ||
You need to setup Sphinx before you compile the documentation the first time: |
This comment has been minimized.
This comment has been minimized.
Documentation | ||
------------- | ||
|
||
The Horovod documentation is available at https://horovod.readthedocs.io/. |
This comment has been minimized.
This comment has been minimized.
|
||
The Horovod documentation is available at https://horovod.readthedocs.io/. | ||
|
||
Those html pages can be rendered from ``.rst`` files located in the `docs` directory. |
This comment has been minimized.
This comment has been minimized.
$ pip install -r requirements.txt | ||
$ make clean | ||
Then you can build the html pages and open ``docs/_build/html/index.html``: |
This comment has been minimized.
This comment has been minimized.
$ make html | ||
$ open _build/html/index.html | ||
Sphinx can render the documentation in many other formats, just type ``make`` to get a list of available formats. |
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Enrico Minack <github@enrico.minack.dev>
This comment has been minimized.
This comment has been minimized.
I have applied all suggestions. Thanks for the feedback! |
This comment has been minimized.
This comment has been minimized.
The Should they be brought back in sync again? Should be done outside this PR though. What do you think? |
Looks great, thanks! |
This comment has been minimized.
This comment has been minimized.
Yes, I agree. They should definitely be brought back in sync in a separate PR. |
Signed-off-by: Enrico Minack <github@enrico.minack.dev>
This comment has been minimized.
This comment has been minimized.
PR #1538 syncs README.rst and docs/summary.rst. |
EnricoMi commentedNov 21, 2019
Compiling