diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-04 13:37:58 -0500 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-04 19:11:30 -0500 | 
| commit | 5911c460a3a4d11dc42ea57e31caa66491f52819 (patch) | |
| tree | 7271918cd99a987adb8a240cc1ba51dda09b1376 | |
| parent | 9cfb3ccee39c43e9326b26647596ac3b15abc0f7 (diff) | |
| download | stasis-5911c460a3a4d11dc42ea57e31caa66491f52819.tar.gz | |
RTD config
| -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 | 
