aboutsummaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2024-03-04 19:25:46 -0500
committerGitHub <noreply@github.com>2024-03-04 19:25:46 -0500
commit56dd143fae8092275f6f90bf74f3a4525f039987 (patch)
tree7271918cd99a987adb8a240cc1ba51dda09b1376 /docs/conf.py
parent07cf6064bb16fa45081ac1bb0d775507af853687 (diff)
parent5911c460a3a4d11dc42ea57e31caa66491f52819 (diff)
downloadstasis-56dd143fae8092275f6f90bf74f3a4525f039987.tar.gz
Merge pull request #3 from spacetelescope/broken-rtd
RTD
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py47
1 files changed, 47 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
new file mode 100644
index 0000000..6610bbd
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,47 @@
+# Configuration file for the Sphinx documentation builder.
+#
+# This file only contains a selection of the most common options. For a full
+# list see the documentation:
+# https://www.sphinx-doc.org/en/master/usage/configuration.html
+
+# -- Path setup --------------------------------------------------------------
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#
+# import os
+# import sys
+# sys.path.insert(0, os.path.abspath('.'))
+import os
+import shutil
+import subprocess
+import sys
+
+print("current directory: {}".format(os.path.abspath(os.curdir)), file=sys.stderr)
+
+if os.path.exists("html"):
+ shutil.rmtree("html")
+
+# Update doxygen config
+#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 ---------------------------------------------------
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+# This pattern also affects html_static_path and html_extra_path.
+exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']