From 54ed3c11d1d980aeeaa33a882b6487ed60125afe Mon Sep 17 00:00:00 2001 From: Marco Heinemann Date: Tue, 5 May 2026 16:40:43 +0200 Subject: [PATCH] Migrate codelinks config into ubproject.toml Consolidate the source-tracing config into the single ubproject.toml so ubCode and sphinx-codelinks read from the same place, and add the ubproject.redirect.toml in src/ introduced in ubCode 0.29.0b1 so the language server can resolve the project config when editing source files outside the docs folder. Drop the parse.ignore_directives suppression for src-trace and the 'ubCode is not aware' limitation note now that codelinks support has landed in ubCode. --- docs/conf.py | 2 +- docs/how-to-guides/trace-code/index.rst | 17 +++------- docs/src_trace.toml | 36 --------------------- docs/ubproject.toml | 43 +++++++++++++++++++++---- src/ubproject.redirect.toml | 1 + 5 files changed, 44 insertions(+), 55 deletions(-) delete mode 100644 docs/src_trace.toml create mode 100644 src/ubproject.redirect.toml diff --git a/docs/conf.py b/docs/conf.py index f715299..298a10f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -63,7 +63,7 @@ }, } -src_trace_config_from_toml = "src_trace.toml" +src_trace_config_from_toml = "ubproject.toml" ############################################################################### # SPHINX-NEEDS Config END diff --git a/docs/how-to-guides/trace-code/index.rst b/docs/how-to-guides/trace-code/index.rst index 5bd6f5f..91bea04 100644 --- a/docs/how-to-guides/trace-code/index.rst +++ b/docs/how-to-guides/trace-code/index.rst @@ -12,12 +12,13 @@ Follow the installation instructions in the `CodeLinks documentation