From 0e8a3b40ed932a5986e0428bfb48d675c2db142e Mon Sep 17 00:00:00 2001 From: Arijit De Date: Sun, 14 May 2023 18:25:26 +0530 Subject: [PATCH 1/2] Publish PDF version of RTD documentation #125 Made changes in the .readthedocs.yaml to enable format for downloading pdf and epub versions of the documentation Signed-off-by: Arijit De --- .readthedocs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index 1b71cd9..2a7dc0b 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,6 +5,11 @@ # Required version: 2 +# Build PDF & ePub +formats: + - epub + - pdf + # Where the Sphinx conf.py file is located sphinx: configuration: docs/source/conf.py From 329f0afdb8162b26e33de6d33dd3963eccd41915 Mon Sep 17 00:00:00 2001 From: Arijit De Date: Mon, 15 May 2023 21:47:05 +0530 Subject: [PATCH 2/2] Added setting to remove blank page in PDF Added latex_elements in the conf.py file Signed-off-by: Arijit De --- docs/source/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 55c42a8..3ae6d68 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -97,3 +97,9 @@ .. role:: img-title-para """ + +# -- Options for LaTeX output ------------------------------------------------- + +latex_elements = { + 'classoptions': ',openany,oneside' +}