[docs] Fix warnings for sphinx 1.8 (#10476)

* fix-build-for-sphinx18

* jnilit
This commit is contained in:
Richard Liaw
2020-09-01 13:37:35 -07:00
committed by GitHub
parent 283f4d1060
commit 3f98a8bfcb
8 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -161,7 +161,7 @@ def DistributedTrainableCreator(func,
Example:
.. code-block::
.. code-block:: python
trainable_cls = DistributedTrainableCreator(
train_func, num_workers=2)
@@ -211,7 +211,7 @@ def distributed_checkpoint_dir(step, disable=False):
again when invoking the training_function.
Example:
.. code-block::
.. code-block:: python
def train_func(config, checkpoint_dir):
if checkpoint_dir: