| 1 |
From: Dmitry Shachnev <[email protected]> |
| 2 |
Date: Sat, 1 Feb 2025 16:41:58 +0300 |
| 3 |
Subject: Remove use of external images from the docs |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
--- |
| 7 |
docs/community/contributors.md | 9 --------- |
| 8 |
docs/community/inspiration.md | 32 +++++++------------------------- |
| 9 |
docs/examples/kitchen-sink/generic.rst | 4 ++-- |
| 10 |
docs/examples/kitchen-sink/images.rst | 12 ++++++------ |
| 11 |
docs/examples/kitchen-sink/lists.rst | 4 ++-- |
| 12 |
docs/examples/kitchen-sink/structure.rst | 2 +- |
| 13 |
docs/examples/kitchen-sink/tables.rst | 4 ++-- |
| 14 |
docs/user_guide/light-dark.rst | 8 ++++---- |
| 15 |
8 files changed, 24 insertions(+), 51 deletions(-) |
| 16 |
|
| 17 |
Index: pydata-sphinx-theme/docs/community/contributors.md |
| 18 |
=================================================================== |
| 19 |
--- pydata-sphinx-theme.orig/docs/community/contributors.md |
| 20 |
+++ pydata-sphinx-theme/docs/community/contributors.md |
| 21 |
@@ -2,15 +2,6 @@ |
| 22 |
|
| 23 |
This theme is supported and developed by various members of [the PyData community](https://pydata.org). |
| 24 |
|
| 25 |
-## Collaborators on the repository |
| 26 |
- |
| 27 |
-Here is a grid of collaborators on our GitHub repository. |
| 28 |
-We don't yet have formal "team definitions" so this is mostly a reflection of who has commit rights to the repository. |
| 29 |
- |
| 30 |
-```{gallery-grid} ../_static/contributors.yaml |
| 31 |
-:class-card: text-center |
| 32 |
-``` |
| 33 |
- |
| 34 |
## Financial support |
| 35 |
|
| 36 |
Support and development for this theme has been funded by one [NumFocus Small Development Grant](https://numfocus.org/programs/small-development-grants) on behalf of several communities in the PyData ecosystem. |
| 37 |
Index: pydata-sphinx-theme/docs/community/inspiration.md |
| 38 |
=================================================================== |
| 39 |
--- pydata-sphinx-theme.orig/docs/community/inspiration.md |
| 40 |
+++ pydata-sphinx-theme/docs/community/inspiration.md |
| 41 |
@@ -9,22 +9,9 @@ When making new decisions about design a |
| 42 |
- title: "**GitBook**" |
| 43 |
link: https://gitbook.com/docs/ |
| 44 |
image: ../_static/inspiration/GitBook-Icon-Dark.svg |
| 45 |
-- title: "**Metaflow**" |
| 46 |
- image: https://raw.githubusercontent.com/Netflix/metaflow/refs/heads/master/docs/metaflow.svg |
| 47 |
- link: https://docs.metaflow.org/ |
| 48 |
-- title: "**Furo**" |
| 49 |
- image: https://avatars.githubusercontent.com/u/3275593?v=4 |
| 50 |
- link: https://pradyunsg.me/furo/quickstart |
| 51 |
+ |
| 52 |
- title: "**Docker**" |
| 53 |
link: https://docs.docker.com/ |
| 54 |
image: ../_static/inspiration/docker-mark-blue.svg |
| 55 |
-- title: "**PyTorch**" |
| 56 |
- link: https://docs.pytorch.org/docs/stable/index.html |
| 57 |
- image: https://docs.pytorch.org/docs/stable/_static/img/logo-dark.svg |
| 58 |
-- title: "**Docasaurus**" |
| 59 |
- link: https://docusaurus.io/docs |
| 60 |
- image: https://d33wubrfki0l68.cloudfront.net/c088b7acfcf11100903c44fe44f2f2d7e0f30531/47727/img/docusaurus.svg |
| 61 |
-- title: "**Material for MkDocs**" |
| 62 |
- link: https://squidfunk.github.io/mkdocs-material/getting-started/ |
| 63 |
- image: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg |
| 64 |
+ |
| 65 |
``` |
| 66 |
Index: pydata-sphinx-theme/docs/examples/kitchen-sink/generic.rst |
| 67 |
=================================================================== |
| 68 |
--- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/generic.rst |
| 69 |
+++ pydata-sphinx-theme/docs/examples/kitchen-sink/generic.rst |
| 70 |
@@ -3,7 +3,7 @@ |
| 71 |
Licensed under Creative Commons Attribution-ShareAlike 4.0 International License |
| 72 |
SPDX-License-Identifier: CC-BY-SA-4.0 |
| 73 |
|
| 74 |
-.. |EXAMPLE| image:: https://picsum.photos/16/16 |
| 75 |
+.. |EXAMPLE| image:: ../../_static/logo.svg |
| 76 |
:width: 1em |
| 77 |
|
| 78 |
============= |
| 79 |
@@ -110,7 +110,7 @@ Sidebar |
| 80 |
|
| 81 |
Lorem ipsum dolor sit amet consectetur adipisicing elit. |
| 82 |
|
| 83 |
- .. image:: https://picsum.photos/200/200 |
| 84 |
+ .. image:: ../../_static/logo.svg |
| 85 |
|
| 86 |
Lorem ipsum dolor sit amet consectetur adipisicing elit. |
| 87 |
|
| 88 |
@@ -268,4 +268,4 @@ voluptatem officia culpa optio atque. Qu |
| 89 |
Download Links |
| 90 |
============== |
| 91 |
|
| 92 |
-:download:`This long long long long long long long long long long long long long long long download link should wrap white-spaces <https://picsum.photos/200/200>` |
| 93 |
+:download:`This long long long long long long long long long long long long long long long download link should wrap white-spaces <../../_static/logo.svg>` |
| 94 |
Index: pydata-sphinx-theme/docs/examples/kitchen-sink/images.rst |
| 95 |
=================================================================== |
| 96 |
--- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/images.rst |
| 97 |
+++ pydata-sphinx-theme/docs/examples/kitchen-sink/images.rst |
| 98 |
@@ -12,18 +12,18 @@ Images |
| 99 |
|
| 100 |
An image: |
| 101 |
|
| 102 |
-.. image:: https://picsum.photos/200/200 |
| 103 |
+.. image:: ../../_static/logo.svg |
| 104 |
:height: 200 |
| 105 |
:width: 200 |
| 106 |
|
| 107 |
A clickable image: |
| 108 |
|
| 109 |
-.. image:: https://picsum.photos/200/200 |
| 110 |
- :target: https://picsum.photos/ |
| 111 |
+.. image:: ../../_static/logo.svg |
| 112 |
+ :target: ../../_static/logo.svg |
| 113 |
:height: 200 |
| 114 |
:width: 200 |
| 115 |
|
| 116 |
-.. image:: https://picsum.photos/200/200 |
| 117 |
+.. image:: ../../_static/logo.svg |
| 118 |
:align: right |
| 119 |
:height: 200 |
| 120 |
:width: 200 |
| 121 |
@@ -43,7 +43,7 @@ sapiente veritatis doloribus accusantium |
| 122 |
excepturi facere, corrupti expedita sit nihil temporibus eius sequi |
| 123 |
animi, illo libero labore fuga. |
| 124 |
|
| 125 |
-.. image:: https://picsum.photos/200/200 |
| 126 |
+.. image:: ../../_static/logo.svg |
| 127 |
:align: left |
| 128 |
:height: 200 |
| 129 |
:width: 200 |
| 130 |
@@ -66,7 +66,7 @@ animi, illo libero labore fuga. |
| 131 |
Figures |
| 132 |
------- |
| 133 |
|
| 134 |
-.. figure:: https://picsum.photos/200/200 |
| 135 |
+.. figure:: ../../_static/logo.svg |
| 136 |
:alt: reStructuredText, the markup syntax |
| 137 |
|
| 138 |
A figure is an image with a caption and/or a legend: |
| 139 |
@@ -83,7 +83,7 @@ Figures |
| 140 |
|
| 141 |
A figure directive with center alignment |
| 142 |
|
| 143 |
-.. figure:: https://picsum.photos/200/200 |
| 144 |
+.. figure:: ../../_static/logo.svg |
| 145 |
:align: center |
| 146 |
|
| 147 |
This caption should be centered. |
| 148 |
Index: pydata-sphinx-theme/docs/examples/kitchen-sink/lists.rst |
| 149 |
=================================================================== |
| 150 |
--- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/lists.rst |
| 151 |
+++ pydata-sphinx-theme/docs/examples/kitchen-sink/lists.rst |
| 152 |
@@ -246,11 +246,11 @@ Hlists |
| 153 |
.. hlist:: |
| 154 |
:columns: 2 |
| 155 |
|
| 156 |
- - .. figure:: https://picsum.photos/200/200 |
| 157 |
+ - .. figure:: ../../_static/logo.svg |
| 158 |
|
| 159 |
This is a short caption for a figure. |
| 160 |
|
| 161 |
- - .. figure:: https://picsum.photos/200/200 |
| 162 |
+ - .. figure:: ../../_static/logo.svg |
| 163 |
|
| 164 |
This is a long caption for a figure. Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
| 165 |
Donec porttitor dolor in odio posuere, vitae ornare libero mattis. In lobortis justo vestibulum nibh aliquet, non. |
| 166 |
Index: pydata-sphinx-theme/docs/examples/kitchen-sink/structure.rst |
| 167 |
=================================================================== |
| 168 |
--- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/structure.rst |
| 169 |
+++ pydata-sphinx-theme/docs/examples/kitchen-sink/structure.rst |
| 170 |
@@ -83,7 +83,7 @@ luctus efficitur arcu. Cras ut dictum mi |
| 171 |
Document Subsection |
| 172 |
------------------- |
| 173 |
|
| 174 |
-.. figure:: https://picsum.photos/200/200 |
| 175 |
+.. figure:: ../../_static/logo.svg |
| 176 |
:align: right |
| 177 |
:figwidth: 200px |
| 178 |
|
| 179 |
Index: pydata-sphinx-theme/docs/examples/kitchen-sink/tables.rst |
| 180 |
=================================================================== |
| 181 |
--- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/tables.rst |
| 182 |
+++ pydata-sphinx-theme/docs/examples/kitchen-sink/tables.rst |
| 183 |
@@ -137,11 +137,11 @@ List Tables |
| 184 |
|
| 185 |
.. list-table:: This is a list table with images in it. |
| 186 |
|
| 187 |
- * - .. figure:: https://picsum.photos/200/200 |
| 188 |
+ * - .. figure:: ../../_static/logo.svg |
| 189 |
|
| 190 |
This is a short caption for a figure. |
| 191 |
|
| 192 |
- - .. figure:: https://picsum.photos/200/200 |
| 193 |
+ - .. figure:: ../../_static/logo.svg |
| 194 |
|
| 195 |
This is a long caption for a figure. Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
| 196 |
Donec porttitor dolor in odio posuere, vitae ornare libero mattis. In lobortis justo vestibulum nibh aliquet, non. |