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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3909c5bdd1ce670da379097e4c5b09baa34ecaa72590315ef1ec25bb9b1129a7 |
|
MD5 | 5dfd7b309d6b6cbec3366d042d651df5 |
|
BLAKE2b-256 | a505dfe508bdd8169c24d947b6c1edee4d530fba27c5195ba83b92af1c821bf8 |
Close
Hashes for sphinx_new_tab_link-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 415a8f5762b43e418b0ef2d23150d7e1a3c5795ab48be0b7b4417f15c13c0f92 |
|
MD5 | 534d547f4f15d3bd263a5f1a8e04a534 |
|
BLAKE2b-256 | 3d3f857a30f7314e4d4684fb88760f1e06b6fd35c6a93a2913515f72d13a8e61 |