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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaefd94d5aa75c60a6c1e94b80d75c4281c3b6f95669b8e606f212744818b916 |
|
MD5 | cf1a8635ee4a1cc1fe50516e27814c5f |
|
BLAKE2b-256 | 358fbc2128d633c8735eb5fbfb730a0fc03c1da41538fe767d35b85113e2615d |
Close
Hashes for sphinx_new_tab_link-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2353bfd3a171fdbd9dcdf33e5f26b4447607293ff2b57e0f6a2dc18d1507598e |
|
MD5 | d6064fc1203d1efa77b3dd1ae50146aa |
|
BLAKE2b-256 | 8f81365ceb5ee8a92bd016af3b65398a63cdf4f6999d70b9b30a4fc7bd03a292 |