diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-04 13:26:20 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-04 19:11:28 -0500 |
commit | 9cfb3ccee39c43e9326b26647596ac3b15abc0f7 (patch) | |
tree | eb40b4f0319080c7317c5cb5b255cc7488cead62 /docs/conf.py | |
parent | 07cf6064bb16fa45081ac1bb0d775507af853687 (diff) | |
download | stasis-9cfb3ccee39c43e9326b26647596ac3b15abc0f7.tar.gz |
RTD integration begins
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py new file mode 100644 index 0000000..e6b3cd6 --- /dev/null +++ b/docs/conf.py @@ -0,0 +1,43 @@ +# 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 + +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) + +# Run doxygen +subprocess.run("doxygen", shell=True) + +# -- Project information ----------------------------------------------------- + +project = 'Oh My Cal' +copyright = '2023-2024, Space Telescope Science Institute' +author = 'Joseph Hunkeler' + +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'] |