Skip to content

Commit

Permalink
Move the TypoScript syntax chapter into the Tsref (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf authored Nov 4, 2024
1 parent f6e3fe1 commit 4d9da1c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions config/nginx/redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ location ~ ^/m/typo3/tutorial-typoscript-in-45-minutes/(main|13.4|12.4)/en-us/(.
return 303 /m/typo3/reference-typoscript/$1/en-us/Guide/$2;
}

# Move TypoScript Syntax into TypoScript reference
location ~ ^/m/typo3/reference-coreapi/(main|13.4|12.4)/en-us/Configuration/TypoScript/Syntax/(.*)/Index.html$ {
return 303 /m/typo3/reference-typoscript/$1/en-us/Syntax/$2/Index.html;
}

# Rewrite Fluid VH reference links to new position
location ~ ^/typo3cms/ViewHelperReference/latest(.*)$ {
return 303 /other/typo3/view-helper-reference/main/en-us$1;
Expand Down Expand Up @@ -170,7 +175,7 @@ location ~ ^/m/typo3/reference-coreapi/(main|11.5)/en-us/ApiOverview/UpdateWizar
}

location ~ ^/m/typo3/reference-coreapi/(main|11.5|10.4)/en-us/TypoScriptSyntax(.*) {
return 303 /m/typo3/reference-coreapi/$1/en-us/Configuration/TypoScriptSyntax$2;
return 303 /m/typo3/reference-typoscript/$1/en-us/Syntax$2;
}
location ~ ^/m/typo3/reference-coreapi/(main|11.5|10.4)/en-us/ApiOverview/Hooks(.*) {
return 303 /m/typo3/reference-coreapi/$1/en-us/ApiOverview/Events$2;
Expand Down Expand Up @@ -574,10 +579,10 @@ location ~ ^/m/typo3/reference-coding-guidelines/(6.2|7.6|8.7|9.5|master|main|st
# was merged into TYPO3 Explained and will be taken offline and archived
# >> redirect all to new location in reference-coreapi (301)
location ~ ^/typo3cms/TyposcriptSyntaxReference/(6.2|7.6|8.7|master|main|stable|latest)/.* {
return 301 /m/typo3/reference-coreapi/($1)/en-us/ApiOverview/TypoScriptSyntax/Index.html;
return 301 /m/typo3/reference-typoscript/($1)/en-us/Syntax/Index.html;
}
location ~ ^/m/typo3/reference-typoscript-syntax/(6.2|7.6|8.7|master|main|stable|latest)/.* {
return 303 /m/typo3/reference-coreapi/$1/en-us/ApiOverview/TypoScriptSyntax/Index.html;
return 303 /m/typo3/reference-typoscript/$1/en-us/Syntax/Index.html;
}

# typo3/reference-services
Expand Down

0 comments on commit 4d9da1c

Please sign in to comment.