Skip to content

Commit 19ea9ff

Browse files
authored
link to and partially copy regression/README into the index file (#5)
1 parent 410a3e3 commit 19ea9ff

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

doc/source/regression/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ JupyterLab. For this reason, each example page in this folder includes a header
1212
that adds a blurb to the top of each page about how the page can be
1313
run 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
1616
the documentation pages at build time rather than hand editing them into the
1717
document source file. One is that we can no longer compare the generated outputs
1818
with the expected outputs as we used to do with doctest. Another is that we

doc/source/regression/index.rst

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Usage examples
88
The following pages contain various useful examples illustrating how to use and
99
how 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

0 commit comments

Comments
 (0)