1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Customization
-------------
The directive ``contributors`` generates an ``<ul>`` node with class ``sphinx-contributors``.
This makes the list is highly customizable through CSS.
.. tip:: See how to `add custom CSS to Sphinx Documentation <https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html>`_.
For example, the following CSS snippet makes the images round:
.. code-block:: css
.sphinx-contributors img {
border-radius: 50%;
}
.. rst-class:: custom-contributors
.. contributors:: sphinx-doc/sphinx
:avatars:
:exclude: dgarcia360,sphinx
:limit: 5
:order: DESC
|