From 5911c460a3a4d11dc42ea57e31caa66491f52819 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 4 Mar 2024 13:37:58 -0500 Subject: RTD config --- docs/conf.py | 8 ++++++-- docs/environment.yaml | 8 ++++++++ docs/environment.yml | 8 -------- docs/index.rst | 0 docs/nop.rst | 0 5 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 docs/environment.yaml delete mode 100644 docs/environment.yml delete mode 100644 docs/index.rst create mode 100644 docs/nop.rst (limited to 'docs') 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.yaml b/docs/environment.yaml new file mode 100644 index 0000000..fed35ba --- /dev/null +++ b/docs/environment.yaml @@ -0,0 +1,8 @@ +name: RTD +channels: + - conda-forge + - defaults +dependencies: + - python=3.11 + - doxygen + - graphviz diff --git a/docs/environment.yml b/docs/environment.yml deleted file mode 100644 index fed35ba..0000000 --- a/docs/environment.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: RTD -channels: - - conda-forge - - defaults -dependencies: - - python=3.11 - - doxygen - - graphviz diff --git a/docs/index.rst b/docs/index.rst deleted file mode 100644 index e69de29..0000000 diff --git a/docs/nop.rst b/docs/nop.rst new file mode 100644 index 0000000..e69de29 -- cgit