Skip to content

Commit 655353f

Browse files
authored
Remove duplicate .readthedocs.yml, fix Sphinx warning (horovod#3367)
Signed-off-by: Enrico Minack <[email protected]>
1 parent 31bba3b commit 655353f

File tree

3 files changed

+25
-42
lines changed

3 files changed

+25
-42
lines changed

.readthedocs.yaml

+24-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,33 @@
1-
# .readthedocs.yaml
2-
# Read the Docs configuration file
1+
# Copyright (c) 2019 Uber Technologies, Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
# ==============================================================================
15+
#
16+
# ReadTheDocs.io build configuration: supply addition pip install options
317
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4-
5-
# Required
18+
#
619
version: 2
720

821
# Build documentation in the docs/ directory with Sphinx
922
sphinx:
10-
configuration: docs/conf.py
23+
configuration: docs/conf.py
24+
fail_on_warning: true
1125

12-
# Optionally build your docs in additional formats such as PDF
26+
# Don't build any extra formats
1327
formats: []
1428

15-
# Optionally set the version of Python and requirements required to build your docs
29+
# Requirements for building docs
1630
python:
17-
version: 3.7
18-
install:
19-
- requirements: docs/requirements.txt
31+
version: 3.7
32+
install:
33+
- requirements: docs/requirements.txt

.readthedocs.yml

-32
This file was deleted.

horovod/ray/elastic.py

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ class ElasticRayExecutor:
179179
settings, use_gpu=True, cpus_per_slot=2)
180180
executor.start()
181181
executor.run(train_fn)
182+
182183
warning:: .. deprecated:: 0.25.0
183184
"""
184185

0 commit comments

Comments
 (0)