From 5b576565ee4cf50851d66f3b6020687554da72c6 Mon Sep 17 00:00:00 2001 From: Daniela Rus Morales Date: Mon, 4 Aug 2025 12:00:13 +0200 Subject: [PATCH] Update docs theme to Nefertiti 0.8.6 * Use variable font Ubuntu Sans Mono and adapt font size. * Table Of Content (right side panel) for the reference API page will benefit from last fix included in 0.8.6. --- docs/conf.py | 5 ++--- docs/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c42156feb..886a3da9e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -124,9 +124,8 @@ html_theme = "sphinx_nefertiti" # html_theme_path = [sphinx_nefertiti.get_html_theme_path()] html_theme_options = { - "documentation_font": "Open Sans", - "monospace_font": "Ubuntu Mono", - "monospace_font_size": "1.1rem", + "monospace_font": "Ubuntu Sans Mono", + "monospace_font_size": "0.9rem", # "style" can take the following values: "blue", "indigo", "purple", # "pink", "red", "orange", "yellow", "green", "tail", and "default". "style": "blue", diff --git a/docs/requirements.txt b/docs/requirements.txt index 844bca89d..a7a4294f8 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,4 +2,4 @@ Sphinx>=8,<9 wcwidth<1 pyperclip<2 sphinx_copybutton>=0.5.2,<1.0.0 -sphinx-nefertiti>=0.6.0 \ No newline at end of file +sphinx-nefertiti>=0.8.6