From 54af6fa86d9b4d7f9709fdeaf6dca2ea0b05a811 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 17 Nov 2021 13:33:41 +0100 Subject: [PATCH] Try to fix docs dependencies Docs were not building on read the docs, see also: https://github.com/sphinx-doc/sphinx/issues/9788 --- .readthedocs.yml | 8 +++++++- setup.py | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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']},