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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 223ab53f0b68c229327ce8f2ec70b62fcd88e5503f3bd73ed40b853169e9d6f8 |
|
MD5 | 7aecad2610028a0462a4048c5964f4db |
|
BLAKE2b-256 | 813313f9bb827ab431172c35241c0815e9adcba26c476daf6d59b40077dc3c8b |
Close
Hashes for sphinx_new_tab_link-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d95f80b2c47fda9c71644fc23765d3c653f1d8c6622306788fdb53794345786 |
|
MD5 | d0dab47aaf020483652a634e0eaf2a35 |
|
BLAKE2b-256 | 650b87e673228794e52954792d681d774a4809faadff5b0d49c23b13a42bbb81 |