sphinx-fasvg


Namesphinx-fasvg JSON
Version 2.0.0 PyPI version JSON
download
home_page
SummaryA Sphinx fontawesome wrapper for SVG format
upload_time2023-08-03 13:48:16
maintainerkujiu, ptitgnu
docs_urlNone
authorkujiu, ptitgnu
requires_python>=3.8
license
keywords sphinx doc theme
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Fontawesome SVG for Sphinx
==========================

Install the module :

.. code:: bash

   python setup.py install

Download SVGs from fontawesome website. Configure it
in your `conf.py`:

.. code:: python

   fa_brands_path = '_static/fa/brands.svg'
   fa_regular_path = '_static/fa/regular.svg'
   fa_solid_path = '_static/fa/solid.svg'

Use inline references for brands, regular or solid:

.. code:: rst

   Display an icon, with no alt text and aria-hidden:

   :fab:`icon`
   :far:`icon`
   :fas:`icon`

   :fab:`icon[alt text]`
   :far:`icon[alt text]`
   :fas:`icon[alt text]`

   An icon with some attributes:

   .. far:: icon
      :class: myclass
      :id: myid
      :alt: alt text

   For links with fasvglink and icon name as classes.
   This can be used to create fancy social links

   :fablink:`icon: Text <url>`
   :farlink:`icon: Text <url>`
   :faslink:`icon: Text <url>`

   :fablink:`icon: Text[alt text] <url>`
   :farlink:`icon: Text[alt text] <url>`
   :faslink:`icon: Text[alt text] <url>`

.. warning::

   Icon is not inserted in LaTeX document for now.
   It uses alt text for all builders except HTML and
   ePub.

By kujiu, EUPL 1.2 licence.


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "sphinx-fasvg",
    "maintainer": "kujiu, ptitgnu",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Nerv Project ASBL <contact@nerv-project.eu>",
    "keywords": "sphinx,doc,theme",
    "author": "kujiu, ptitgnu",
    "author_email": "Nerv Project ASBL <contact@nerv-project.eu>",
    "download_url": "https://files.pythonhosted.org/packages/31/e6/f528945dc7b7b2f52a5bcab46ee3fa22ded7553509aefc09d5b57d2c4ab3/sphinx_fasvg-2.0.0.tar.gz",
    "platform": null,
    "description": "Fontawesome SVG for Sphinx\n==========================\n\nInstall the module :\n\n.. code:: bash\n\n   python setup.py install\n\nDownload SVGs from fontawesome website. Configure it\nin your `conf.py`:\n\n.. code:: python\n\n   fa_brands_path = '_static/fa/brands.svg'\n   fa_regular_path = '_static/fa/regular.svg'\n   fa_solid_path = '_static/fa/solid.svg'\n\nUse inline references for brands, regular or solid:\n\n.. code:: rst\n\n   Display an icon, with no alt text and aria-hidden:\n\n   :fab:`icon`\n   :far:`icon`\n   :fas:`icon`\n\n   :fab:`icon[alt text]`\n   :far:`icon[alt text]`\n   :fas:`icon[alt text]`\n\n   An icon with some attributes:\n\n   .. far:: icon\n      :class: myclass\n      :id: myid\n      :alt: alt text\n\n   For links with fasvglink and icon name as classes.\n   This can be used to create fancy social links\n\n   :fablink:`icon: Text <url>`\n   :farlink:`icon: Text <url>`\n   :faslink:`icon: Text <url>`\n\n   :fablink:`icon: Text[alt text] <url>`\n   :farlink:`icon: Text[alt text] <url>`\n   :faslink:`icon: Text[alt text] <url>`\n\n.. warning::\n\n   Icon is not inserted in LaTeX document for now.\n   It uses alt text for all builders except HTML and\n   ePub.\n\nBy kujiu, EUPL 1.2 licence.\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Sphinx fontawesome wrapper for SVG format",
    "version": "2.0.0",
    "project_urls": {
        "changelog": "https://procrastinator.nerv-project.eu/nerv-project/sphinx_fasvg/raw/branch/main/CHANGES.rst",
        "editor": "https://www.nerv-project.eu",
        "homepage": "https://www.nerv-project.eu",
        "issues": "https://procrastinator.nerv-project.eu/nerv-project/sphinx_fasvg/issues",
        "repository": "https://procrastinator.nerv-project.eu/nerv-project/sphinx_fasvg"
    },
    "split_keywords": [
        "sphinx",
        "doc",
        "theme"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4f7a7e4324502b3851952eceb9a52a86ae262e8238c5c0f5654b757d699511e",
                "md5": "bedf0776a614c11b7d386b8593be7686",
                "sha256": "a74d9b17793f0f4dae12b8e98f143ff73f6b26ae2c46465eae157bef11ba2524"
            },
            "downloads": -1,
            "filename": "sphinx_fasvg-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bedf0776a614c11b7d386b8593be7686",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 25531,
            "upload_time": "2023-08-03T13:48:14",
            "upload_time_iso_8601": "2023-08-03T13:48:14.585926Z",
            "url": "https://files.pythonhosted.org/packages/f4/f7/a7e4324502b3851952eceb9a52a86ae262e8238c5c0f5654b757d699511e/sphinx_fasvg-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "31e6f528945dc7b7b2f52a5bcab46ee3fa22ded7553509aefc09d5b57d2c4ab3",
                "md5": "770e0ffb908fb722d59351b5877fd11b",
                "sha256": "9f19a2a8ff6c2cb3bad9864fcf22eae3257ed60813c96aacb89a305dd7aee7d2"
            },
            "downloads": -1,
            "filename": "sphinx_fasvg-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "770e0ffb908fb722d59351b5877fd11b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 24211,
            "upload_time": "2023-08-03T13:48:16",
            "upload_time_iso_8601": "2023-08-03T13:48:16.060350Z",
            "url": "https://files.pythonhosted.org/packages/31/e6/f528945dc7b7b2f52a5bcab46ee3fa22ded7553509aefc09d5b57d2c4ab3/sphinx_fasvg-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-03 13:48:16",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "sphinx-fasvg"
}
        
Elapsed time: 0.09821s