From cd4fcc0cb6ce75a8eb5c08af60296d9abc67f1ed Mon Sep 17 00:00:00 2001 From: "Ellen M. Price" Date: Sun, 31 Mar 2024 21:26:02 -0500 Subject: [PATCH] Fixing Sphinx config --- doc/conf.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 3d151dc..22c86c8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -4,9 +4,6 @@ import textwrap import furiosa -import sys -sys.path.append('../build/src/module') - # -- Project information ----------------------------------------------------- project = 'pocky' @@ -24,7 +21,7 @@ extensions = ['furiosa', 'breathe', 'exhale', 'sphinx.ext.todo', 'sphinx.ext.autodoc', 'sphinx.ext.napoleon'] -root_dir = os.environ['ROOT_DIR'] +root_dir = os.environ['GITHUB_WORKSPACE'] breathe_projects = { 'pocky' : './doxygen/xml' } breathe_default_project = 'pocky' @@ -38,7 +35,7 @@ OUTPUT_LANGUAGE = English EXTENSION_MAPPING = h=C cl=C EXCLUDE_PATTERNS += *.txt *.c *.py -INPUT = {root_dir}/src +INPUT = {root_dir}/src/ext RECURSIVE = YES QUIET = YES PREDEFINED += DOXYGEN_SHOULD_SKIP_THIS