-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Update phpdocumentor/guides (#139)
Setting Iterator on a context became mandatory Update all integration test templates due to phpDocumentor/guides#718
- Loading branch information
Showing
36 changed files
with
193 additions
and
177 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 7 additions & 4 deletions
11
tests/Integration/tests/code-block/directive-only/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
<!-- content start --> | ||
<div class="section" id="just-a-code-block"> | ||
<div class="section" id="just-a-code-block"> | ||
<h1>Just a code block</h1> | ||
<div translate="no"> | ||
|
||
<div translate="no"> | ||
|
||
<pre><code>echo 'Hello, TYPO3';</code></pre> | ||
</div> | ||
</div> | ||
<!-- content end --> | ||
</div> | ||
|
||
<!-- content end --> |
15 changes: 9 additions & 6 deletions
15
tests/Integration/tests/code-block/with-caption/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
<!-- content start --> | ||
<div class="section" id="with-caption"> | ||
<div class="section" id="with-caption"> | ||
<h1>With caption</h1> | ||
<div class="code-block-caption"> | ||
<span class="caption-text">src/hello.php</span> | ||
</div><div translate="no"> | ||
|
||
<div class="code-block-caption"> | ||
<span class="caption-text">src/hello.php</span> | ||
</div><div translate="no"> | ||
|
||
<pre><code class="hljs php"><span class="hljs-keyword">echo</span> <span class="hljs-string">'Hello, TYPO3'</span>;</code></pre> | ||
</div> | ||
</div> | ||
<!-- content end --> | ||
</div> | ||
|
||
<!-- content end --> |
13 changes: 8 additions & 5 deletions
13
tests/Integration/tests/code-block/with-classes/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
<!-- content start --> | ||
<div class="section" id="with-classes"> | ||
<div class="section" id="with-classes"> | ||
<h1>With classes</h1> | ||
<div translate="no"> | ||
|
||
<div translate="no"> | ||
|
||
<pre class="some-class another-class"><code class="hljs python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">some_function</span><span class="hljs-params">()</span>:</span> | ||
interesting = <span class="hljs-literal">False</span></code></pre> | ||
interesting = <span class="hljs-literal">False</span></code></pre> | ||
</div> | ||
</div> | ||
<!-- content end --> | ||
</div> | ||
|
||
<!-- content end --> |
15 changes: 9 additions & 6 deletions
15
tests/Integration/tests/code-block/with-emphasize-lines/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
<!-- content start --> | ||
<div class="section" id="with-emphasize-lines"> | ||
<div class="section" id="with-emphasize-lines"> | ||
<h1>With emphasize lines</h1> | ||
<div translate="no"> | ||
|
||
<div translate="no"> | ||
|
||
<pre><code class="hljs python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">some_function</span><span class="hljs-params">()</span>:</span> | ||
interesting = <span class="hljs-literal">False</span> | ||
interesting = <span class="hljs-literal">False</span> | ||
<span data-emphasize-line> print(<span class="hljs-string">'This line is highlighted.'</span>)</span> | ||
print(<span class="hljs-string">'This one is not...'</span>) | ||
print(<span class="hljs-string">'This one is not...'</span>) | ||
<span data-emphasize-line> print(<span class="hljs-string">'...but this one is.'</span>)</span></code></pre> | ||
</div> | ||
</div> | ||
<!-- content end --> | ||
</div> | ||
|
||
<!-- content end --> |
11 changes: 7 additions & 4 deletions
11
tests/Integration/tests/code-block/with-language/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
<!-- content start --> | ||
<div class="section" id="with-language"> | ||
<div class="section" id="with-language"> | ||
<h1>With language</h1> | ||
<div translate="no"> | ||
|
||
<div translate="no"> | ||
|
||
<pre><code class="hljs php"><span class="hljs-keyword">echo</span> <span class="hljs-string">'Hello, TYPO3'</span>;</code></pre> | ||
</div> | ||
</div> | ||
<!-- content end --> | ||
</div> | ||
|
||
<!-- content end --> |
11 changes: 7 additions & 4 deletions
11
tests/Integration/tests/code-block/with-line-number-start/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
<!-- content start --> | ||
<div class="section" id="with-line-numbers"> | ||
<div class="section" id="with-line-numbers"> | ||
<h1>With line numbers</h1> | ||
<div translate="no"> | ||
|
||
<div translate="no"> | ||
|
||
<pre><code class="hljs ruby"><span data-line-number="10">Some more Ruby code.</span></code></pre> | ||
</div> | ||
</div> | ||
<!-- content end --> | ||
</div> | ||
|
||
<!-- content end --> |
11 changes: 7 additions & 4 deletions
11
tests/Integration/tests/code-block/with-line-numbers/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
<!-- content start --> | ||
<div class="section" id="with-line-number-start"> | ||
<div class="section" id="with-line-number-start"> | ||
<h1>With line number start</h1> | ||
<div translate="no"> | ||
|
||
<div translate="no"> | ||
|
||
<pre><code class="hljs ruby"><span data-line-number="1">Some more Ruby code, with line numbering starting at <span class="hljs-number">10</span>.</span></code></pre> | ||
</div> | ||
</div> | ||
<!-- content end --> | ||
</div> | ||
|
||
<!-- content end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
<!-- content start --> | ||
<div class="section" id="document-title"> | ||
<div class="section" id="document-title"> | ||
<h1>Document Title</h1> | ||
|
||
<p>Learn more about how to <a href="https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Index.html#start">write documentation</a> | ||
or have | ||
a look at <a href="https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/Index.html#start">TYPO3 Explained</a> | ||
.</p> | ||
<p>Learn more about how to <a href="https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Index.html#start">write documentation</a> or have | ||
a look at <a href="https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/Index.html#start">TYPO3 Explained</a>.</p> | ||
<p>Here is some PHP code:</p> | ||
<div translate="no"> | ||
<pre><code class="hljs php">$lorem = <span class="hljs-string">"ipsum dolor\n"</span>;</code></pre> | ||
</div> | ||
|
||
<pre><code class="hljs php">$lorem = <span class="hljs-string">"ipsum dolor\n"</span>;</code></pre> | ||
</div> | ||
</div> | ||
|
||
<!-- content end --> | ||
<!-- content end --> |
Oops, something went wrong.