diff options
author | Luca Di Sera <luca.disera@qt.io> | 2022-09-06 14:47:01 +0200 |
---|---|---|
committer | Luca Di Sera <luca.disera@qt.io> | 2022-09-09 10:55:49 +0200 |
commit | ecf918398579030c9ba16f843595cfdbe774c00b (patch) | |
tree | 41347737c21fcdba8f4d05760f7a46b1d648a176 /tests | |
parent | 42234c7a8d1e0746bd7bce720e23761797c5ba5e (diff) | |
download | qttools-ecf918398579030c9ba16f843595cfdbe774c00b.tar.gz |
QDoc: Remove support for javascript codeblocks
QDoc provides an undocumented, not-officially-support, command pair,
"\js"/"\endjs", that allows a writer to include a codeblock of
javascript code in the documentation.
This is part of a suite of commands to allow pure javascript support
that was never finalized and is now being removed from the codebase.
Hence, all code related to the command pair is now removed and support
for it is dropped.
Some of the input data in the regression suite was modified as it made
use of a single instance of the command pair.
The regression files were regenerated to take into account the removal.
Fixes: QTBUG-106275
Change-Id: I1e18009617884a3841b0e2b83d4f5e34c7e14971
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'tests')
4 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml index 65c189098..6bd64bb8e 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml @@ -23,8 +23,6 @@ <db:para><db:emphasis role="bold">All your text belong to bold</db:emphasis> ...And this is an examble of only <db:emphasis role="bold">bold</db:emphasis> being, well, bold.</db:para> <db:programlisting language="cpp"> ... </db:programlisting> -<db:programlisting language="js">// If I knew JavaScript, this is where I would write it. -</db:programlisting> <db:para>And if I knew qmltext, I guess this is where that would go. </db:para> <db:title>This a caption</db:title> <db:para>Lorem legal ipsum</db:para> diff --git a/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput-exhaustive.html b/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput-exhaustive.html index 8990de6dd..9175d2ccc 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput-exhaustive.html +++ b/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput-exhaustive.html @@ -30,7 +30,6 @@ noooow.</p> <p><b>All your text belong to bold</b> ...And this is an examble of only <b>bold</b> being, well, bold.</p> <pre class="cpp"> ...</pre> -<pre class="js"><span class="comment">// If I knew JavaScript, this is where I would write it.</span></pre> <p>And if I knew qmltext, I guess this is where that would go. </p> <p class="figCaption">This a caption</p> <div class="LegaleseLeft"><p>Lorem legal ipsum</p> diff --git a/tests/auto/qdoc/generatedoutput/expected_output/tocbreadcrumbs/qdoctests-qdocfileoutput-exhaustive.html b/tests/auto/qdoc/generatedoutput/expected_output/tocbreadcrumbs/qdoctests-qdocfileoutput-exhaustive.html index a69f75f4b..d2b50cf95 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/tocbreadcrumbs/qdoctests-qdocfileoutput-exhaustive.html +++ b/tests/auto/qdoc/generatedoutput/expected_output/tocbreadcrumbs/qdoctests-qdocfileoutput-exhaustive.html @@ -39,7 +39,6 @@ noooow.</p> <p><b>All your text belong to bold</b> ...And this is an examble of only <b>bold</b> being, well, bold.</p> <pre class="cpp"> ...</pre> -<pre class="js"><span class="comment">// If I knew JavaScript, this is where I would write it.</span></pre> <p>And if I knew qmltext, I guess this is where that would go. </p> <p class="figCaption">This a caption</p> <div class="LegaleseLeft"><p>Lorem legal ipsum</p> diff --git a/tests/auto/qdoc/generatedoutput/testdata/outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc b/tests/auto/qdoc/generatedoutput/testdata/outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc index 0d14c5fff..4887dcdb9 100644 --- a/tests/auto/qdoc/generatedoutput/testdata/outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc +++ b/tests/auto/qdoc/generatedoutput/testdata/outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc @@ -112,10 +112,6 @@ \dots - \js - // If I knew JavaScript, this is where I would write it. - \endjs - \qmltext And if I knew qmltext, I guess this is where that would go. \endqmltext |