From f3c7da6eba987ec67616cd8cb9aec6ea79f0e92c Mon Sep 17 00:00:00 2001 From: Gregory Gundersen Date: Sat, 28 Sep 2019 15:57:36 -0400 Subject: [PATCH] Remove `complex.nc` from built docs (#3353) * Rolling back to prevent a different issue from leaking into this one. * Amended what's new. --- doc/io.rst | 5 +++++ doc/whats-new.rst | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/doc/io.rst b/doc/io.rst index 775d915188e..0943b598a7f 100644 --- a/doc/io.rst +++ b/doc/io.rst @@ -516,6 +516,11 @@ and currently raises a warning unless ``invalid_netcdf=True`` is set: # Reading it back xr.open_dataarray("complex.nc", engine="h5netcdf") +.. ipython:: python + :suppress: + + import os + os.remove('complex.nc') .. warning:: diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 828a66db6ab..13ea55e1c4b 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -33,6 +33,10 @@ Documentation - Add examples for :py:meth:`Dataset.swap_dims` and :py:meth:`DataArray.swap_dims`. By `Justus Magin `_. +- Fixed documentation to clean up an unwanted file created in ``ipython`` example + (:pull:`3353`). + By `Gregory Gundersen `_. + .. _whats-new.0.13.0: v0.13.0 (17 Sep 2019)