WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c252c5a

Browse files
authored
[TASK] Add Policy Guide for Permalinks (#1057)
1 parent 77ffa29 commit c252c5a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/typo3-version-handling/src/DefaultInventories.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ enum DefaultInventories: string
2727
case t3renderguides = 't3renderguides';
2828
case t3exceptions = 't3exceptions';
2929
case api = 'api';
30+
case policy = 'policy';
3031

3132
public function isVersioned(): bool
3233
{
@@ -38,13 +39,13 @@ public function isVersioned(): bool
3839
// Changelog, it is only deployed to main
3940
DefaultInventories::changelog => false,
4041

41-
4242
// Team Guides, they are commonly not versioned
4343
DefaultInventories::h2document => false,
4444
DefaultInventories::t3content => false,
4545
DefaultInventories::t3contribute => false,
4646
DefaultInventories::t3writing => false,
4747
DefaultInventories::t3org => false,
48+
DefaultInventories::policy => false,
4849

4950
// Other
5051
DefaultInventories::fluid => false,
@@ -111,6 +112,7 @@ public function getUrl(string $version): string
111112
DefaultInventories::t3contribute => 'https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/',
112113
DefaultInventories::t3writing => 'https://docs.typo3.org/m/typo3/writing-guide/main/en-us/',
113114
DefaultInventories::t3org => 'https://docs.typo3.org/m/typo3/team-t3oteam/main/en-us/',
115+
DefaultInventories::policy => 'https://docs.typo3.org/m/typo3/guide-policy/main/en-us/',
114116

115117
// Other
116118
DefaultInventories::fluid => 'https://docs.typo3.org/other/typo3fluid/fluid/main/en-us/',

tests/Integration/tests/guides-inventories/expected/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ <h1>Title<a class="headerlink" href="#title" data-bs-toggle="modal" data-bs-targ
66
<li>changelog</li>
77
<li>fluid</li>
88
<li>h2document</li>
9+
<li>policy</li>
910
<li>t3content</li>
1011
<li>t3contribute</li>
1112
<li>t3coreapi</li>

0 commit comments

Comments
 (0)