diff --git a/.readthedocs.yml b/.readthedocs.yml index 1893a4fd..532d32fc 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,2 +1,8 @@ +version: 2 + python: - pip_install: true + install: + - method: pip + path: . + extra_requirements: + - docs diff --git a/setup.py b/setup.py index e20d14c2..0615d25a 100755 --- a/setup.py +++ b/setup.py @@ -46,6 +46,10 @@ setup(name='jedi', 'flake8==3.8.3', 'mypy==0.782', ], + 'docs': [ + 'sphinx<2', + 'docutils<0.18', + ], }, package_data={'jedi': ['*.pyi', 'third_party/typeshed/LICENSE', 'third_party/typeshed/README']},