Skip to content

Commit

Permalink
[TASK] Add default inventory for typo3.org team (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf committed Sep 21, 2024
1 parent 14f3efc commit ef87954
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/Developer/InterlinkInventories.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ These inventories can be used by default in any rendered documentation:

URL: https://docs.typo3.org/m/typo3/writing-guide/main/en-us/

* Title: :doc:`t3org:Index`

Inventory key: :doc:`t3org <t3org:Index>`

URL: https://docs.typo3.org/m/typo3/writing-guide/main/en-us/

* Title: :doc:`fluid:Index`

Inventory key: :doc:`fluid <fluid:Index>`
Expand Down
3 changes: 3 additions & 0 deletions packages/typo3-version-handling/src/DefaultInventories.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ enum DefaultInventories: string
case h2document = 'h2document';
case t3content = 't3content';
case t3writing = 't3writing';
case t3org = 't3org';
case t3contribute = 't3contribute';
case fluid = 'fluid';
case t3renderguides = 't3renderguides';
case t3exceptions = 't3exceptions';
case api = 'api';


public function getUrl(): string
{
return match ($this) {
Expand Down Expand Up @@ -59,6 +61,7 @@ public function getUrl(): string
DefaultInventories::t3content => 'https://docs.typo3.org/m/typo3/guide-contentandmarketing/main/en-us/',
DefaultInventories::t3contribute => 'https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/',
DefaultInventories::t3writing => 'https://docs.typo3.org/m/typo3/writing-guide/main/en-us/',
DefaultInventories::t3org => 'https://docs.typo3.org/m/typo3/team-t3oteam/main/en-us/',

// Other
DefaultInventories::fluid => 'https://docs.typo3.org/other/typo3fluid/fluid/main/en-us/',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h1>Title<a class="headerlink" href="#title" data-bs-toggle="modal" data-bs-targ
<li>t3editors</li>
<li>t3exceptions</li>
<li>t3install</li>
<li>t3org</li>
<li>t3renderguides</li>
<li>t3sitepackage</li>
<li>t3start</li>
Expand Down

0 comments on commit ef87954

Please sign in to comment.