blob: e6b3cd63bdf29ca026a11a704991d1be8749580d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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']
|