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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c50f5c78ec59fee255f66d9adf994b8ecbf15534b51050aedca875b60da99239 |
|
MD5 | 380336ec7a0eb66d3c78bc34d7d442af |
|
BLAKE2b-256 | 7a3c731cccf25c508f18cbcbec65c5d42d69a4bd79282ac10d1bd3f07c606f3e |
Close
Hashes for sphinxcontrib_email-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8b14470ffa886afdd58c1c9e561e7cc2b40be11fab0c87e7b501bbe68eeddbb |
|
MD5 | 43176e3fb52d5f8eef1c9d78957aaa06 |
|
BLAKE2b-256 | 4c451a9acdd745a00bae7fbd623a5134a0b87fee9f17c1d3047f3e5fc5926b97 |