Skip to content

Commit 03a537d

Browse files
Merge pull request #882 from adamtheturtle/automod
Automod
2 parents bfb6dd4 + 0d48722 commit 03a537d

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pytest-cov==2.6.0 # Measure code coverage
2020
pytest==3.8.2 # Test runners
2121
PyYAML==3.13
2222
Sphinx==1.8.1
23+
sphinx-autodoc-typehints==1.3.0
2324
sphinxcontrib-spelling==4.2.0
2425
twine==1.12.1
2526
versioneer==0.18

docs/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
'sphinx.ext.autodoc',
1818
'sphinx.ext.intersphinx',
1919
'sphinx.ext.napoleon',
20+
'sphinx_autodoc_typehints',
2021
'sphinxcontrib.spelling',
2122
]
2223

@@ -57,7 +58,6 @@
5758
autoclass_content = 'init'
5859
intersphinx_mapping = {
5960
'python': ('https://docs.python.org/3.7', None),
60-
'docker': ('http://docker-py.readthedocs.io/en/stable', None),
6161
}
6262
nitpicky = True
6363
warning_is_error = True
@@ -68,6 +68,9 @@
6868
('py:class', 'typing.Optional'),
6969
('py:class', '_io.BytesIO'),
7070
('py:class', 'docker.types.services.Mount'),
71+
# Requests documentation exposes ``requests.Response``, not
72+
# ``requests.models.response``.
73+
('py:class', 'requests.models.Response'),
7174
]
7275

7376
html_show_copyright = False

docs/source/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Installation
1111
This is tested on Python 3.7+.
1212
Get in touch with ``adamdangoor@gmail.com`` if you would like to use this with another language.
1313

14+
Reference
15+
---------
16+
17+
.. automodule:: vws
18+
:members:
19+
1420
.. toctree::
1521
:maxdepth: 3
1622

0 commit comments

Comments
 (0)