From b921601559a6b5d8add868940eb2e5fa26964a83 Mon Sep 17 00:00:00 2001 From: Dan Vonk <daniel.vonk@tum.de> Date: Thu, 4 Apr 2024 14:48:50 +0200 Subject: [PATCH] Add conf.py for sphinx --- docs/sphinx/conf.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/sphinx/conf.py diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py new file mode 100644 index 0000000..d5cc10a --- /dev/null +++ b/docs/sphinx/conf.py @@ -0,0 +1,32 @@ +""" +Configuration file for the Sphinx documentation builder. + +For the full list of built-in configuration values, see the documentation: +https://www.sphinx-doc.org/en/master/usage/configuration.html +""" + +import os +import datetime + +currentDateTime = datetime.datetime.now() +date = currentDateTime.date() + +# -- Project information ----------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information + +project = 'Sassena' +version = os.environ.get('CMAKE_PROJECT_VERSION') or '' +author = 'ABCD' +project_copyright = '{}, Sassena Authors'.format(date.year) + +# -- General configuration --------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration + +extensions = ['sphinx_rtd_theme'] + +root_doc = 'index' +# exclude_patterns = ['sphinx', 'doxybook'] +suppress_warnings = ['misc.highlighting_failure'] + +html_theme = 'sphinx_rtd_theme' + -- GitLab