Sphinx email obfuscation extension
Project description
This package provides sphinxcontrib.email, an email obfuscator for Sphinx-based documentation.
Installation
pip install sphinxcontrib-email
Configuration
Add 'sphinxcontrib.email' to the extensions list in conf.py.
extensions = [ 'sphinxcontrib.email' ]
Usage
Auto Mode
In conf.py, set
email_automode = True
to automatically obfuscate all mailto links.
Manual Mode
To obfuscate an email address use the email role:
:email:`Name Surname <user@myplace.org>`
Renders as “Name Surname” with the appropriate mailto link.
:email:`user@myplace.org`
Renders as “user@myplace.org” with the appropriate mailto link
Disclaimer
The obfuscation code was adapted from http://pypi.python.org/pypi/bud.nospam where it was released by Kevin Teague <kevin at bud ca> under a BSD license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sphinxcontrib-email-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dae9ae6aec433d5ebffa22fd380180af55b8c6eda7e38da82b4e243472500df |
|
MD5 | 89a79b319a66b9c2d9ae51f0975b64cd |
|
BLAKE2b-256 | 307a5bbaa2c0162cb180e5a9e7f67dff4d7345ce80a646e0c8be14d090804797 |
Close
Hashes for sphinxcontrib_email-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3534c0dc91078276c3d6c2050dca3201ac9542f719e49486bf636cd48cadc229 |
|
MD5 | c37ab3d228b3be28b9d6833edc746dc2 |
|
BLAKE2b-256 | 295116ba45cc2de1c63f10f7457f35bdb6dff8122522299dcdaefc0cf7ab4bd5 |