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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c821e48b13c1277ec229857954ba53882735a46d7915a2ee49fd70bca4be1bc |
|
MD5 | 79b9ea97bdf9b8ad49187dfd21be9649 |
|
BLAKE2b-256 | 867b9fb9c9dc2ac3489b4edf8ffa42293ca84418d887b5385be2b0888140e0e8 |
Close
Hashes for sphinx_new_tab_link-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b351bee4ad97c1d202a9faba0c9749c23f4218c3c8d213d47d24591787552a85 |
|
MD5 | c49a701b8d95038952d8c644ec200089 |
|
BLAKE2b-256 | 0673944eaed3c5cc67ee1f802f5941557b3771a4db0643dc62f1251247edb692 |