From 9a4897673245ae5799bd216e0cc478058b8565fb Mon Sep 17 00:00:00 2001 From: Mathias157 Date: Fri, 20 Sep 2024 17:18:07 +0200 Subject: [PATCH] Trying to handle raw strings, which sphinx doesnt like --- RawDataProcessing/docs/conf.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/RawDataProcessing/docs/conf.py b/RawDataProcessing/docs/conf.py index 249d705..e184900 100644 --- a/RawDataProcessing/docs/conf.py +++ b/RawDataProcessing/docs/conf.py @@ -1,3 +1,16 @@ +# Handle backslashes in paths +import os +import sys + +# If needed, add the module paths you want to document +sys.path.insert(0, os.path.abspath('.')) + +# Configure Sphinx to handle path-related issues: +rst_prolog = """ +.. |os_sep| unicode:: 0xA0 # no-break space + :trim: +""" + project = "Balmorel Pre-Processing Framework" copyright = "2024, Mathias Berg Rosendal" author = "Mathias Berg Rosendal"