From db6558fbf109619e832ce0044805a03c3b50eb88 Mon Sep 17 00:00:00 2001 From: Juergen Repp Date: Thu, 5 Dec 2024 11:48:12 +0100 Subject: [PATCH] readthedocs: add requirement file. * Not all needed python packages to generate the index.html file were installed. Addresses: #2917 * index.rst is added. Signed-off-by: Juergen Repp --- .readthedocs.yml | 5 ++++- sphinx/index.rst | 2 ++ sphinx/requirements.txt | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 sphinx/index.rst create mode 100644 sphinx/requirements.txt diff --git a/.readthedocs.yml b/.readthedocs.yml index 17ee24133..4f2df5724 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,4 +8,7 @@ build: python: "3" sphinx: builder: html - configuration: sphinx/conf.py \ No newline at end of file + configuration: sphinx/conf.py +python: + install: + - requirements: sphinx/requirements.txt diff --git a/sphinx/index.rst b/sphinx/index.rst new file mode 100644 index 000000000..d7baa7be3 --- /dev/null +++ b/sphinx/index.rst @@ -0,0 +1,2 @@ +.. toctree:: + :maxdepth: 2 \ No newline at end of file diff --git a/sphinx/requirements.txt b/sphinx/requirements.txt new file mode 100644 index 000000000..28c2bdaab --- /dev/null +++ b/sphinx/requirements.txt @@ -0,0 +1,4 @@ +# needed for readthedocs builds: +GitPython +myst_parser +sphinx_rtd_theme