add directive for fontawesome in sphinx
Project description
It is a extension for sphinx.
Add directive for use fontawesome
Installation
pip install sphinx_fontawesome
Or
git clone https://github.com/fraoustin/sphinx_fontawesome.git cd sphinx_fontawesome python setup.py install
Use
In your conf.py
import sphinx_fontawesome extensions = ['sphinx_fontawesome']
In your rst file, you can use
directive
.. fa:: check
role
:fa:`check` :fa:`check lg` :fa:`square-o`
substitution
|check| |square-o|
If you change in your conf.py a value of prolog_rst, and you use subsitution you can add in prolog_rst sphinx_fontawesome.prolog
prolog_rst = sphinx_fontawesome.prolog + "my prolog"
0.0.1
initialize extension
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinx_fontawesome-0.0.1.tar.gz
(18.6 kB
view hashes)