diff options
-rw-r--r-- | .readthedocs.yml | 11 | ||||
-rw-r--r-- | docs/conf.py | 8 | ||||
-rw-r--r-- | docs/environment.yaml (renamed from docs/environment.yml) | 0 | ||||
-rw-r--r-- | docs/nop.rst (renamed from docs/index.rst) | 0 |
4 files changed, 16 insertions, 3 deletions
diff --git a/.readthedocs.yml b/.readthedocs.yml index 01c5cfa..aea6697 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,4 +1,13 @@ version: 2 +build: + os: ubuntu-22.04 + tools: + python: mambaforge-4.10 + conda: - environment: docs/environment.yml + environment: docs/environment.yaml + +sphinx: + configuration: docs/conf.py + diff --git a/docs/conf.py b/docs/conf.py index e6b3cd6..6610bbd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,23 +16,27 @@ import os import shutil import subprocess +import sys + +print("current directory: {}".format(os.path.abspath(os.curdir)), file=sys.stderr) -print("current directory: {}".format(os.path.abspath(os.curdir))) if os.path.exists("html"): shutil.rmtree("html") # Update doxygen config -subprocess.run("doxygen -u", shell=True) +#subprocess.run("doxygen -u", shell=True) # Run doxygen subprocess.run("doxygen", shell=True) + # -- Project information ----------------------------------------------------- project = 'Oh My Cal' copyright = '2023-2024, Space Telescope Science Institute' author = 'Joseph Hunkeler' +root_doc = "nop" html_extra_path = ["html"] # -- General configuration --------------------------------------------------- diff --git a/docs/environment.yml b/docs/environment.yaml index fed35ba..fed35ba 100644 --- a/docs/environment.yml +++ b/docs/environment.yaml diff --git a/docs/index.rst b/docs/nop.rst index e69de29..e69de29 100644 --- a/docs/index.rst +++ b/docs/nop.rst |