aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/external/metalang99/docs/conf.py
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-02-23 20:36:05 +0100
committerlemon <lsof@mailbox.org>2026-02-23 20:36:05 +0100
commit052144cabb126efe925a96f8a0597a0f2005d206 (patch)
tree4fd87244b9eef018b30e90fdff24c5b1a145a85e /test/external/metalang99/docs/conf.py
parent4e9020dfb847d80475415f9f5914efaa50238767 (diff)
add metalang99 testsuite (preprocessor stress testing)
Diffstat (limited to 'test/external/metalang99/docs/conf.py')
-rw-r--r--test/external/metalang99/docs/conf.py57
1 files changed, 57 insertions, 0 deletions
diff --git a/test/external/metalang99/docs/conf.py b/test/external/metalang99/docs/conf.py
new file mode 100644
index 0000000..daebca3
--- /dev/null
+++ b/test/external/metalang99/docs/conf.py
@@ -0,0 +1,57 @@
+# 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('.'))
+
+# -- Project information -----------------------------------------------------
+
+import subprocess
+
+subprocess.call("cd .. ; doxygen", shell=True)
+
+project = 'Metalang99'
+copyright = '2021, hirrolot'
+author = 'hirrolot'
+
+# The full version, including alpha/beta/rc tags
+release = '1.13.5'
+
+
+# -- General configuration ---------------------------------------------------
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = ["breathe"]
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# 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']
+
+
+# -- Options for HTML output -------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+#
+html_theme = "insipid"
+
+breathe_projects = {"Metalang99": "../xml"}
+breathe_default_project = "Metalang99"
+primary_domain = 'c'
+highlight_language = 'c'