\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/1d_quality_of_fit_Rectilinear.svg b/docs/1d_quality_of_fit_Rectilinear.svg
index 6e33a20..b258c2f 100644
--- a/docs/1d_quality_of_fit_Rectilinear.svg
+++ b/docs/1d_quality_of_fit_Rectilinear.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/1d_quality_of_fit_Regular.html b/docs/1d_quality_of_fit_Regular.html
index 348df9d..b4dd8e4 100644
--- a/docs/1d_quality_of_fit_Regular.html
+++ b/docs/1d_quality_of_fit_Regular.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/1d_quality_of_fit_Regular.svg b/docs/1d_quality_of_fit_Regular.svg
index cdfb92e..fd3b512 100644
--- a/docs/1d_quality_of_fit_Regular.svg
+++ b/docs/1d_quality_of_fit_Regular.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/2d_quality_of_fit_Rectilinear.html b/docs/2d_quality_of_fit_Rectilinear.html
index de9434c..b218428 100644
--- a/docs/2d_quality_of_fit_Rectilinear.html
+++ b/docs/2d_quality_of_fit_Rectilinear.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/2d_quality_of_fit_Rectilinear.svg b/docs/2d_quality_of_fit_Rectilinear.svg
index ff77900..39d73b8 100644
--- a/docs/2d_quality_of_fit_Rectilinear.svg
+++ b/docs/2d_quality_of_fit_Rectilinear.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/2d_quality_of_fit_Regular.html b/docs/2d_quality_of_fit_Regular.html
index dc4a336..1e4bb85 100644
--- a/docs/2d_quality_of_fit_Regular.html
+++ b/docs/2d_quality_of_fit_Regular.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/2d_quality_of_fit_Regular.svg b/docs/2d_quality_of_fit_Regular.svg
index e7daff4..dc91922 100644
--- a/docs/2d_quality_of_fit_Regular.svg
+++ b/docs/2d_quality_of_fit_Regular.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs.html b/docs/3d_throughput_vs_nobs.html
deleted file mode 100644
index 4591fc8..0000000
--- a/docs/3d_throughput_vs_nobs.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs.svg b/docs/3d_throughput_vs_nobs.svg
deleted file mode 100644
index 635b133..0000000
--- a/docs/3d_throughput_vs_nobs.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_cubic.html b/docs/3d_throughput_vs_nobs_cubic.html
new file mode 100644
index 0000000..cbb7076
--- /dev/null
+++ b/docs/3d_throughput_vs_nobs_cubic.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_cubic.svg b/docs/3d_throughput_vs_nobs_cubic.svg
new file mode 100644
index 0000000..b169d33
--- /dev/null
+++ b/docs/3d_throughput_vs_nobs_cubic.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_linear.html b/docs/3d_throughput_vs_nobs_linear.html
new file mode 100644
index 0000000..0f6ef9d
--- /dev/null
+++ b/docs/3d_throughput_vs_nobs_linear.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_linear.svg b/docs/3d_throughput_vs_nobs_linear.svg
new file mode 100644
index 0000000..f8d0941
--- /dev/null
+++ b/docs/3d_throughput_vs_nobs_linear.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_prealloc.html b/docs/3d_throughput_vs_nobs_prealloc.html
deleted file mode 100644
index bdc40c5..0000000
--- a/docs/3d_throughput_vs_nobs_prealloc.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_prealloc.svg b/docs/3d_throughput_vs_nobs_prealloc.svg
deleted file mode 100644
index 44ccec9..0000000
--- a/docs/3d_throughput_vs_nobs_prealloc.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_prealloc_cubic.html b/docs/3d_throughput_vs_nobs_prealloc_cubic.html
new file mode 100644
index 0000000..e4e23c4
--- /dev/null
+++ b/docs/3d_throughput_vs_nobs_prealloc_cubic.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_prealloc_cubic.svg b/docs/3d_throughput_vs_nobs_prealloc_cubic.svg
new file mode 100644
index 0000000..54dc2db
--- /dev/null
+++ b/docs/3d_throughput_vs_nobs_prealloc_cubic.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_prealloc_linear.html b/docs/3d_throughput_vs_nobs_prealloc_linear.html
new file mode 100644
index 0000000..b9787b9
--- /dev/null
+++ b/docs/3d_throughput_vs_nobs_prealloc_linear.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/docs/3d_throughput_vs_nobs_prealloc_linear.svg b/docs/3d_throughput_vs_nobs_prealloc_linear.svg
new file mode 100644
index 0000000..96250b6
--- /dev/null
+++ b/docs/3d_throughput_vs_nobs_prealloc_linear.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs.html b/docs/4d_throughput_vs_nobs.html
deleted file mode 100644
index d0b9abb..0000000
--- a/docs/4d_throughput_vs_nobs.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs.svg b/docs/4d_throughput_vs_nobs.svg
deleted file mode 100644
index 4dc5ae1..0000000
--- a/docs/4d_throughput_vs_nobs.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_cubic.html b/docs/4d_throughput_vs_nobs_cubic.html
new file mode 100644
index 0000000..d411f98
--- /dev/null
+++ b/docs/4d_throughput_vs_nobs_cubic.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_cubic.svg b/docs/4d_throughput_vs_nobs_cubic.svg
new file mode 100644
index 0000000..4d9336e
--- /dev/null
+++ b/docs/4d_throughput_vs_nobs_cubic.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_linear.html b/docs/4d_throughput_vs_nobs_linear.html
new file mode 100644
index 0000000..d374c9a
--- /dev/null
+++ b/docs/4d_throughput_vs_nobs_linear.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_linear.svg b/docs/4d_throughput_vs_nobs_linear.svg
new file mode 100644
index 0000000..2c71632
--- /dev/null
+++ b/docs/4d_throughput_vs_nobs_linear.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_prealloc.html b/docs/4d_throughput_vs_nobs_prealloc.html
deleted file mode 100644
index c2b9bd4..0000000
--- a/docs/4d_throughput_vs_nobs_prealloc.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_prealloc.svg b/docs/4d_throughput_vs_nobs_prealloc.svg
deleted file mode 100644
index 289c6f8..0000000
--- a/docs/4d_throughput_vs_nobs_prealloc.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_prealloc_cubic.html b/docs/4d_throughput_vs_nobs_prealloc_cubic.html
new file mode 100644
index 0000000..4bc15b9
--- /dev/null
+++ b/docs/4d_throughput_vs_nobs_prealloc_cubic.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_prealloc_cubic.svg b/docs/4d_throughput_vs_nobs_prealloc_cubic.svg
new file mode 100644
index 0000000..abc8a41
--- /dev/null
+++ b/docs/4d_throughput_vs_nobs_prealloc_cubic.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_prealloc_linear.html b/docs/4d_throughput_vs_nobs_prealloc_linear.html
new file mode 100644
index 0000000..fc5767d
--- /dev/null
+++ b/docs/4d_throughput_vs_nobs_prealloc_linear.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/docs/4d_throughput_vs_nobs_prealloc_linear.svg b/docs/4d_throughput_vs_nobs_prealloc_linear.svg
new file mode 100644
index 0000000..2593256
--- /dev/null
+++ b/docs/4d_throughput_vs_nobs_prealloc_linear.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/index.md b/docs/index.md
index 70c7fc5..3c4ef88 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -26,7 +26,13 @@ The methods provided here, while more limited in scope than scipy's,
* can also be used easily in web and embedded applications via the Rust library
* are permissively licensed
-
+--8<--
+docs/speedup_vs_dims_1_obs_linear.html
+--8<--
+
+--8<--
+docs/speedup_vs_dims_1_obs_cubic.html
+--8<--
See [here](https://interpnpy.readthedocs.io/en/latest/perf/) for more info about quality-of-fit, throughput, and memory usage.
diff --git a/docs/nearest_quality_of_fit.html b/docs/nearest_quality_of_fit.html
index 66f8460..4a8ce70 100644
--- a/docs/nearest_quality_of_fit.html
+++ b/docs/nearest_quality_of_fit.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/nearest_quality_of_fit.svg b/docs/nearest_quality_of_fit.svg
index 78d2c53..503b8a5 100644
--- a/docs/nearest_quality_of_fit.svg
+++ b/docs/nearest_quality_of_fit.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/perf.md b/docs/perf.md
index 3e694f6..18c8ab4 100644
--- a/docs/perf.md
+++ b/docs/perf.md
@@ -10,16 +10,25 @@ The linear methods' quality of fit, being linear, is not very interesting.
### 1D Cubic Interpolation & Extrapolation
InterpN shows significantly improvements in both numerical error and quality-of-fit, especially where sharp changes or strong higher derivatives are present.
-
+
+--8<--
+docs/1d_quality_of_fit_Rectilinear.html
+--8<--
### 2D Cubic Interpolation & Extrapolation
Both InterpN and Scipy methods can full capture a quadratic function in arbitrary dimensions, including under extrapolation. However, InterpN produces several orders of magnitude less floating point error, despite requiring significantly less run time.
-
+
+--8<--
+docs/2d_quality_of_fit_Rectilinear.html
+--8<--
### 2D Nearest-Neighbor Interpolation & Extrapolation
InterpN's regular- and rectilinear- grid nearest-neighbor methods match scipy griddata at all tested conditions.
Midpoint tie-breaking is not guaranteed to match exactly.
-
+
+--8<--
+docs/nearest_quality_of_fit.html
+--8<--
----
## Throughput
@@ -36,7 +45,10 @@ are shown to highlight that InterpN achieves parity even with specialized low-di
despite not specifically handling low-dimensional special cases.
#### 1000 Observation Points
-
+
+--8<--
+docs/throughput_vs_dims_1000_obs.html
+--8<--
#### 1 Observation Point
For evaluating a single point at a time, the 1D-specialized `numpy.interp` is somewhat faster,
@@ -49,13 +61,24 @@ the interpolator object (which removes the timing effect of their initial linear
performing a warmup that clears an appropriately-sized region of memory for allocation. This discrepancy
also vanishes for higher numbers of observation points.
-
+--8<--
+docs/speedup_vs_dims_1_obs_linear.html
+--8<--
+--8<--
+docs/speedup_vs_dims_1_obs_cubic.html
+--8<--
### 3D Throughput vs. Input Size
Evaluating points in large batches is substantially faster than one-at-a-time for all tested methods.
-
+--8<--
+docs/3d_throughput_vs_nobs_prealloc_linear.html
+--8<--
+
+--8<--
+docs/3d_throughput_vs_nobs_prealloc_cubic.html
+--8<--
----
## Memory Usage
@@ -69,8 +92,3 @@ The linear methods all use roughly the same amount of RAM during evaluation. In
The memory profiler picks up a large amount of RAM that is not actually part of the function evaluation, but belongs to the outer process. As a result, all methods show a bogus memory usage floor of about 97MB.

-
-----
-## Profile-Guided Optimisation
-
-To build the extension with profile-guided optimization using pre-built profiles, do `sh ./scripts/distr_pgo_install.sh`. You can also generate your own PGO profiles like `sh ./scripts/distr_pgo_profile.sh`.
diff --git a/docs/speedup_vs_dims_1000_obs_cubic.html b/docs/speedup_vs_dims_1000_obs_cubic.html
index 4a15780..36bb38e 100644
--- a/docs/speedup_vs_dims_1000_obs_cubic.html
+++ b/docs/speedup_vs_dims_1000_obs_cubic.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/speedup_vs_dims_1000_obs_cubic.svg b/docs/speedup_vs_dims_1000_obs_cubic.svg
index ab32f9e..de902c9 100644
--- a/docs/speedup_vs_dims_1000_obs_cubic.svg
+++ b/docs/speedup_vs_dims_1000_obs_cubic.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/speedup_vs_dims_1000_obs_linear.html b/docs/speedup_vs_dims_1000_obs_linear.html
index f75ea5a..1637b0a 100644
--- a/docs/speedup_vs_dims_1000_obs_linear.html
+++ b/docs/speedup_vs_dims_1000_obs_linear.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/speedup_vs_dims_1000_obs_linear.svg b/docs/speedup_vs_dims_1000_obs_linear.svg
index 131ca0b..2661220 100644
--- a/docs/speedup_vs_dims_1000_obs_linear.svg
+++ b/docs/speedup_vs_dims_1000_obs_linear.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/speedup_vs_dims_1_obs_cubic.html b/docs/speedup_vs_dims_1_obs_cubic.html
index 91923e2..178b7cd 100644
--- a/docs/speedup_vs_dims_1_obs_cubic.html
+++ b/docs/speedup_vs_dims_1_obs_cubic.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/speedup_vs_dims_1_obs_cubic.svg b/docs/speedup_vs_dims_1_obs_cubic.svg
index c79bbf2..2827ee2 100644
--- a/docs/speedup_vs_dims_1_obs_cubic.svg
+++ b/docs/speedup_vs_dims_1_obs_cubic.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/speedup_vs_dims_1_obs_linear.html b/docs/speedup_vs_dims_1_obs_linear.html
index 9646c79..ae193a7 100644
--- a/docs/speedup_vs_dims_1_obs_linear.html
+++ b/docs/speedup_vs_dims_1_obs_linear.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/speedup_vs_dims_1_obs_linear.svg b/docs/speedup_vs_dims_1_obs_linear.svg
index 6c69a66..2d676d6 100644
--- a/docs/speedup_vs_dims_1_obs_linear.svg
+++ b/docs/speedup_vs_dims_1_obs_linear.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css
new file mode 100644
index 0000000..5a41d18
--- /dev/null
+++ b/docs/stylesheets/extra.css
@@ -0,0 +1,7 @@
+
+@media (prefers-color-scheme: dark) {
+ .plotly-graph-div {
+ filter: invert(100%) hue-rotate(180deg);
+ }
+}
+
diff --git a/docs/throughput_vs_dims_1000_obs.html b/docs/throughput_vs_dims_1000_obs.html
index ebca626..97e3b20 100644
--- a/docs/throughput_vs_dims_1000_obs.html
+++ b/docs/throughput_vs_dims_1000_obs.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/throughput_vs_dims_1000_obs.svg b/docs/throughput_vs_dims_1000_obs.svg
index 9b602b7..ffed13b 100644
--- a/docs/throughput_vs_dims_1000_obs.svg
+++ b/docs/throughput_vs_dims_1000_obs.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/throughput_vs_dims_1_obs.html b/docs/throughput_vs_dims_1_obs.html
index 1ccb288..463def2 100644
--- a/docs/throughput_vs_dims_1_obs.html
+++ b/docs/throughput_vs_dims_1_obs.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/throughput_vs_dims_1_obs.svg b/docs/throughput_vs_dims_1_obs.svg
index 19bacdb..a7200ef 100644
--- a/docs/throughput_vs_dims_1_obs.svg
+++ b/docs/throughput_vs_dims_1_obs.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/cubic_comparison.py b/examples/cubic_comparison.py
index c1a4531..bc71b0c 100644
--- a/examples/cubic_comparison.py
+++ b/examples/cubic_comparison.py
@@ -126,14 +126,14 @@ def _axis_name(prefix: str, row: int, col: int, ncols: int) -> str:
mode="lines",
line=dict(color="black", width=2, dash="dot"),
opacity=0.7,
- name="SciPy",
+ name="Scipy",
legendgroup="scipy",
- showlegend="SciPy" not in legend_tracker,
+ showlegend="Scipy" not in legend_tracker,
),
row=1,
col=col,
)
- legend_tracker.add("SciPy")
+ legend_tracker.add("Scipy")
truth = fn(xinterp)
fig_1d.add_trace(
@@ -157,14 +157,14 @@ def _axis_name(prefix: str, row: int, col: int, ncols: int) -> str:
mode="lines",
line=dict(color="black", width=2, dash="dot"),
opacity=0.7,
- name="SciPy Error",
+ name="Scipy Error",
legendgroup="scipy_err",
- showlegend="SciPy Error" not in legend_tracker,
+ showlegend="Scipy Error" not in legend_tracker,
),
row=2,
col=col,
)
- legend_tracker.add("SciPy Error")
+ legend_tracker.add("Scipy Error")
for col in range(1, 4):
fig_1d.update_xaxes(title_text="x", row=2, col=col)
@@ -267,10 +267,10 @@ def _axis_name(prefix: str, row: int, col: int, ncols: int) -> str:
subplot_titles=[
"Truth",
"InterpN",
- "SciPy",
+ "Scipy",
"",
"Error, InterpN",
- "Error, SciPy",
+ "Error, Scipy",
],
horizontal_spacing=0.06,
vertical_spacing=0.18,
@@ -281,7 +281,7 @@ def _axis_name(prefix: str, row: int, col: int, ncols: int) -> str:
[
(zinterp, "Truth"),
(z_interpn, "InterpN"),
- (z_sp, "SciPy"),
+ (z_sp, "Scipy"),
],
start=1,
):
@@ -364,7 +364,7 @@ def _axis_name(prefix: str, row: int, col: int, ncols: int) -> str:
for col, (z_data, name) in enumerate(
[
(z_interpn - zinterp, "Error, InterpN"),
- (z_sp - zinterp, "Error, SciPy"),
+ (z_sp - zinterp, "Error, Scipy"),
],
start=2,
):
diff --git a/examples/nearest_comparison.py b/examples/nearest_comparison.py
index b8097cc..1f6df8e 100644
--- a/examples/nearest_comparison.py
+++ b/examples/nearest_comparison.py
@@ -1,7 +1,7 @@
"""
Generate a quality-of-fit comparison figure for nearest-neighbor interpolation.
-This script compares InterpN's nearest-neighbor interpolator against SciPy's
+This script compares InterpN's nearest-neighbor interpolator against Scipy's
``griddata`` with the ``nearest`` method on a slightly irregular rectilinear grid.
The resulting SVG is saved into the ``docs`` directory.
"""
@@ -89,10 +89,10 @@ def _axis_name(prefix: str, row: int, col: int, ncols: int) -> str:
plots = [
(z_truth, "Truth", False),
(interpn_vals, "InterpN", False),
- (griddata_vals, "SciPy", False),
+ (griddata_vals, "Scipy", False),
(interpn_vals - z_truth, "Error: InterpN", True),
- (griddata_vals - z_truth, "Error: SciPy", True),
- (griddata_vals - interpn_vals, "SciPy - InterpN", True),
+ (griddata_vals - z_truth, "Error: Scipy", True),
+ (griddata_vals - interpn_vals, "Scipy - InterpN", True),
]
fig = make_subplots(
@@ -161,7 +161,7 @@ def _axis_name(prefix: str, row: int, col: int, ncols: int) -> str:
fig.update_layout(
title=dict(
text="Nearest-Neighbor Quality of Fit —"
- " InterpN vs. SciPy griddata (nearest)",
+ " InterpN vs. Scipy griddata (nearest)",
y=0.97,
yanchor="top",
),
diff --git a/mkdocs.yml b/mkdocs.yml
index 970bd77..97fcc44 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -6,33 +6,40 @@ theme:
- python
palette:
# Palette toggle for automatic mode
- - media: "(prefers-color-scheme)"
- toggle:
- icon: material/brightness-auto
- name: Switch to light mode
- # Palette toggle for dark mode
- - media: "(prefers-color-scheme: dark)"
- scheme: slate
- toggle:
- icon: material/brightness-4
- name: Switch to light mode
- # Palette toggle for light mode
- - media: "(prefers-color-scheme: light)"
- scheme: default
- toggle:
- icon: material/brightness-7
- name: Switch to dark mode
+ # - media: "(prefers-color-scheme)"
+ # toggle:
+ # icon: material/brightness-auto
+ # name: Switch to light mode
+ # # Palette toggle for dark mode
+ # - media: "(prefers-color-scheme: dark)"
+ # scheme: slate
+ # toggle:
+ # icon: material/brightness-4
+ # name: Switch to light mode
+ # # Palette toggle for light mode
+ # - media: "(prefers-color-scheme: light)"
+ # scheme: default
+ # toggle:
+ # icon: material/brightness-7
+ # name: Switch to dark mode
+ scheme: slate
features:
- search.suggest
- search.highlight
+
plugins:
- mkdocstrings
- search
+
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- - pymdownx.snippets
- - pymdownx.superfences
\ No newline at end of file
+ - pymdownx.snippets:
+ check_paths: true
+ - pymdownx.superfences
+
+extra_css:
+ - stylesheets/extra.css
\ No newline at end of file