From 2aa0dbe4826617eafd822caaf76d4b6b0d225da3 Mon Sep 17 00:00:00 2001 From: "Cassandra \"ZZ Cat\" Robinson" Date: Fri, 11 Aug 2023 11:11:46 +1200 Subject: [PATCH] build(ReadTheDocs): Set the primary domain in `conf.py` to C++ CRSF for Arduino is written in C++ --- docs/source/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 904decec..89de62c3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -3,7 +3,7 @@ # -- Path setup import os import sys -sys.path.insert(0, os.path.abspath('docs')) +sys.path.insert(0, os.path.abspath('.')) # -- Project information @@ -30,6 +30,8 @@ } intersphinx_disabled_domains = ['std'] +primary_domain = 'cpp' + templates_path = ['_templates'] # -- Options for HTML output