Debian Codegraph @

debian/patches/005.reproducible-docs.patch

raw
1 From: Dmitry Shachnev <[email protected]>
2 Date: Fri, 31 Jan 2025 22:37:08 +0300
3 Subject: Disable pydata and execution pages
4
5 They cause reproducibility failures.
6
7 Forwarded: not-needed
8 ---
9 docs/examples/index.rst | 2 --
10 docs/index.md | 2 +-
11 docs/user_guide/theme-elements.md | 1 -
12 3 files changed, 1 insertion(+), 4 deletions(-)
13
14 Index: pydata-sphinx-theme/docs/examples/index.rst
15 ===================================================================
16 --- pydata-sphinx-theme.orig/docs/examples/index.rst
17 +++ pydata-sphinx-theme/docs/examples/index.rst
18 @@ -16,8 +16,6 @@ See the sections in the primary sidebar
19 :caption: Theme-specific styles
20
21 kitchen-sink/index
22 - pydata
23 - execution
24 graphviz
25 mermaid
26
27 Index: pydata-sphinx-theme/docs/index.md
28 ===================================================================
29 --- pydata-sphinx-theme.orig/docs/index.md
30 +++ pydata-sphinx-theme/docs/index.md
31 @@ -23,7 +23,7 @@ A clean, Bootstrap-based Sphinx theme by
32 - header: "{fas}`palette;pst-color-primary` Customizable UI and themes"
33 content: "Customize colors and branding with CSS variables, and build custom UIs with [Sphinx Design components](user_guide/web-components)."
34 - header: "{fab}`python;pst-color-primary` Supports PyData and Jupyter"
35 - content: "CSS and UI support for [Jupyter extensions](examples/execution) and [PyData execution outputs](examples/pydata.ipynb)."
36 + content: "CSS and UI support for Jupyter extensions and PyData execution outputs."
37 - header: "{fas}`lightbulb;pst-color-primary` Example Gallery"
38 content: "See [our gallery](examples/gallery.md) of projects that use this theme."
39 ```
40 Index: pydata-sphinx-theme/docs/user_guide/theme-elements.md
41 ===================================================================
42 --- pydata-sphinx-theme.orig/docs/user_guide/theme-elements.md
43 +++ pydata-sphinx-theme/docs/user_guide/theme-elements.md
44 @@ -157,7 +157,6 @@ In Python you can {python}`import sphinx
45 ## Code execution
46
47 This theme has support for Jupyter execution libraries so that you can programmatically update your documentation with each build.
48 -For examples, see [](../examples/pydata.ipynb).
49
50 ## Admonition sidebars
51