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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37346f29bc0a144d5ad27ad7bb0c6ff34e8d66e2834ee3707ddea1016df28a1c |
|
MD5 | 76dc92b20148a521a41ed236e8a26b7d |
|
BLAKE2b-256 | e905908d8e62bc058aa2d76932875ec9603f3b4a22a2e223cb33b2b5813580b4 |
Close
Hashes for sphinx_new_tab_link-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a164ccb0e3d7cf69279c700771401117abb54f6198f98aa153b70d2c2cf9265d |
|
MD5 | 97e43917cad266aea8c9d23b37a06075 |
|
BLAKE2b-256 | 305f67a2411dac44d68a9b019768ddb2ac2b2f3634f6bda304edd5c3a3e43749 |