Skip to content

Commit

Permalink
[TASK] Addapt to t3docs/typo3-version-handling:^0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
garvinhicking committed Nov 25, 2024
1 parent 88e7024 commit cf92f64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion legacy_hook/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"psr/http-message": "^1.1",
"symfony/cache": "^5.4",
"symfony/finder": "^5.4",
"t3docs/typo3-version-handling": "^0.16.3"
"t3docs/typo3-version-handling": "^0.21.0"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
Expand Down
14 changes: 7 additions & 7 deletions legacy_hook/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion legacy_hook/src/DocumentationLinker.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private function resolveEntryPoint(string $repository, string $version): string
} elseif ($inventory = DefaultInventories::tryFrom($repository)) {
// CASE: Official TYPO3 Documentation with known inventories. Provides "{typo3_version}" internally
// (some inventories DO NOT have that and always go to 'main'!)
$entrypoint = $inventory->getUrl();
$entrypoint = $inventory->getUrl($version);
} else {
// CASE: Third party documentation, based on composer-keys like https://docs.typo3.org/p/georgringer/news
// A permalink like https://docs.typo3.org/permalink/someVendor-some-extension/ is resolved to https://docs.typo3.org/p/somevendor/some-extension/
Expand Down

0 comments on commit cf92f64

Please sign in to comment.