Skip to content

Move away from source.unsplash.com #170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sample-docs/kitchen-sink/generic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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://source.unsplash.com/32x32/daily?icon
.. |EXAMPLE| image:: https://picsum.photos/16/16
:width: 1em

=============
Expand Down Expand Up @@ -110,7 +110,7 @@ Sidebar

Lorem ipsum dolor sit amet consectetur adipisicing elit.

.. image:: https://source.unsplash.com/200x200/daily?cute+puppy
.. image:: https://picsum.photos/200/200

Lorem ipsum dolor sit amet consectetur adipisicing elit.

Expand Down Expand Up @@ -268,4 +268,4 @@ voluptatem officia culpa optio atque. Quaerat sed quibusdam ratione nam.
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 <https://source.unsplash.com/200x200/daily?cute+puppy>`
: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
14 changes: 7 additions & 7 deletions sample-docs/kitchen-sink/images.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ Images

An image:

.. image:: https://source.unsplash.com/200x200/daily?cute+puppy
.. image:: https://picsum.photos/200/200
:height: 200
:width: 200

A clickable image:

.. image:: https://source.unsplash.com/200x200/daily?cute+puppy
:target: https://unsplash.com/
.. image:: https://picsum.photos/200/200
:target: https://picsum.photos/
:height: 200
:width: 200

.. image:: https://source.unsplash.com/200x200/daily?cute+puppy
.. image:: https://picsum.photos/200/200
:align: right
:height: 200
:width: 200
Expand All @@ -43,7 +43,7 @@ sapiente veritatis doloribus accusantium molestiae modi recusandae
excepturi facere, corrupti expedita sit nihil temporibus eius sequi
animi, illo libero labore fuga.

.. image:: https://source.unsplash.com/200x200/daily?cute+puppy
.. image:: https://picsum.photos/200/200
:align: left
:height: 200
:width: 200
Expand All @@ -66,7 +66,7 @@ animi, illo libero labore fuga.
Figures
-------

.. figure:: https://source.unsplash.com/200x200/daily?cute+puppy
.. figure:: https://picsum.photos/200/200
:alt: reStructuredText, the markup syntax

A figure is an image with a caption and/or a legend:
Expand All @@ -83,7 +83,7 @@ Figures

A figure directive with center alignment

.. figure:: https://source.unsplash.com/200x200/daily?cute+puppy
.. figure:: https://picsum.photos/200/200
:align: center

This caption should be centered.
4 changes: 2 additions & 2 deletions sample-docs/kitchen-sink/lists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,11 @@ Hlists
.. hlist::
:columns: 2

- .. figure:: https://source.unsplash.com/200x200/daily?cute+puppy
- .. figure:: https://picsum.photos/200/200

This is a short caption for a figure.

- .. figure:: https://source.unsplash.com/200x200/daily?cute+puppy
- .. figure:: https://picsum.photos/200/200

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.
Expand Down
2 changes: 1 addition & 1 deletion sample-docs/kitchen-sink/structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ luctus efficitur arcu. Cras ut dictum mi. Nulla congue interdum lorem, semper se
Document Subsection
-------------------

.. figure:: https://source.unsplash.com/200x200/daily?cute+puppy
.. figure:: https://picsum.photos/200/200
:align: right
:figwidth: 200px

Expand Down
4 changes: 2 additions & 2 deletions sample-docs/kitchen-sink/tables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ List Tables

.. list-table:: This is a list table with images in it.

* - .. figure:: https://source.unsplash.com/200x200/daily?cute+puppy
* - .. figure:: https://picsum.photos/200/200

This is a short caption for a figure.

- .. figure:: https://source.unsplash.com/200x200/daily?cute+puppy
- .. figure:: https://picsum.photos/200/200

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.
2 changes: 1 addition & 1 deletion sample-docs/long-page.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ luctus efficitur arcu. Cras ut dictum mi. Nulla congue interdum lorem, semper se
Document Subsection
-------------------

.. figure:: https://source.unsplash.com/200x200/daily?cute+animals
.. figure:: https://picsum.photos/200/200
:align: right
:figwidth: 200px

Expand Down