Skip to content

Commit

Permalink
[TASK] Regenerate code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf committed May 12, 2024
1 parent 26b7441 commit 60d0a5e
Show file tree
Hide file tree
Showing 21 changed files with 122 additions and 129 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/composer.json
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/composer.json
.. code-block:: json
:caption: EXT:site_package/composer.json
Expand All @@ -22,8 +22,8 @@
}
],
"require": {
"typo3/cms-core": "^12.0.0|dev-main",
"typo3/cms-fluid-styled-content": "^12.0.0|dev-main"
"typo3/cms-core": "^12.4.0",
"typo3/cms-fluid-styled-content": "^12.4.0"
},
"homepage": "https://github.com/TYPO3-Documentation/TYPO3CMS-Tutorial-SitePackage-Code",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/ext_emconf.php
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/ext_emconf.php
.. code-block:: php
:caption: EXT:site_package/ext_emconf.php
:linenos:
<?php
$EM_CONF[$_EXTKEY] = [
'title' => 'TYPO3 Site Package',
'description' => 'TYPO3 Site Package',
Expand All @@ -18,8 +18,8 @@
'state' => 'stable',
'constraints' => [
'depends' => [
'typo3' => '12.0.0-12.99.99',
'fluid_styled_content' => '12.0.0-12.99.99'
'typo3' => '12.4.0-12.4.99',
'fluid_styled_content' => '12.4.0-12.4.99'
],
'conflicts' => [
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TCA/Overrides/pages.php
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TCA/Overrides/pages.php
.. code-block:: php
:caption: EXT:site_package/Configuration/TCA/Overrides/pages.php
:linenos:
<?php
defined('TYPO3') || die();
call_user_func(function () {
/**
* Extension key
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TCA/Overrides/sys_template.php
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TCA/Overrides/sys_template.php
.. code-block:: php
:caption: EXT:site_package/Configuration/TCA/Overrides/sys_template.php
:linenos:
<?php
defined('TYPO3') || die();
call_user_func(function () {
/**
* Extension key
*/
$extensionKey = 'site_package';
/**
* Add default TypoScript (constants and setup)
*/
Expand Down
5 changes: 2 additions & 3 deletions Documentation/CodeSnippets/Fluid/Layout.rst.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Resources/Private/Layouts/Page/Default.html
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Resources/Private/Layouts/Page/Default.html
.. code-block:: html
:caption: EXT:site_package/Resources/Private/Layouts/Page/Default.html
:linenos:


<f:render partial="Navigation/MainNavigation.html" arguments="{_all}"/>
<f:render section="Main" />

4 changes: 2 additions & 2 deletions Documentation/CodeSnippets/Fluid/PartialJumbotron.rst.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Resources/Private/Partials/Page/Jumbotron.html
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Resources/Private/Partials/Page/Jumbotron.html
.. code-block:: html
:caption: EXT:site_package/Resources/Private/Partials/Page/Jumbotron.html
Expand Down
7 changes: 3 additions & 4 deletions Documentation/CodeSnippets/Fluid/Step1Default.rst.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Resources/Public/StaticTemplate/Step1Default.html
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Resources/Public/StaticTemplate/Step1Default.html
.. code-block:: html
:caption: EXT:site_package/Resources/Public/StaticTemplate/Step1Default.html
:linenos:


<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="#">Navbar</a>
<button aria-controls="navbarsExampleDefault"
Expand All @@ -28,7 +27,7 @@
</ul>
</div>
</nav>

<main role="main">
<div class="jumbotron">
<div class="container">
Expand Down
7 changes: 3 additions & 4 deletions Documentation/CodeSnippets/Fluid/Step2Default.rst.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Resources/Public/StaticTemplate/Step2Default.html
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Resources/Public/StaticTemplate/Step2Default.html
.. code-block:: html
:caption: EXT:site_package/Resources/Public/StaticTemplate/Step2Default.html
:linenos:


<f:render partial="Navigation/MainNavigation.html" arguments="{_all}"/>

<main role="main">
<f:render partial="Jumbotron" />
<div class="container">
Expand Down
7 changes: 3 additions & 4 deletions Documentation/CodeSnippets/Fluid/Step3Default.rst.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Resources/Public/StaticTemplate/Step3Default.html
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Resources/Public/StaticTemplate/Step3Default.html
.. code-block:: html
:caption: EXT:site_package/Resources/Public/StaticTemplate/Step3Default.html
:linenos:


<f:layout name="Default" />
<f:section name="Main">
<f:render partial="Navigation/MainNavigation.html" arguments="{_all}"/>

<main role="main">
<f:render partial="Jumbotron" />
<div class="container">
Expand Down
14 changes: 7 additions & 7 deletions Documentation/CodeSnippets/Fluid/TemplateDefault.rst.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Resources/Private/Templates/Page/Default.html
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Resources/Private/Templates/Page/Default.html
.. code-block:: html
:caption: EXT:site_package/Resources/Private/Templates/Page/Default.html
:linenos:

<f:layout name="Default" />
<f:section name="Main">

<main role="main">

<f:render partial="Jumbotron" arguments="{jumbotronContent: jumbotronContent}"/>

<div class="container">
<div class="row">
<div class="col-md-12">
Expand All @@ -25,8 +25,8 @@
</div>
</div>
</div>

</main>

</f:section>

12 changes: 6 additions & 6 deletions Documentation/CodeSnippets/Fluid/TemplateTwoColumns.rst.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Resources/Private/Templates/Page/TwoColumns.html
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Resources/Private/Templates/Page/TwoColumns.html
.. code-block:: html
:caption: EXT:site_package/Resources/Private/Templates/Page/TwoColumns.html
:linenos:

<f:layout name="Default" />
<f:section name="Main">

<main role="main">
<f:render partial="Jumbotron" arguments="{jumbotronContent: jumbotronContent}"/>

<div class="container">
<div class="row">
<div class="col-12 col-md-8">
Expand All @@ -33,8 +33,8 @@
</div>
</div>
</div>

</main>

</f:section>

6 changes: 3 additions & 3 deletions Documentation/CodeSnippets/TypoScript/Constants.rst.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TypoScript/constants.typoscript
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TypoScript/constants.typoscript
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/constants.typoscript
:linenos:
@import 'EXT:fluid_styled_content/Configuration/TypoScript/constants.typoscript'
page {
fluidtemplate {
layoutRootPath = EXT:site_package/Resources/Private/Layouts/Page/
Expand Down
4 changes: 2 additions & 2 deletions Documentation/CodeSnippets/TypoScript/Page.rst.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TypoScript/Setup/Page.typoscript
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TypoScript/Setup/Page.typoscript
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/Setup/Page.typoscript
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TypoScript/Setup/Part1FluidTemplateSection.typoscript
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TypoScript/Setup/Part1FluidTemplateSection.typoscript
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/Setup/Part1FluidTemplateSection.typoscript
Expand All @@ -21,20 +21,20 @@
1.current = 1
}
}
ifEmpty = Default
}
templateRootPaths {
0 = EXT:site_package/Resources/Private/Templates/Page/
1 = {$page.fluidtemplate.templateRootPath}
}
partialRootPaths {
0 = EXT:site_package/Resources/Private/Partials/Page/
1 = {$page.fluidtemplate.partialRootPath}
}
layoutRootPaths {
0 = EXT:site_package/Resources/Private/Layouts/Page/
1 = {$page.fluidtemplate.layoutRootPath}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TypoScript/Setup/Part2CssFileInclusion.typoscript
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TypoScript/Setup/Part2CssFileInclusion.typoscript
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/Setup/Part2CssFileInclusion.typoscript
:linenos:
page {
// Part 2: CSS file inclusion
includeCSS {
bootstrap = https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css
bootstrap.external = 1
website = EXT:site_package/Resources/Public/Css/website.css
}
// Part 3: JavaScript file inclusion
includeJSFooter {
jquery = https://code.jquery.com/jquery-3.2.1.slim.min.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TypoScript/Setup/Part4GlobalConfiguration.typoscript
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TypoScript/Setup/Part4GlobalConfiguration.typoscript
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/Setup/Part4GlobalConfiguration.typoscript
Expand All @@ -10,7 +10,7 @@
# Adjust the title tag to be displayed as “website - page title”
pageTitleSeparator = -
pageTitleSeparator.noTrimWrap = | | |
# Display the Admin Panel at the bottom of pages to logged in backend users
admPanel = 1
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TypoScript/Setup/Part5MenuProcessor.typoscript
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TypoScript/Setup/Part5MenuProcessor.typoscript
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/Setup/Part5MenuProcessor.typoscript
Expand All @@ -17,7 +17,7 @@
layoutRootPaths {
// ...
}
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
10 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TypoScript/Setup/Part6ProcessedContent.typoscript
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TypoScript/Setup/Part6ProcessedContent.typoscript
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/Setup/Part6ProcessedContent.typoscript
:linenos:
page {
10 {
dataProcessing {
Expand Down
7 changes: 3 additions & 4 deletions Documentation/CodeSnippets/TypoScript/Setup.rst.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from typo3conf/ext/site_package/Configuration/TypoScript/setup.typoscript
.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets
.. Extracted from EXT:site_package/Configuration/TypoScript/setup.typoscript
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/setup.typoscript
:linenos:
@import 'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript'
@import 'EXT:site_package/Configuration/TypoScript/Setup/*.typoscript'
Loading

0 comments on commit 60d0a5e

Please sign in to comment.