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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5940124b951a6b20f7f26d3aae5561ecb064c0ca80b6b39da7ed56e7f8fcba8c |
|
MD5 | d68cc7c895a5d70deaff6714d0cac6f5 |
|
BLAKE2b-256 | 8e028e80d4b9af0d72e899c8f9ea131028faa24bbda5142543fd99231387c206 |
Close
Hashes for sphinxcontrib_email-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a6f9088d8bbdab7b445a4786816c7fc5d7736ffbab544a9cdb0147bee2c8b02 |
|
MD5 | 2c859bce1616500c7c3e5a274f1691ee |
|
BLAKE2b-256 | 5b018370e827de60f8654daef438e6e4c773c921dcccf147d2638a4d6667b16f |