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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2fe5f40ba579c0b4324867544963228ca5b5237ba147d17a81ff89006315475 |
|
MD5 | 2cef5bbd6098e96bf6fab6b596dcd7c3 |
|
BLAKE2b-256 | fcf97e7750d33e3f2f05f70f0a04e7cb8d1e00dbca441ce25c3e18c2342935b2 |
Close
Hashes for sphinx_new_tab_link-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d4c12a0752a25484a04b6c727f8e03c743ac8db0b1e6617c8bd6b08f8183eb |
|
MD5 | ed54e4a75aaca4889e833acc8c01bd52 |
|
BLAKE2b-256 | ec8dfeb934244ce75536e53458edb7a88ed61001656be6b25266d366681f38c8 |