Skip to content

Commit c151e21

Browse files
authored
Merge pull request #737 from agriyakhetarpal/fix-directive-specific-button-text
DOC, DEP: Remove custom `:button_text` directive option, bump `jupyterlite-sphinx`
2 parents 3e38091 + 51b3d4d commit c151e21

File tree

4 files changed

+1
-15
lines changed

4 files changed

+1
-15
lines changed

doc/source/ref/cwt.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ A variety of continuous wavelets have been implemented. A list of the available
9090
wavelet names compatible with ``cwt`` can be obtained by:
9191

9292
.. try_examples::
93-
:button_text: Try it in your browser!
9493

9594
>>> import pywt
9695
>>> wavelist = pywt.wavelist(kind='continuous')
@@ -208,7 +207,6 @@ sampled at 100 Hz, a center frequency of 1.0 corresponds to ~100 Hz at
208207
particular wavelet, one would analyze a signal using ``scales >= 2``.
209208

210209
.. try_examples::
211-
:button_text: Try it in your browser!
212210

213211
>>> import numpy as np
214212
>>> import pywt
@@ -239,7 +237,6 @@ frequency fs. This function is useful for specifying the transform as a function
239237
of frequency directly.
240238

241239
.. try_examples::
242-
:button_text: Try it in your browser!
243240

244241
>>> import numpy as np
245242
>>> import pywt

doc/source/ref/signal-extension-modes.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ computations can be performed with the `periodization`_ mode:
9090
**Example:**
9191

9292
.. try_examples::
93-
:button_text: Try it in your browser!
9493

9594
>>> import pywt
9695
>>> print(pywt.Modes.modes)
@@ -106,7 +105,6 @@ Notice that you can use any of the following ways of passing wavelet and mode
106105
parameters:
107106

108107
.. try_examples::
109-
:button_text: Try it in your browser!
110108

111109
>>> import pywt
112110
>>> (a, d) = pywt.dwt([1,2,3,4,5,6], 'db2', 'smooth')

doc/source/ref/wavelets.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ Custom discrete wavelets are also supported through the
4949
**Example:**
5050

5151
.. try_examples::
52-
:button_text: Try it in your browser!
5352

5453
>>> import pywt
5554
>>> wavelet = pywt.Wavelet('db1')
@@ -130,7 +129,6 @@ Custom discrete wavelets are also supported through the
130129
**Example:**
131130

132131
.. try_examples::
133-
:button_text: Try it in your browser!
134132

135133
>>> def format_array(arr):
136134
... return "[%s]" % ", ".join(["%.14f" % x for x in arr])
@@ -174,7 +172,6 @@ Approximating wavelet and scaling functions - ``Wavelet.wavefun()``
174172
**Example:**
175173

176174
.. try_examples::
177-
:button_text: Try it in your browser!
178175

179176
>>> import pywt
180177
>>> wavelet = pywt.Wavelet('db2')
@@ -190,7 +187,6 @@ Approximating wavelet and scaling functions - ``Wavelet.wavefun()``
190187
**Example:**
191188

192189
.. try_examples::
193-
:button_text: Try it in your browser!
194190

195191
>>> import pywt
196192
>>> wavelet = pywt.Wavelet('bior3.5')
@@ -244,7 +240,6 @@ from plain Python lists of filter coefficients and a *filter bank-like* object.
244240
**Example:**
245241

246242
.. try_examples::
247-
:button_text: Try it in your browser!
248243

249244
>>> import pywt, math
250245
>>> c = math.sqrt(2)/2
@@ -279,7 +274,6 @@ from plain Python lists of filter coefficients and a *filter bank-like* object.
279274
**Example:**
280275

281276
.. try_examples::
282-
:button_text: Try it in your browser!
283277

284278
>>> import pywt
285279
>>> wavelet = pywt.ContinuousWavelet('gaus1')
@@ -335,7 +329,6 @@ from plain Python lists of filter coefficients and a *filter bank-like* object.
335329
**Example:**
336330

337331
.. try_examples::
338-
:button_text: Try it in your browser!
339332

340333
>>> import pywt
341334
>>> wavelet = pywt.ContinuousWavelet('gaus1')
@@ -366,7 +359,6 @@ Approximating wavelet functions - ``ContinuousWavelet.wavefun()``
366359
**Example:**
367360

368361
.. try_examples::
369-
:button_text: Try it in your browser!
370362

371363
>>> import pywt
372364
>>> wavelet = pywt.ContinuousWavelet('gaus1')
@@ -384,7 +376,6 @@ Approximating wavelet functions - ``ContinuousWavelet.wavefun()``
384376
**Example:**
385377

386378
.. try_examples::
387-
:button_text: Try it in your browser!
388379

389380
>>> import pywt
390381
>>> wavelet = pywt.DiscreteContinuousWavelet('db1')

util/readthedocs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cython
22
docutils<0.18
3-
jupyterlite-sphinx
3+
jupyterlite-sphinx>=0.14.0
44
jupyterlite-pyodide-kernel
55
pydata-sphinx-theme
66
pytest

0 commit comments

Comments
 (0)