Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Move code-snippet creation to new tool (#277)
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
- Loading branch information
Showing
4 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
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
4 changes: 3 additions & 1 deletion
4
Documentation/CodeSnippets/PageTSconfig/Mod/noExportRecordsLinks.rst.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
// https=>//github.com/TYPO3-Documentation/t3docs-codesnippets | ||
// ddev exec vendor/bin/typo3 restructured_api_tools:php_domain public/fileadmin/TYPO3CMS-Reference-TSconfig/Documentation/CodeSnippets/ | ||
|
||
return [ | ||
[ | ||
'action' => 'createCodeSnippet', | ||
'sourceFile' => 'typo3conf/ext/examples/Configuration/TSconfig/Page/Mod/csvExport.tsconfig', | ||
'targetFileName' => 'PageTSconfig/Mod/CsvExport.rst.txt', | ||
'caption' => 'EXT:examples/Configuration/TSconfig/Page/Mod/csvExport.tsconfig', | ||
'language' => 'typoscript', | ||
], | ||
[ | ||
'action' => 'createCodeSnippet', | ||
'sourceFile' => 'typo3conf/ext/examples/Configuration/TSconfig/Page/Mod/noExportRecordsLinks.tsconfig', | ||
'targetFileName' => 'PageTSconfig/Mod/noExportRecordsLinks.rst.txt', | ||
'caption' => 'EXT:examples/Configuration/TSconfig/Page/Mod/noExportRecordsLinks.tsconfig', | ||
'language' => 'typoscript', | ||
] | ||
]; |
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