From 868dde22232389126b5342093137dbe0ab0db2a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20W=C3=A4lchli?= Date: Fri, 22 May 2020 02:30:40 +0200 Subject: [PATCH] Raise RTD doc build warnings as errors (#1823) * suppress epub warn * fail on warn * suppress epub warn * fail on warn * disable epub * typo * remove obsolete suppress --- .readthedocs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 525e3e3dff..93e2feca15 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,15 +9,16 @@ version: 2 # reference: https://docs.readthedocs.io/en/stable/config-file/v2.html#sphinx sphinx: configuration: docs/source/conf.py - # TODO: set it true and debug failing - fail_on_warning: false + fail_on_warning: true # Build documentation with MkDocs #mkdocs: # configuration: mkdocs.yml # Optionally build your docs in additional formats such as PDF and ePub -formats: all +formats: + - htmlzip + - pdf # Optionally set the version of Python and requirements required to build your docs python: