Skip to content

Commit 10296a3

Browse files
authored
Merge pull request #679 from waltsims/fix-docs-furo-toc
Fix docs furo toc
2 parents 18dfd01 + 61e52ee commit 10296a3

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

docs/get_started/first_simulation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Now we combine all four components and run:
158158
``kspaceFirstOrder2D`` / ``3D`` functions. See :doc:`/get_started/new_api`
159159
for details.
160160

161-
The legacy functions still work but emit deprecation warnings.
161+
The legacy functions still work but emit warnings.
162162

163163
Step 6: Visualize Results
164164
-------------------------

docs/get_started/new_api.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ simulations. It replaces the legacy ``kspaceFirstOrder2D``,
66
``kspaceFirstOrder3D``, and their GPU variants with a single function that
77
auto-detects dimensionality from the grid.
88

9-
.. contents:: On this page
10-
:local:
11-
:depth: 2
12-
139
Quick Start
1410
-----------
1511

@@ -138,4 +134,4 @@ arguments:
138134
result = kspaceFirstOrder(kgrid, medium, source, sensor, **kwargs)
139135
140136
The legacy ``kspaceFirstOrder2D`` and ``kspaceFirstOrder3D`` functions
141-
continue to work but emit ``DeprecationWarning``.
137+
continue to work but emit ``FutureWarning``.

kwave/kspaceFirstOrder2D.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def kspaceFirstOrder2D(
205205
"kspaceFirstOrder2D is deprecated. Use kspaceFirstOrder() from "
206206
"kwave.kspaceFirstOrder instead. See kwave.compat.options_to_kwargs() "
207207
"for migrating options.",
208-
DeprecationWarning,
208+
FutureWarning,
209209
stacklevel=2,
210210
)
211211

kwave/kspaceFirstOrder3D.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def kspaceFirstOrder3D(
198198
"kspaceFirstOrder3D is deprecated. Use kspaceFirstOrder() from "
199199
"kwave.kspaceFirstOrder instead. See kwave.compat.options_to_kwargs() "
200200
"for migrating options.",
201-
DeprecationWarning,
201+
FutureWarning,
202202
stacklevel=2,
203203
)
204204

0 commit comments

Comments
 (0)