Skip to content

Commit 3374ae9

Browse files
authored
Update docs theme to Nefertiti 0.8.6 (#2002)
* 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.
1 parent 54c5c85 commit 3374ae9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,8 @@
124124
html_theme = "sphinx_nefertiti"
125125
# html_theme_path = [sphinx_nefertiti.get_html_theme_path()]
126126
html_theme_options = {
127-
"documentation_font": "Open Sans",
128-
"monospace_font": "Ubuntu Mono",
129-
"monospace_font_size": "1.1rem",
127+
"monospace_font": "Ubuntu Sans Mono",
128+
"monospace_font_size": "0.9rem",
130129
# "style" can take the following values: "blue", "indigo", "purple",
131130
# "pink", "red", "orange", "yellow", "green", "tail", and "default".
132131
"style": "blue",

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Sphinx>=8,<9
22
wcwidth<1
33
pyperclip<2
44
sphinx_copybutton>=0.5.2,<1.0.0
5-
sphinx-nefertiti>=0.6.0
5+
sphinx-nefertiti>=0.8.6

0 commit comments

Comments
 (0)