diff --git a/docs/conf.py b/docs/conf.py index e6b3cd6..18ae49c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,7 +33,8 @@ copyright = '2023-2024, Space Telescope Science Institute' author = 'Joseph Hunkeler' -html_extra_path = ["html"] +htmldir = os.path.join(os.environ.get("READTHEDOCS_OUTPUT", ""), "html") +html_extra_path = [htmldir] # -- General configuration ---------------------------------------------------