Skip to content

Commit 0dceaa6

Browse files
Issue #1150 Use default Pydata colors (#1215)
Fixes #1150 # Description We had a lot of issues using our custom colorscheme with the pydata theme. Most of the times sphinx updated our colorscheme broke and we had to manually fix it. To avoid any headache in the future we decided to use their default colors. In this PR our custom colors are removed and sphinx has been updated to the latest version Further more changes have been made to the imod-logo and deltares logo making it compatible with the light and dark mode # Checklist <!--- Before requesting review, please go through this checklist: --> - [x] Links to correct issue - [ ] Update changelog, if changes affect users - [x] PR title starts with ``Issue #nr``, e.g. ``Issue #737`` - [ ] Unit tests were added - [ ] **If feature added**: Added/extended example --------- Co-authored-by: Joeri van Engelen <joerivanengelen@hotmail.com>
1 parent a325e2d commit 0dceaa6

8 files changed

Lines changed: 2629 additions & 2513 deletions

File tree

docs/_static/deltares.js

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 125 additions & 0 deletions
Loading

docs/_static/theme-deltares.css

Lines changed: 0 additions & 28 deletions
This file was deleted.

docs/api/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ Added
293293
set automatically.
294294
- Added the ``simulation_start_time`` and ``time_unit`` arguments. To the ``Modflow6Simulation.open_`` methods, and ``imod.mf6.out.open_`` functions. This converts the ``"time"`` coordinate to datetimes.
295295
- added :meth:`imod.mf6.Modflow6Simulation.mask_all_models` to apply a mask to all models under a simulation,
296-
provided the simulation is not split and the models use the same discretization.
296+
provided the simulation is not split and the models use the same discretization.
297297

298298

299299
Changed

docs/conf.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
# relative to this directory. They are copied after the builtin static files,
118118
# so a file named "default.css" will overwrite the builtin "default.css".
119119
html_static_path = ["_static"]
120-
html_css_files = ["theme-deltares.css"]
120+
html_js_files = ["deltares.js"]
121121

122122
# Set
123123
html_context = {"default_mode": "light"}
@@ -132,8 +132,8 @@
132132
{
133133
"name": "Deltares",
134134
"url": "https://www.deltares.nl/en/",
135-
"icon": "_static/deltares-white.svg",
136-
"type": "local",
135+
"icon": "fa-custom fa-deltares",
136+
"type": "fontawesome",
137137
},
138138
{
139139
"name": "GitHub",
@@ -143,8 +143,8 @@
143143
},
144144
],
145145
"logo": {
146-
"image_light": "imod-python-logo.svg",
147-
"image_dark": "imod-python-logo.svg",
146+
"image_light": "imod-python-logo-light.svg",
147+
"image_dark": "imod-python-logo-dark.svg",
148148
},
149149
}
150150

@@ -158,10 +158,6 @@
158158
#
159159
# html_sidebars = {}
160160

161-
# The name of an image file (relative to this directory) to place at the top
162-
# of the sidebar.
163-
html_logo = "_static/imod-python-logo.svg"
164-
165161
# -- Options for HTMLHelp output ---------------------------------------------
166162

167163
# Output file base name for HTML help builder.

0 commit comments

Comments
 (0)