From 06c7433f808cc635178d59bcb4f2449234280ab7 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 1 Nov 2021 01:03:19 +0300 Subject: [PATCH] Fix ReadTheDocs (#11419) Resolves #11412 --- .readthedocs.yml | 12 ++++++++++++ docs/requirements-docs.txt | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 000000000000..1154ca2daf5d --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,12 @@ +version: 2 + +python: + version: 3.7 + install: + - requirements: docs/requirements-docs.txt + +sphinx: + configuration: docs/source/conf.py + fail_on_warning: true + +formats: all diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index d20641e7edf5..7e3d31ebea98 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,2 +1,2 @@ -Sphinx >= 1.4.4 -sphinx-rtd-theme >= 0.1.9 +sphinx>=4.2.0,<5.0.0 +sphinx-rtd-theme>=1.0.0,<2.0.0