From 655cb8ffee50c9c9a82a218fd41efdc2cdc77309 Mon Sep 17 00:00:00 2001 From: jmichellejm Date: Tue, 1 Sep 2026 15:25:17 +0200 Subject: [PATCH] small fix in tutorials python code color --- docs/conf.py | 8 ++++---- docs/requirements.txt | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f74fc18..ae9aba5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,7 @@ templates_path = ['_templates'] exclude_patterns = [] -language = 'English' +language = 'en' # -- BibTeX citation settings bibtex_bibfiles = ['references.bib'] @@ -64,14 +64,14 @@ #import sphinx_book_theme html_theme = 'sphinx_book_theme' + +pygments_style = 'sphinx' + html_static_path = ['_static'] # Path to the logo relative to the configuration directory html_logo = "_static/logo.png" -# Ensure the static path is included so Sphinx finds the file -html_static_path = ['_static'] - # Link custom CSS (logo sizing and styling, located in '_static') html_css_files = [ "custom.css", diff --git a/docs/requirements.txt b/docs/requirements.txt index 60b51cf..e505f0f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,8 @@ # New layout tools sphinxcontrib-bibtex sphinx-design - +pygments +ipython # Documentation Tools sphinx-book-theme