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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 382bf84d6259e124c95d4c8c09540b3eb89d4d819ade6cd6e1200298755ab06a |
|
MD5 | 2e2be118e13c09aaaa295883627de8e6 |
|
BLAKE2b-256 | f700ecf5ee81be6f2f66e6be42d6fbf6584395f152d79e5168c5acdf31fa689c |
Close
Hashes for sphinxcontrib_email-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ce27baff6a62dd9144247c03778d589679d9589b9a55cf6fd316449bd713313 |
|
MD5 | 8100d1883444fc7b2739ba56a6748522 |
|
BLAKE2b-256 | 4edfbb2894872f610f23db7bf4e510d9556d996a402ac6c2881355ef26b466a7 |