Skip to main content

A sphinx custom role to embed inline btn which is an icon in a guilabel in the latex and html outputs

Project description

License: BSD 2-Clause PyPI supported Python version GitHub Workflow Status Codecov Read the Docs Black badge conventional commit

Overview

sphinx-btn is a Sphinx extention to allow developers to use the btn role to display inlined btn in their documentation. A btn is composed of an icon and/or some text. The extention currently supports only Fontawsome 6.3.0 icons.

I'm a :btn:`<fa-solid fa-folder> fa-folder` btn.
I'm a :btn:`<fa-solid fa-folder>` btn.
I'm a :btn:`fa-folder` btn.
demo result

Please go to our doc 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. Meet our contributor.

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-btn-0.1.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

sphinx_btn-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sphinx-btn-0.1.2.tar.gz.

File metadata

  • Download URL: sphinx-btn-0.1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for sphinx-btn-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b62b5d6caa785c4d7e79467965e3bd0e6b7658758afad02d2ab459cde2a42828
MD5 9f8628b136bf12da2f0d96a66194d6dc
BLAKE2b-256 899983086d668b8f5216c725488bf52325a16d3e2af66dbbedd382a3dce8eac5

See more details on using hashes here.

File details

Details for the file sphinx_btn-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sphinx_btn-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for sphinx_btn-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a8081473b6c71488a96b132853e86a66957d3786db7521a5b5a68f9e997f95de
MD5 7423bdcde4a7db98c2169d348d337007
BLAKE2b-256 817bcdb47db90d7eb3a9fb4a888d93a7795533c9140e86fbc2cb6bd0d5af23ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page