| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I051ddcc61904f293ed0f21173e040f8c89e2232e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: Ide68c9045413f26ad7d7fc781aef03d61ea99179
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
This enables qdoc to include the content from the QtQml
module page.
Change-Id: I889e7918ae33cdc7d11f08a7e68a97c123fa05cc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: I13d72daba91e608ede9498b04044bf048834f321
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This should help excluding parts of qt documentation that are
not relevant for Qt for Python. For example, the
\snippet entries that include qmake project file statements.
Change-Id: Iec05be72b1400ecb61a109688aaa9e3bf19e95b5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
In addition, scaled down the app screenshot.
Change-Id: I9edf9bf6dc3c2f4e81097feaccaa266498776a6f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: I83b66d2aa7a9e607d458f22b2ef6fc25e4abe944
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\
| |
| |
| | |
Change-Id: I7e55b4f27f77e2333b9e0f4cddc8de4b89b6043b
|
| |
| |
| |
| |
| | |
Change-Id: I2af23226c93706c0c18f07ce4cf59e362b170997
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I2de0fe8456fca242c56ea28520126f9ebbf540d8
|
| |
| |
| |
| |
| | |
Change-Id: I9ea0bed7709265c89e1bf38624024e61ee07adc7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I9b923d6fefbfae4efcf63f7459cf1ee89fb08f19
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Added docstrings to the examples sources
to autogenerate the docs for the different parts.
- Updated the conf.py.in to include sphinx.ext.viewcode
to generate html for every source file of the
example.
Change-Id: I668c55070556ca49d12d38c8ec83f09313bffc36
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I31a0ff26bc02e6cc2ec2a816c16d170fc334f800
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The tool was originally written to handle a license embedded
in a Python file. This has changed, the license now exists as
a text file.
Rewrite the tool to concatenate the output piece-wise instead
of using fixed formats to be able to cope with missing URLs and
versions. Add the copyrights, which were previously missing.
Task-number: PSYIDE-363
Change-Id: I5ec0bd7a4b81e9f794f56f6b2b09062c331936ae
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I4b6ef2bcc91c46b3084f9797c1bbfaddc4367941
|
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-363
Change-Id: Ib0bc82733932eb96f9d2ca42649d28bc600d8f60
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Work around the non-standard header naming of the module
in the documentation generation (see also file
sources/pyside2/PySide2/QtX11Extras/QtX11Extras_global.post.h.in).
Task-number: PYSIDE-363
Change-Id: I3ff8bb666513a13fde4d13693fd06bdd7866e050
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
They share the qdoc.conf file with QtMultimedia, which
needs to be special-cased, similar to QQuickWidgets.
Task-number: PYSIDE-363
Change-Id: I5abade0a715ff3245be2322eae42e7c93f643fc9
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I0c5b60263ed642a9b6f6b5d6a1492a11f278bfd5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Complements 9d10897929350417f4c7b2dcf06966ff7c67c5a6.
Task-number: PYSIDE-487
Change-Id: I4a01c986535c0d7ba8362760c1b8e89a2f8e9936
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
- _templates/index.html
Change-Id: Idcde052a1a77e2ade1de712db79da95d5ed6c02c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I63e3d87a62932e20ce28bf344636c05a61f1c6b0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I20cf741f5b07426ad5113eb8c52f144102c331ce
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adapt the layout template accordingly.
Task-number: PYSIDE-363
Change-Id: Iea3b50770acf908f04fcfbd39d178de33c247c01
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce a simple [] notation for target directories.
Task-number: PYSIDE-363
Change-Id: I3a0cd255faf84f564a64992cba88244ae14c2452
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also reorganized the toctree structure by removing the sections.
Change-Id: I6d3bbc363b86d07cc05fd3b7391b3f8b0de3605c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ic7aa7796dffda87ef492a99af7859c909ec607a2
|
| |
| |
| |
| |
| | |
Change-Id: I40af60a2af1e54ffa5ede91e3fc071d14a9e510d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I15e8a6120c249bfc5a0e2b3fa262989fafccbf57
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-363
Change-Id: Ic4784303a6e3f81ddc1576d6af7ced997aadfe33
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Without the decode() step, the script may fail with
TypeError: the JSON object must be str, not 'bytes'
Task-number: PYSIDE-363
Change-Id: Ib9a8e487cc1b9f51692d0c4f20009a0c97cc770e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This way, the length of the command line does not exceed the
maximum on Windows.
Task-number: PYSIDE-651
Change-Id: Ib6cc736b8c5dda2e9b4bd3775fb18b8584837604
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Removing the word 'project' from all the headers,
and changing the PySide reference from the examples
to Qt for Python:
The following line was used inside the source/ and
build_scripts/ directory:
for i in $(grep -r "the Qt for Python project" * |grep -v "pyside2-tools" | awk '{print $1}' | sed 's/:.*//g');do sed -i 's/the\ Qt\ for\ Python\ project/Qt\ for\ Python/g' $i;done
and the following line was used inside the examples/ directory:
for i in $(grep -r "of the PySide" * |grep -v "pyside2-tools" | awk '{print $1}' | sed 's/:.*//g');do sed -i 's/of\ the\ PySide/of\ the\ Qt\ for\ Python/g' $i;done
Change-Id: Ic480714686ad62ac4d81c670f87f1c2033d4ffa1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add an option taking a list of files under the webxml directory
that are run though the Sphinx converter to create .rst files.
This can be used for tutorials and example descriptions.
Task-number: PYSIDE-363
Change-Id: Ifa6df32517a2b336cd3f755523947d70c5c24f2e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-363
Change-Id: Idc4418b6313c2f6b7946fcfb80abc772caec361b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Switch the languague to 2nd person
- Update the Qt Quick import statements
- Replace instances of "elements" that referred to
QML types or items.
Change-Id: Iabac624270dbd8685bf1f4d2dec198984e7a3c68
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a tool which runs qtattributionsscanner and converts its
JSON output to .rst to create an additional license page
It differs from the Qt usage in that the license text is extracted
from triple quotes of the referenced file.
Task-number: PYSIDE-363
Change-Id: Idef9b0ada06bec5947aac210d7fec25fd0742ab8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The copyright text at the bottom of the
page doesn't wrap without it.
Change-Id: I28a275c4c96b63573dd3fe1af554e98a593880e4
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some of the Qt documentation modules use custom module headers
that pull in additional content into the build. On a normal
Qt documentation build, these are implemented as relative paths
- these are incorrect when the doc build is invoked externally
in PySide.
To fix this, add absolute qdocconf include path entries for each
module that needs them. This cuts down the number of QDoc warnings
significantly.
Change-Id: I22756cc3170e7e2ff678986a46e117faf43a735d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Configured replaceable text entities so that updating instances
of product and module names in the doc is less cumbersome.
Change-Id: I6ef8adcc4324775eeb8a48bf81294effb0ea12d5
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When referring to the project one should use "Qt for Python"
and for the module "PySide2"
Change-Id: I36497df245c9f6dd60d6e160e2fc805e48cefcae
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Updated the copyright text in the config file
- Added the copyright to the footer in the template
Change-Id: Iaadc293af524abea41873d04206516caec189c53
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I379c41e209c1a2cd61c8aa04bddd35a72210f0d3
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use class Directive from docutils.parsers.rst instead.
Task-number: PYSIDE-363
Change-Id: I4356f0b0aa1eb0fc393bf8713be39c58fd281f4e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|/
|
|
|
|
|
|
| |
CLucene was removed by
qttools/7f8c49d3dd0d4bd06ab57a71c7e2957aa5c224aa in 5.10.
Change-Id: If5a82325fa3ab1ca0acc94059361865747ce270d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-363
Change-Id: Ibed88d97e70c7b6861ee47b23a7f4402683ba51e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The script tried to import a class or a module to obtain
an introspectable object, which failed for nested classes
like PySide2.QtCore.QStateMachine.SignalEvent, resulting in
numerous warnings like:
WARNING: Could not import class or module 'QStateMachine.SignalEvent' specified for inheritance diagram
Rewrite the import to strip off the path components in a loop until
the import succeeds and then walk up the attributes again to obtain
the object.
Task-number: PYSIDE-363
Change-Id: I33c6b4c6145b501a2f8f9ef3325610fefad9580d
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix _class_info() to return a real list instead
of list view, fixing:
TypeError: can't pickle dict_values objects
- Enclose font names in quotes, fixing dot complaining
about a syntax error.
- Encode the hash string get_graph_hash(), fixing
TypeError: Unicode-objects must be encoded before hashing
- Pass on options as dict instead of list to render_dot_html(),
render_dot_latex()
Task-number: PYSIDE-363
Task-number: PYSIDE-617
Change-Id: If050b73cf35ac6a6c58c0d3e5ea713c736ea842c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove
- html_add_permalinks: the key has been changed to str and has a default.
- html_use_smartypants: Replaced by smartquotes and defaults to true.
Fixes warnings:
WARNING: The config value `html_add_permalinks' has type `bool', defaults to `str'.
WARNING: html_use_smartypants option is deprecated. Smart quotes are on by default; if you want to disable them, use the smartquotes option.
Task-number: PYSIDE-363
Change-Id: I85092597a860f58cc012220edbf0c03749326432
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|