From: Krzysztof Date: Tue, 21 May 2019 11:53:38 +0000 (+0800) Subject: Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD... X-Git-Tag: v3.3-rc~57^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3cbbc3bbacadd6e8aef8776f87cd607974d99d4a;p=esp-idf Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD project configuration file to be able to select python version for specific to esp-idf release. (backport v3.3) --- diff --git a/ .readthedocs.yml b/ .readthedocs.yml new file mode 100644 index 0000000000..6c021be087 --- /dev/null +++ b/ .readthedocs.yml @@ -0,0 +1,17 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Optionally build your docs in additional formats such as PDF and ePub +formats: + - htmlzip + - pdf + +# Optionally set the version of Python and requirements required to build your docs +python: + version: 2.7 + install: + - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt index 6dca554cbc..bb93e21257 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,7 +2,7 @@ # pip install --user -r requirements.txt # sphinx>=1.8.4 -breathe>=4.11.1 +breathe==4.11.1 sphinx-rtd-theme sphinxcontrib-blockdiag>=1.5.5 sphinxcontrib-seqdiag>=0.8.5