Open external links in new tabs of the browser in Sphinx HTML documents
Project description
sphinx-new-tab-link
Open external links in new tabs of the browser in Sphinx HTML documents
Overview
If you enable sphinx_new_tab_link
, external links of built HTML are opened in new tabs of your browser.
The reST
External link: `Example <https://example.com/>`_
is converted into
External link: <a class="reference external" href="https://example.com/" rel="noopener noreferrer" target="_blank">Example</a>
Usage
First, create your Sphinx documentation.
Then edit conf.py
to use this extension.
extensions = [
"sphinx_new_tab_link",
]
Enjoy documentation!🙌
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 sphinx-new-tab-link-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40f8faff7c89131e9642a1ae12cbb26b794d68a1e9963ff869f0ed30265decae |
|
MD5 | 15317328a68594047eea92583a7ddd2b |
|
BLAKE2b-256 | 1e175a87c4ca8bc31ba1ef632f439e9a67d634bd2d168b6d51013b7cc963b8ad |
Close
Hashes for sphinx_new_tab_link-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaa7afe7cfa2facc0ea281608e816694613ac1a883eff06dfde75d100b8406d1 |
|
MD5 | df60372e05d02b0829fd26277fb11609 |
|
BLAKE2b-256 | b48b76c8d7f11e8421aafb2ac2b89d6aa1ca12c0922c41878014bb7b2436a7ca |