Skip to content

Commit 1d379b4

Browse files
authored
Further fixes to doc generation (#503)
1 parent 52893f0 commit 1d379b4

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.readthedocs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,11 @@ build:
99
tools:
1010
python: "3.7"
1111

12+
python:
13+
install:
14+
- requirements: requirements.txt
15+
- method: setuptools
16+
path: .
17+
1218
sphinx:
1319
configuration: docs/conf.py

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
extensions = [
3939
'sphinx.ext.autodoc',
4040
'sphinx.ext.mathjax',
41+
'sphinx_rtd_theme',
4142
]
4243

4344
# Add any paths that contain templates here, relative to this directory.
@@ -108,7 +109,7 @@
108109

109110
# The theme to use for HTML and HTML Help pages. See the documentation for
110111
# a list of builtin themes.
111-
html_theme = 'default'
112+
html_theme = 'sphinx_rtd_theme'
112113

113114
# Theme options are theme-specific and customize the look and feel of a theme
114115
# further. For a list of options available for each theme, see the

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Dropbox for Python Documentation
77
tutorial
88

99
.. toctree::
10-
:maxdepth: 2
10+
:maxdepth: 1
1111

1212
api/async
1313
api/auth

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ ply
88
pytest
99
pytest-runner==5.2.0
1010
sphinx
11+
sphinx_rtd_theme
1112
twine
1213
wheel

0 commit comments

Comments
 (0)