Skip to content

Commit de14c93

Browse files
authored
[TASK] Remove the ViewHelper Source headline (#940)
It causes errors as it is not in a section etc
1 parent c580aa4 commit de14c93

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

packages/typo3-docs-theme/resources/template/body/directive/viewhelper/viewhelper-source.html.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<h2>Source code</h2>
2-
31
<p>
42
Go to the source code of this ViewHelper:
53
<a href="{{ node.gitHubLink }}">{{ node.shortClassName }}.php (GitHub)</a>.

tests/Integration/tests/viewhelper/viewhelper-all/expected/index.html

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ <h3>Split with a limit<a class="headerlink" href="#split-with-a-limit" data-bs-t
109109

110110

111111

112-
<h2>Source code</h2>
113-
114-
<p>
112+
<p>
115113
Go to the source code of this ViewHelper:
116114
<a href="https://github.com/TYPO3/Fluid/blob/main/src/ViewHelpers/SplitViewHelper.php">SplitViewHelper.php (GitHub)</a>.
117115
</p>
@@ -331,9 +329,7 @@ <h3>Split with a limit<a class="headerlink" href="#split-with-a-limit" data-bs-t
331329

332330

333331

334-
<h2>Source code</h2>
335-
336-
<p>
332+
<p>
337333
Go to the source code of this ViewHelper:
338334
<a href="https://github.com/TYPO3/Fluid/blob/main/src/ViewHelpers/SplitViewHelper.php">SplitViewHelper.php (GitHub)</a>.
339335
</p>
@@ -513,9 +509,7 @@ <h3>Custom default scheme<a class="headerlink" href="#custom-default-scheme" dat
513509

514510

515511

516-
<h2>Source code</h2>
517-
518-
<p>
512+
<p>
519513
Go to the source code of this ViewHelper:
520514
<a href="https://github.com/TYPO3/typo3/blob/main/typo3/sysext/fluid/Classes/ViewHelpers/Link/ExternalViewHelper.php">Link\ExternalViewHelper.php (GitHub)</a>.
521515
</p>
@@ -594,9 +588,7 @@ <h2>f:deprecated<a class="headerlink" href="#f-deprecated" data-bs-toggle="modal
594588

595589

596590

597-
<h2>Source code</h2>
598-
599-
<p>
591+
<p>
600592
Go to the source code of this ViewHelper:
601593
<a href="https://github.com/TYPO3/typo3/blob/main/typo3/sysext/fluid/Classes/ViewHelpers/DeprecatedViewHelper.php">DeprecatedViewHelper.php (GitHub)</a>.
602594
</p>
@@ -630,9 +622,7 @@ <h2>formvh:be.maximumFileSize<a class="headerlink" href="#formvh-be-maximumfiles
630622

631623

632624

633-
<h2>Source code</h2>
634-
635-
<p>
625+
<p>
636626
Go to the source code of this ViewHelper:
637627
<a href="https://github.com/TYPO3/typo3/blob/main/typo3/sysext/form/Classes/ViewHelpers/Be/MaximumFileSizeViewHelper.php">Be\MaximumFileSizeViewHelper.php (GitHub)</a>.
638628
</p>

0 commit comments

Comments
 (0)