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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx-new-tab-link-0.3.0.tar.gz.
File metadata
- Download URL: sphinx-new-tab-link-0.3.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40f8faff7c89131e9642a1ae12cbb26b794d68a1e9963ff869f0ed30265decae
|
|
| MD5 |
15317328a68594047eea92583a7ddd2b
|
|
| BLAKE2b-256 |
1e175a87c4ca8bc31ba1ef632f439e9a67d634bd2d168b6d51013b7cc963b8ad
|
File details
Details for the file sphinx_new_tab_link-0.3.0-py3-none-any.whl.
File metadata
- Download URL: sphinx_new_tab_link-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaa7afe7cfa2facc0ea281608e816694613ac1a883eff06dfde75d100b8406d1
|
|
| MD5 |
df60372e05d02b0829fd26277fb11609
|
|
| BLAKE2b-256 |
b48b76c8d7f11e8421aafb2ac2b89d6aa1ca12c0922c41878014bb7b2436a7ca
|