From: Dmitry Shachnev Date: Sat, 1 Feb 2025 16:41:58 +0300 Subject: Remove use of external images from the docs Forwarded: not-needed --- docs/community/contributors.md | 9 --------- docs/community/inspiration.md | 32 +++++++------------------------- docs/examples/kitchen-sink/generic.rst | 4 ++-- docs/examples/kitchen-sink/images.rst | 12 ++++++------ docs/examples/kitchen-sink/lists.rst | 4 ++-- docs/examples/kitchen-sink/structure.rst | 2 +- docs/examples/kitchen-sink/tables.rst | 4 ++-- docs/user_guide/light-dark.rst | 8 ++++---- 8 files changed, 24 insertions(+), 51 deletions(-) Index: pydata-sphinx-theme/docs/community/contributors.md =================================================================== --- pydata-sphinx-theme.orig/docs/community/contributors.md +++ pydata-sphinx-theme/docs/community/contributors.md @@ -2,15 +2,6 @@ This theme is supported and developed by various members of [the PyData community](https://pydata.org). -## Collaborators on the repository - -Here is a grid of collaborators on our GitHub repository. -We don't yet have formal "team definitions" so this is mostly a reflection of who has commit rights to the repository. - -```{gallery-grid} ../_static/contributors.yaml -:class-card: text-center -``` - ## Financial support 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. Index: pydata-sphinx-theme/docs/community/inspiration.md =================================================================== --- pydata-sphinx-theme.orig/docs/community/inspiration.md +++ pydata-sphinx-theme/docs/community/inspiration.md @@ -9,22 +9,9 @@ When making new decisions about design a - title: "**GitBook**" link: https://gitbook.com/docs/ image: ../_static/inspiration/GitBook-Icon-Dark.svg -- title: "**Metaflow**" - image: https://raw.githubusercontent.com/Netflix/metaflow/refs/heads/master/docs/metaflow.svg - link: https://docs.metaflow.org/ -- title: "**Furo**" - image: https://avatars.githubusercontent.com/u/3275593?v=4 - link: https://pradyunsg.me/furo/quickstart + - title: "**Docker**" link: https://docs.docker.com/ image: ../_static/inspiration/docker-mark-blue.svg -- title: "**PyTorch**" - link: https://docs.pytorch.org/docs/stable/index.html - image: https://docs.pytorch.org/docs/stable/_static/img/logo-dark.svg -- title: "**Docasaurus**" - link: https://docusaurus.io/docs - image: https://d33wubrfki0l68.cloudfront.net/c088b7acfcf11100903c44fe44f2f2d7e0f30531/47727/img/docusaurus.svg -- title: "**Material for MkDocs**" - link: https://squidfunk.github.io/mkdocs-material/getting-started/ - image: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg + ``` Index: pydata-sphinx-theme/docs/examples/kitchen-sink/generic.rst =================================================================== --- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/generic.rst +++ pydata-sphinx-theme/docs/examples/kitchen-sink/generic.rst @@ -3,7 +3,7 @@ Licensed under Creative Commons Attribution-ShareAlike 4.0 International License SPDX-License-Identifier: CC-BY-SA-4.0 -.. |EXAMPLE| image:: https://picsum.photos/16/16 +.. |EXAMPLE| image:: ../../_static/logo.svg :width: 1em ============= @@ -110,7 +110,7 @@ Sidebar Lorem ipsum dolor sit amet consectetur adipisicing elit. - .. image:: https://picsum.photos/200/200 + .. image:: ../../_static/logo.svg Lorem ipsum dolor sit amet consectetur adipisicing elit. @@ -268,4 +268,4 @@ voluptatem officia culpa optio atque. Qu Download Links ============== -:download:`This long long long long long long long long long long long long long long long download link should wrap white-spaces ` +: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>` Index: pydata-sphinx-theme/docs/examples/kitchen-sink/images.rst =================================================================== --- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/images.rst +++ pydata-sphinx-theme/docs/examples/kitchen-sink/images.rst @@ -12,18 +12,18 @@ Images An image: -.. image:: https://picsum.photos/200/200 +.. image:: ../../_static/logo.svg :height: 200 :width: 200 A clickable image: -.. image:: https://picsum.photos/200/200 - :target: https://picsum.photos/ +.. image:: ../../_static/logo.svg + :target: ../../_static/logo.svg :height: 200 :width: 200 -.. image:: https://picsum.photos/200/200 +.. image:: ../../_static/logo.svg :align: right :height: 200 :width: 200 @@ -43,7 +43,7 @@ sapiente veritatis doloribus accusantium excepturi facere, corrupti expedita sit nihil temporibus eius sequi animi, illo libero labore fuga. -.. image:: https://picsum.photos/200/200 +.. image:: ../../_static/logo.svg :align: left :height: 200 :width: 200 @@ -66,7 +66,7 @@ animi, illo libero labore fuga. Figures ------- -.. figure:: https://picsum.photos/200/200 +.. figure:: ../../_static/logo.svg :alt: reStructuredText, the markup syntax A figure is an image with a caption and/or a legend: @@ -83,7 +83,7 @@ Figures A figure directive with center alignment -.. figure:: https://picsum.photos/200/200 +.. figure:: ../../_static/logo.svg :align: center This caption should be centered. Index: pydata-sphinx-theme/docs/examples/kitchen-sink/lists.rst =================================================================== --- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/lists.rst +++ pydata-sphinx-theme/docs/examples/kitchen-sink/lists.rst @@ -246,11 +246,11 @@ Hlists .. hlist:: :columns: 2 - - .. figure:: https://picsum.photos/200/200 + - .. figure:: ../../_static/logo.svg This is a short caption for a figure. - - .. figure:: https://picsum.photos/200/200 + - .. figure:: ../../_static/logo.svg This is a long caption for a figure. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec porttitor dolor in odio posuere, vitae ornare libero mattis. In lobortis justo vestibulum nibh aliquet, non. Index: pydata-sphinx-theme/docs/examples/kitchen-sink/structure.rst =================================================================== --- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/structure.rst +++ pydata-sphinx-theme/docs/examples/kitchen-sink/structure.rst @@ -83,7 +83,7 @@ luctus efficitur arcu. Cras ut dictum mi Document Subsection ------------------- -.. figure:: https://picsum.photos/200/200 +.. figure:: ../../_static/logo.svg :align: right :figwidth: 200px Index: pydata-sphinx-theme/docs/examples/kitchen-sink/tables.rst =================================================================== --- pydata-sphinx-theme.orig/docs/examples/kitchen-sink/tables.rst +++ pydata-sphinx-theme/docs/examples/kitchen-sink/tables.rst @@ -137,11 +137,11 @@ List Tables .. list-table:: This is a list table with images in it. - * - .. figure:: https://picsum.photos/200/200 + * - .. figure:: ../../_static/logo.svg This is a short caption for a figure. - - .. figure:: https://picsum.photos/200/200 + - .. figure:: ../../_static/logo.svg This is a long caption for a figure. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec porttitor dolor in odio posuere, vitae ornare libero mattis. In lobortis justo vestibulum nibh aliquet, non.