##// END OF EJS Templates
Document :okexcept:, :okwarning: in file header
y-p -
Show More
@@ -83,6 +83,24 b' An example usage of the directive is:'
83 83 See http://matplotlib.org/sampledoc/ipython_directive.html for additional
84 84 documentation.
85 85
86 Pseudo-Decorators
87 =================
88
89 In addition to the Pseudo-Decorators/options described at the above link,
90 several enhancements have been made.
91 The directive will emit a message to the console at build-time if
92 code-execution resulted in an exception or warning. You can suppress these on
93 a per-block basis by specifying the :okexcept: or :okwarning: options:
94
95 .. code-block:: rst
96
97 .. ipython::
98 :okexcept:
99 :okwarning:
100
101 In [1]: 1/0
102 In [2]: # raise warning.
103
86 104 ToDo
87 105 ----
88 106
General Comments 0
You need to be logged in to leave comments. Login now