Debian Codegraph @

debian/patches/verbatim-sphinx-ipython.patch

raw
1 Author: Diane Trout <[email protected]>
2 Description: Running the example documentation code makes
3 documentation building non-reproducible
4 Forward: no
5
6 --- a/docs/source/shared.rst
7 +++ b/docs/source/shared.rst
8 @@ -51,6 +51,7 @@
9 The quickest/simplest test we can do it to use IPython's ``timeit`` magic:
10
11 .. ipython::
12 + :verbatim:
13
14 In [1]: import dask.array as da
15
16 @@ -65,6 +66,7 @@
17 So this takes ~90 microseconds per task. About 100ms of this is from overhead:
18
19 .. ipython::
20 + :verbatim:
21
22 In [5]: x = da.ones(1000, chunks=(1000,)).sum()
23