File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ JupyterLab. For this reason, each example page in this folder includes a header
1212that adds a blurb to the top of each page about how the page can be
1313run or downloaded as a Jupyter notebook.
1414
15- There a few shortcomings to this approach of generating the code cell outputs in
15+ There are a few shortcomings to this approach of generating the code cell outputs in
1616the documentation pages at build time rather than hand editing them into the
1717document source file. One is that we can no longer compare the generated outputs
1818with the expected outputs as we used to do with doctest. Another is that we
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ Usage examples
88The following pages contain various useful examples illustrating how to use and
99how not to use PyWavelets.
1010
11- For more usage examples see the `demo `_ directory in the source package.
12-
1311.. toctree ::
1412 :maxdepth: 1
1513
@@ -21,4 +19,19 @@ For more usage examples see the `demo`_ directory in the source package.
2119 wp2d
2220 gotchas
2321
22+ The examples in this section are written in the `MyST markdown notebook format `_. This allows
23+ each .md file to function simultaneously as documentation that can be fed into
24+ Sphinx and as a source file that can be converted to the Jupyter notebook format
25+ (.ipynb), which can then be opened in notebook applications such as JupyterLab.
26+ For this reason, each example page in this folder includes a header template
27+ that adds a blurb to the top of each page about how the page can be run or
28+ downloaded as a Jupyter notebook. This is explained in greater detail in the
29+ `regression folder README `_.
30+
31+ For more usage examples see the `demo `_ directory in the source package.
32+
33+
2434.. include :: ../common_refs.rst
35+
36+ .. _MyST markdown notebook format : https://myst-nb.readthedocs.io/en/v0.13.2/use/markdown.html
37+ .. _regression folder readme : https://github.com/PyWavelets/pywt/blob/main/doc/source/regression/README.md
You can’t perform that action at this time.
0 commit comments