Skip to content

Commit f3c7da6

Browse files
gwgundersenmax-sixty
authored andcommitted
Remove complex.nc from built docs (#3353)
* Rolling back to prevent a different issue from leaking into this one. * Amended what's new.
1 parent 6ece6a1 commit f3c7da6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/io.rst

+5
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,11 @@ and currently raises a warning unless ``invalid_netcdf=True`` is set:
516516
# Reading it back
517517
xr.open_dataarray("complex.nc", engine="h5netcdf")
518518
519+
.. ipython:: python
520+
:suppress:
521+
522+
import os
523+
os.remove('complex.nc')
519524
520525
.. warning::
521526

doc/whats-new.rst

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Documentation
3333
- Add examples for :py:meth:`Dataset.swap_dims` and :py:meth:`DataArray.swap_dims`.
3434
By `Justus Magin <https://github.com/keewis>`_.
3535

36+
- Fixed documentation to clean up an unwanted file created in ``ipython`` example
37+
(:pull:`3353`).
38+
By `Gregory Gundersen <https://github.com/gwgundersen/>`_.
39+
3640
.. _whats-new.0.13.0:
3741

3842
v0.13.0 (17 Sep 2019)

0 commit comments

Comments
 (0)