Plugin for proper resolve intersphinx references for Qt elements
Project description
Sphinx Qt documentation
This is plugin to add cross-link to qt documentation for python code created with PyQt5 or PySide2.
Currently, it supports qtpy
, Qt.py
wrappers and PyQt5
, PySide2
, PyQt6
andPySide6
.
This extension provides one configuration option:
qt_documentation
with possible values:
- PyQt5 - linking to PyQt documentation on https://www.riverbankcomputing.com/static/Docs/PyQt5/api/ (incomplete)
- Qt5 - linking to Qt5 documentation on "https://doc.qt.io/qt-5/" (default)
- PySide2 - linking to PySide6 documentation on "https://doc.qt.io/qtforpython-5/"
- PyQt6 - linking to PyQt documentation on https://www.riverbankcomputing.com/static/Docs/PyQt6/api/ (incomplete)
- Qt6 - linking to Qt5 documentation on "https://doc.qt.io/qt-6/"
- PySide6 - linking to PySide6 documentation on "https://doc.qt.io/qtforpython/PySide6/"
For default this extension use inv
file from PyQt5 to resolve objects.
to overwrite this behaviour set another url for intersphinx_mapping[PyQt5]
ex.:
intersphinx_mapping = {...
"PyQt5": (custom_url, None),
...}
This package currently does not support linking PyQt5 documentation using PySide2 .inv
file
Project details
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_qt_documentation-0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f43ba17baa93e353fb94045027fb67f9d935ed158ce8662de93f08b88eec6774 |
|
MD5 | 9fe0c782358a8ed9ead06e42abe10c3e |
|
BLAKE2b-256 | 7b9a8f5e78c0b2fbee46978f846f83c160bd921cfc983deff70bfeb180f3806b |
Close
Hashes for sphinx_qt_documentation-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa131093f75cd1bd48699cd132e18e4d46ba9eaadc070e6026867cea75ecdb7b |
|
MD5 | 9a5f70d594285947dd44dea5e455e38a |
|
BLAKE2b-256 | cf4061df2d87995e1edcc9929c7811ff099976033363c56a9ced45ebb5fa0534 |