Skip to content

Commit

Permalink
Add instructions/source for logos.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored and ssbarnea committed Mar 22, 2022
1 parent e233b44 commit ac29949
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@ sphinx_ansible_theme
A reusable Ansible Sphinx Theme.

Demo-site at https://sphinx-ansible-theme.readthedocs.io/en/latest/

Logos in ``sphinx_ansible_theme/static/images/``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The Ansible logos are taken from `the official Ansible Community logo download page <https://www.ansible.com/logos>`_. The files are slightly modified as follows:

* The SVG logos' bounding boxes are modified from ``0 0 300 300`` to ``30 30 240 240``.
* The PNG files are rescaled to 180x180 using ImageMagick as follows:

.. code-block:: sh
convert Ansible-Mark-Large-RGB-Black.png -resize 180x180 Ansible-Mark-RGB_Black.png
convert Ansible-Mark-Large-RGB-White.png -resize 180x180 Ansible-Mark-RGB_White.png

0 comments on commit ac29949

Please sign in to comment.