[ADD] extensions: icon_role font awesome

closes odoo/documentation#9066

X-original-commit: 1f851af029
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
This commit is contained in:
Sam Lieber (sali)
2024-04-01 13:12:09 +00:00
parent b4a8e166a6
commit 1287839683
7 changed files with 960 additions and 0 deletions

View File

@@ -211,6 +211,24 @@ Use the `command` markup to highlight a command.
Run the command :command:`make clean html` to delete existing built files and build the
documentation to HTML.
.. _contributing/markups/icons:
Icons
-----
Use the `icon` markup to add a class name of an icon. The icon set used is *Font Awesome*. It is
recommended to accompany an icon with a :ref:`contributing/markups/guilabel` as a descriptor,
however, it is not mandatory.
.. list-table::
:class: o-showcase-table
* - The graph view is represented by the :icon:`fa-bar-chart` :guilabel:`(bar chart)` icon.
* - .. code-block:: text
The graph view is represented by the :icon:`fa-bar-chart` :guilabel:`(bar chart)` icon.
.. _contributing/lists:
Lists