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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e523cfe2a7a6c70f5d76cce5853ac5a2483099c6c90409957294dc2ca1d6af9 |
|
MD5 | 7e5d15c0b70bf2d67e077a1c0ce518e0 |
|
BLAKE2b-256 | aabf661dcca126ba4e10c183fbc82ff1e8cec6b84a942e7cf5bd566f17fd3de1 |
Close
Hashes for sphinx_new_tab_link-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2321b633170d8e33acae8afb96b3d7d9a8b3f081271987ae12a53151e2a0ab56 |
|
MD5 | 868b49c60bfefe57accadf67578463f0 |
|
BLAKE2b-256 | 23b48269282568ac9e26dbefdbdb642e89b8f2b211ef9f5f00f50a466c05f0b6 |