| 1 |
Sphinx Favicon |
| 2 |
============== |
| 3 |
|
| 4 |
**A Sphinx extension to add custom favicons** |
| 5 |
|
| 6 |
With **Sphinx Favicon**, you can add custom favicons to your Sphinx HTML documentation. |
| 7 |
|
| 8 |
You can define favicons directly in your ``conf.py``, using attributes such as ``rel``, |
| 9 |
``sizes``, ``href``, or ``name``. **Sphinx Favicon** creates the respective ``<link>`` |
| 10 |
or ``<meta>`` tags in your HTML output. |
| 11 |
|
| 12 |
The **Sphinx Favicon** extension gives you more flexibility than the |
| 13 |
`standard "favicon.ico" supported by Sphinx <https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_favicon>`_. |
| 14 |
**Sphinx Favicon** provides a quick and easy way to add the most important favicon |
| 15 |
formats for different browsers and devices. |
| 16 |
|
| 17 |
For example, you can add support for general as well as vendor-specific favicons, |
| 18 |
including ``apple-touch-icon`` and ``mask-icon``. See our |
| 19 |
:ref:`quickstart guide <quickstart>` to get started! |
| 20 |
|
| 21 |
Documentation contents |
| 22 |
---------------------- |
| 23 |
|
| 24 |
This documentation contains three sections: |
| 25 |
|
| 26 |
.. grid:: 1 1 3 3 |
| 27 |
|
| 28 |
.. grid-item-card:: |
| 29 |
:link: quickstart |
| 30 |
:link-type: ref |
| 31 |
|
| 32 |
Quickstart |
| 33 |
^^^ |
| 34 |
:fas:`square-caret-right;sd-text-primary` Installation and basic usage |
| 35 |
|
| 36 |
.. grid-item-card:: |
| 37 |
:link: configuration |
| 38 |
:link-type: ref |
| 39 |
|
| 40 |
Configuration |
| 41 |
^^^ |
| 42 |
:fas:`square-caret-right;sd-text-primary` Detailed information about all configuration options and examples |
| 43 |
|
| 44 |
.. grid-item-card:: |
| 45 |
:link: contribute |
| 46 |
:link-type: ref |
| 47 |
|
| 48 |
Contribute |
| 49 |
^^^ |
| 50 |
:fas:`square-caret-right;sd-text-primary` Help improve Sphinx Favicon |
| 51 |
|
| 52 |
|
| 53 |
.. toctree:: |
| 54 |
:hidden: |
| 55 |
:maxdepth: 2 |
| 56 |
|
| 57 |
quickstart |
| 58 |
configuration |
| 59 |
contribute |