Skip to main content

Sphinx email obfuscation extension

Project description

[Latest PyPI version] [Supported Python versions] [pre-commit: enabled] [Code style: black] [Code style: prettier]

This package provides sphinxcontrib.email, an email obfuscator for Sphinx-based documentation.

Installation

  1. pip install sphinxcontrib-email

Configuration

  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib-email-0.3.4.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

sphinxcontrib_email-0.3.4-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file sphinxcontrib-email-0.3.4.tar.gz.

File metadata

  • Download URL: sphinxcontrib-email-0.3.4.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for sphinxcontrib-email-0.3.4.tar.gz
Algorithm Hash digest
SHA256 8ab753b543e4c86a0927972408f4eda4b947d2f806f5e29c8de9c218dddcefd7
MD5 f6cc04b7258c051a0463559f5ef67e61
BLAKE2b-256 9b490b2e5d557c57b22a17b07463d571b4f393a57fc6d824c8fa36b5710ba26e

See more details on using hashes here.

File details

Details for the file sphinxcontrib_email-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: sphinxcontrib_email-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for sphinxcontrib_email-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7b4c6607fb0c2c4f0cd0a6b6b2855d4173255ed10e12bf995e44c95536d52ba8
MD5 ea1940ddaa716bd3281b5d19ff86faaa
BLAKE2b-256 017fd88af7c6a42a399b4d1f44160fbd8a5bb8f869a526f249bad32b43cacc33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page