Sphinx email obfuscation extension
Project description
This package provides sphinxcontrib.email, an email obfuscator for Sphinx-based documentation.
Installation
pip install sphinxcontrib-email
Support for python 3.6 will be dropped after its EOL on 2021-12-23.
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
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
File details
Details for the file sphinxcontrib_email-0.3.6.tar.gz
.
File metadata
- Download URL: sphinxcontrib_email-0.3.6.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abccace14150985bbc7a1e9044d427e8ff3d9caafd255b9f0665f8b78b6645b8 |
|
MD5 | 5d950324d08928e7d8c98621ef8fd80b |
|
BLAKE2b-256 | 9257b89465c5574334a750d2d5f603c235d2392d3777bef6799ef5fc13ef97a9 |
File details
Details for the file sphinxcontrib_email-0.3.6-py3-none-any.whl
.
File metadata
- Download URL: sphinxcontrib_email-0.3.6-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71a34f32af6d38f7fb8de361db057194ea609eb8b990be1f7e5db564c52dc25 |
|
MD5 | 7646ae4ee6aa908cd0055c611258e8cd |
|
BLAKE2b-256 | 14ea2de2ce05d731981b67ef081c619a34cf961410966321f571e3773fd7e80a |