From ae7277c1e446971d698c5b818a8f5919851c27ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 6 Jun 2018 10:21:25 +0200 Subject: [PATCH] Add .readthedocs.yml file to disable htmlzip and epub builds Reference: https://docs.readthedocs.io/en/latest/yaml-config.html `htmlzip` target is too heavy and slows down build a lot (or makes it timeout), so disabling for now. We could reenable it if an option is given for a non `singlehtml` target, see https://github.com/rtfd/readthedocs.org/issues/4190. Also disabling `epub` target for now, as it also makes builds slower and we iterate too fast on the master branch for it to be meaningful. We could eventually build ePub versions manually once a month or so and upload those somewhere if there's demand for it. --- .readthedocs.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 00000000..5316233a --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,11 @@ +# Reference: https://docs.readthedocs.io/en/latest/yaml-config.html + +build: + image: latest + +# Possible options: htmlzip, pdf, epub +# Disable (single) htmlzip as it's way too big to be useful, +# and leads to excessive memory usage on build +# Disable epub for now to speed up builds +formats: + - pdf