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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 493f899337edee20952e4afcacd31b763196f92f3d554476df86972a84e60437 |
|
MD5 | 16cd30de88766fea0fafb3414dcacd20 |
|
BLAKE2b-256 | 531f927242ce439b9057b4b604f59b63b53ba980ee1ecb1613291c050862bb7d |
Close
Hashes for sphinx_new_tab_link-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be89417a5fb81bbdc3e6b9cc8555ffe6c788b0ce03dd45e7db825013738c2511 |
|
MD5 | 8d9c0d869b79e072f67e8c84c3a27467 |
|
BLAKE2b-256 | d7c242e207e67d5154a594f352806f7e414705058f169e59cedafe724af7da2e |