sphinx-icon-0.2.2
توضیحات
A sphinx custom role to embed inline fontawesome incon in the latex and html outputs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | sphinx-icon-0.2.2 |
| نام | sphinx-icon |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Pierrick Rambaud <pierrick.rambaud49@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/sphinx-icon/ |
| مجوز | BSD 2-Clause |
sphinx-icon
===========
.. image:: https://img.shields.io/badge/License-BSD_2--Clause-yellow.svg
:target: https://github.com/sphinx-contrib/icon/blob/main/LICENSE
:alt: License: BSD 2-Clause
.. image:: https://img.shields.io/pypi/v/sphinx-icon?logo=python&logoColor=white&color=blue
:target: https://pypi.org/project/sphinx-icon/
:alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/sphinx-icon?logo=python&logoColor=white&color=blue
:target: https://pypi.org/project/sphinx-icon/
:alt: supported Python version
.. image:: https://img.shields.io/github/actions/workflow/status/sphinx-contrib/icon/unit.yaml?logo=github&logoColor=white
:target: https://github.com/sphinx-contrib/icon/actions/workflows/unit.yaml
:alt: GitHub Workflow Status
.. image:: https://img.shields.io/codecov/c/github/sphinx-contrib/icon?logo=codecov&logoColor=white
:target: https://codecov.io/gh/sphinx-contrib/icon
:alt: Codecov
.. image:: https://img.shields.io/readthedocs/sphinx-icon?logo=readthedocs&logoColor=white
:target: https://sphinx-icon.readthedocs.io/en/latest/?badge=latest
:alt: Read the Docs
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Black badge
.. image:: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
:target: https://conventionalcommits.org
:alt: conventional commit
Overview
--------
:code:`sphinx-icon` is a Sphinx extention to allow developers to use the :code:`icon` role to display inlined icons.
The extention currently supports only Fontawsome 6.3.0 icons.
.. code-block:: rst
I'm an :icon:`fa-solid fa-folder` icon.
I'm an :icon:`fa-regular fa-user` icon.
I'm an :icon:`fa-brands fa-500px` icon.
.. image:: https://raw.githubusercontent.com/sphinx-contrib/icon/main/docs/_static/demo.png
:alt: demo result
Please go to our `doc <https://sphinx-icon.readthedocs.io/en/latest/>`__ if you want to know more.
Contribute
----------
If you want to contribute you can fork the project in you own repository and then use it.
If you consider working with us, please follow the `contributing guidelines <https://github.com/sphinx-contrib/icon/blob/main/CONTRIBUTING.rst>`__.
Meet our `contributor <https://github.com/sphinx-contrib/icon/blob/main/AUTHORS.rst>`__.
نیازمندی
| مقدار | نام |
|---|---|
| - | sphinx |
| - | pyyaml |
| - | nox |
| - | pre-commit |
| - | mypy |
| ==0.13.0rc3 | pydata-sphinx-theme |
| - | sphinx-design |
| - | sphinx-copybutton |
| - | pytest |
| - | beautifulsoup4 |
| - | pytest-regressions |
| - | pytest-cov |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.9 | Python |
نحوه نصب
نصب پکیج whl sphinx-icon-0.2.2:
pip install sphinx-icon-0.2.2.whl
نصب پکیج tar.gz sphinx-icon-0.2.2:
pip install sphinx-icon-0.2.2.tar.gz