From 3134b63b68138b6034a6d4a271049c012741b5a0 Mon Sep 17 00:00:00 2001 From: Zaid Humaimidi Date: Thu, 21 Mar 2024 12:44:38 -0700 Subject: [PATCH] Add requirements.txt for RTD --- docs/.readthedocs.yaml | 4 ++++ docs/conf.py | 4 ++-- docs/requirements.txt | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 docs/requirements.txt diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml index a6d947a..b872453 100644 --- a/docs/.readthedocs.yaml +++ b/docs/.readthedocs.yaml @@ -12,3 +12,7 @@ sphinx: configuration: docs/conf.py formats: all + +python: + install: + - requirements: docs/requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 88b2d8e..c716fbd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,7 +19,7 @@ import json # -- Project information ----------------------------------------------------- project = 'GenieACS Documentation' -copyright = '2019, GenieACS Inc.' +copyright = '2024, GenieACS Inc.' author = 'GenieACS Inc.' # The full version, including alpha/beta/rc tags @@ -58,7 +58,7 @@ html_theme_options = { # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] master_doc = 'index' diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..4fedba9 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +sphinx_rtd_theme==2.0.0