Skip to content

Commit b0da13f

Browse files
authored
added white space (#391)
1 parent 10eafba commit b0da13f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/contributing_docs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ defines flags that you can also pass directly to pytest.
231231
For example, if you wanted to test the `hole2` notebook::
232232

233233
pytest --nbval --nbval-current-env --nbval-sanitize-with ./sanitize_output.cfg ../doc/source/examples/analysis/polymers_and_membranes/hole2.ipynb
234+
234235
Where ``--nbval`` tells pytest to use nbval to test Jupyter notebooks, ``--nbval-current-env``
235236
to use the currently loaded python environment (make sure you actually loaded your environment)
236237
instead of trying to use the one that was used when the notebook was saved and
@@ -239,6 +240,7 @@ for example::
239240

240241
regex: (.*B \[0.*B/s\])
241242
replace: DOWNLOAD
243+
242244
This tells pytest to scan the outputs of all cells and replace the matching string with the word
243245
*DOWNLOAD*. This is called *sanitization*.
244246

@@ -384,7 +386,5 @@ For each time you add changes to another branch later, just merge into gh-pages
384386
cd doc/
385387
make github
386388
387-
388-
389389
.. _nbsphinx: https://nbsphinx.readthedocs.io
390390
.. _ReviewNB: https://www.reviewnb.com/

0 commit comments

Comments
 (0)