mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-09 20:37:46 +00:00
Add readthedocs config with docs requirements (#1391)
This commit is contained in:
12
.readthedocs.yaml
Normal file
12
.readthedocs.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
version: 2
|
||||||
|
|
||||||
|
sphinx:
|
||||||
|
configuration: docs/conf.py
|
||||||
|
|
||||||
|
python:
|
||||||
|
version: 3.7
|
||||||
|
install:
|
||||||
|
- method: pip
|
||||||
|
path: .
|
||||||
|
extra_requirements:
|
||||||
|
- docs
|
||||||
7
setup.py
7
setup.py
@@ -49,6 +49,10 @@ tests_require.extend(aiohttp_require)
|
|||||||
tests_require.append('pytest-aiohttp')
|
tests_require.append('pytest-aiohttp')
|
||||||
tests_require.append('aiohttp-remotes')
|
tests_require.append('aiohttp-remotes')
|
||||||
|
|
||||||
|
docs_require = [
|
||||||
|
'sphinx-autoapi==1.8.1'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class PyTest(TestCommand):
|
class PyTest(TestCommand):
|
||||||
|
|
||||||
@@ -98,7 +102,8 @@ setup(
|
|||||||
'tests': tests_require,
|
'tests': tests_require,
|
||||||
'flask': flask_require,
|
'flask': flask_require,
|
||||||
'swagger-ui': swagger_ui_require,
|
'swagger-ui': swagger_ui_require,
|
||||||
'aiohttp': aiohttp_require
|
'aiohttp': aiohttp_require,
|
||||||
|
'docs': docs_require
|
||||||
},
|
},
|
||||||
cmdclass={'test': PyTest},
|
cmdclass={'test': PyTest},
|
||||||
test_suite='tests',
|
test_suite='tests',
|
||||||
|
|||||||
Reference in New Issue
Block a user