Index: python-gsd/doc/fl-examples.rst
===================================================================
--- python-gsd.orig/doc/fl-examples.rst	2022-11-07 19:21:52.135477937 +0100
+++ python-gsd/doc/fl-examples.rst	2022-11-07 19:22:22.115720939 +0100
@@ -130,6 +130,7 @@
 ^^^^^^^^^^^^^^^^
 
 .. ipython:: python
+  :okexcept:
 
     f = gsd.fl.open(name="file.gsd", mode='rb')
     if f.chunk_exists(frame=0, name='chunk1'):
@@ -180,6 +181,7 @@
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 .. ipython:: python
+  :okexcept:
 
     f = gsd.fl.open(name="file.gsd", mode='ab')
     f.write_chunk(name='int', data=numpy.array([10,20], dtype=numpy.int16));
Index: python-gsd/gsd/fl.pyx
===================================================================
--- python-gsd.orig/gsd/fl.pyx	2022-11-07 19:00:09.217627750 +0100
+++ python-gsd/gsd/fl.pyx	2022-11-07 19:44:54.422082055 +0100
@@ -398,6 +398,7 @@
 
         Example:
             .. ipython:: python
+              :okexcept:
 
                 f = gsd.fl.open(name='file.gsd', mode='wb+',
                                 application="My application",
@@ -700,7 +701,7 @@
             :py:meth:`read_chunk()` on the same chunk only once.
 
         Example:
-            .. ipython:: python
+            .. highlight:: python
 
                 with gsd.fl.open(name='file.gsd', mode='wb',
                                  application="My application",
