aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-02-17 22:24:06 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-17 11:36:52 +0000
commitbdf450509f6c672a6d8aa3cd9181fbf44dd65f1b (patch)
treeb0a507dc6b0f0459d70e01baac4190ecb7952a74 /sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css
parent82719318afb3dc56b391e91beca963a644d013ca (diff)
doc: use 'doc' directory for examples gallery
The initial patch that generates a gallery based on the examples in the respository, was limited to only showing the content of the files in each '.pyproject' file. That approach didn't allow to describe each example, nor add complementary images, like screenshots to each example page. This patch introduces the option to consider everything inside a 'doc/' directory on the example directory. The files that are copied over are not directory, but only files, for images to be the main focus. For example, currently the Tetrix case contained the following files: $ ls examples/widgets/tetrix/ tetrix.py tetrix.pyproject On this patch you can see that now there is a doc directory with the following content: $ ls examples/widgets/tetrix/doc tetrix-screenshot.png tetrix.rst The example page that will be generated for this case will contain the content of the 'doc/tetrix.rst' file, plus the content of all the project files at the end. The 'doc/tetrix.rst' file contains a reference to the 'tetrix-screenshot.png' image, so that file will be copied over too. Task-number: PYSIDE-1112 Change-Id: I2d11833c461d8073d2d2888576d876d3f834103a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit f930fce091fbcc0cdc4d1d57ee688966b26ea53e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css')
0 files changed, 0 insertions, 0 deletions