.. include:: /Includes.rst.txt .. _interlink-inventories: .. _InterlinkRepositories: ===================== Interlink inventories ===================== Sections in other manuals than the current one can be linked during rendering by prefixing an anchor link or page link with the name of the manual. .. _interlink-inventories-official-manuals: Interlinks to official manuals ============================== By using suffixes the version of the manual to be linked can be specified: .. code-block:: rst * :ref:`TYPO3 Explained, preferred version ` * :ref:`TYPO3 Explained, main version (development) ` * :ref:`TYPO3 Explained, stable version (for example 12.4) ` * :ref:`TYPO3 Explained, old stable version (for example 11.5) ` * :ref:`TYPO3 Explained 12 LTS ` * :ref:`TYPO3 Explained 12.4 ` This would output: * :ref:`TYPO3 Explained, preferred version ` * :ref:`TYPO3 Explained, main version (development) ` * :ref:`TYPO3 Explained, stable version (for example 12.4) ` * :ref:`TYPO3 Explained, old stable version (for example 11.5) ` * :ref:`TYPO3 Explained 12 LTS ` * :ref:`TYPO3 Explained 12.4 ` .. _available-default-inventories: Available default inventories ----------------------------- These inventories can be used by default in any rendered documentation: * Title: :doc:`t3docs:Index` Inventory key: :doc:`t3docs ` URL: https://docs.typo3.org/ * Title: :doc:`changelog:Index` Inventory key: :doc:`changelog ` URL: https://docs.typo3.org/c/typo3/cms-core/main/en-us/ * Title: :doc:`t3coreapi:Index` Inventory key: :doc:`t3coreapi ` URL: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ * Title: :doc:`t3tca:Index` Inventory key: :doc:`t3tca ` URL: https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ * Title: :doc:`t3tsref:Index` Inventory key: :doc:`t3tsref ` URL: https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/ * Title: :doc:`t3viewhelper:Index` Inventory key: :doc:`t3viewhelper ` URL: https://docs.typo3.org/other/typo3/view-helper-reference/main/en-us/ * Title: :doc:`t3editors:Index` Inventory key: :doc:`t3editors ` URL: https://docs.typo3.org/m/typo3/tutorial-editors/main/en-us/ * Title: :doc:`t3sitepackage:Index` Inventory key: :doc:`t3sitepackage ` URL: https://docs.typo3.org/m/typo3/tutorial-sitepackage/main/en-us/ * Title: :doc:`t3start:Index` Inventory key: :doc:`t3start ` URL: https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/ * Title: :doc:`t3translate:Index` Inventory key: :doc:`t3translate ` URL: https://docs.typo3.org/m/typo3/guide-frontendlocalization/main/en-us/ * Title: :doc:`h2document:Index` Inventory key: :doc:`h2document ` URL: https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/ * Title: :doc:`t3content:Index` Inventory key: :doc:`t3content ` URL: https://docs.typo3.org/m/typo3/guide-contentandmarketing/main/en-us/ * Title: :doc:`t3contribute:Index` Inventory key: :doc:`t3contribute ` URL: https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/ * Title: :doc:`t3writing:Index` Inventory key: :doc:`t3writing ` URL: https://docs.typo3.org/m/typo3/writing-guide/main/en-us/ * Title: :doc:`t3org:Index` Inventory key: :doc:`t3org ` URL: https://docs.typo3.org/m/typo3/team-t3oteam/main/en-us/ * Title: :doc:`fluid:Index` Inventory key: :doc:`fluid ` URL: https://docs.typo3.org/other/typo3fluid/fluid/main/en-us/ * Title: :doc:`t3renderguides:Index` Inventory key: :doc:`t3renderguides ` URL: https://docs.typo3.org/other/t3docs/render-guides/main/en-us/ * Title: :doc:`t3exceptions:Index` Inventory key: :doc:`t3exceptions ` URL: https://docs.typo3.org/typo3cms/exceptions/main/en-us/ .. _typo3-version: Setting the preferred TYPO3 version ----------------------------------- The preferred version can be set in the guides.xml to `dev`, `stable`, `oldstable`, or a specific minor version, for example `8.7` or `v8`. .. code-block:: xml :caption: Documentation/guides.xml or .. code-block:: xml :caption: Documentation/guides.xml, excerpt It is not necessary anymore to list each of the standard inventories in the :file:`guides.xml`. If desired you can override or redefine standard interlink inventories or define new ones: .. code-block:: xml :caption: Documentation/guides.xml The following link: .. code-block:: rst * :ref:`TYPO3 Explained, always version 8.7 ` * :ref:`TYPO3 Explained, always version 8.7 ` .. _interlink-inventories-official-manuals-add-version: Adding a new TYPO3 version or manual ------------------------------------ In the event of a change in long-term support, adjustments to the corresponding TYPO3 versions can be made directly in the theme within the enum :php:`\T3Docs\Typo3DocsTheme\Inventory\Typo3VersionMapping`. The default manuals to be supported can be managed in enum :php:`\T3Docs\Typo3DocsTheme\Inventory\DefaultInventories`. .. _interlink-inventories-system-extensions: Interlinks to system extensions =============================== You can link to the manual of a system extension: Use the extension's Composer name as interlink domain: .. code-block:: rst * :doc:`Adminpanel ` * :ref:`RTE ` This will be rendered as: * :doc:`Adminpanel ` * :ref:`RTE ` By default they will link to :ref:`your preferred TYPO3 version `. You can link to another version by using the same prefixes as for official manuals: .. code-block:: rst * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` This will be rendered as: * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` * :ref:`RTE ` For your convenience the Changelog, situated in system extension `typo3/cms-core` can also be linked with the prefix `changelog`: .. code-block:: rst * :ref:`Changelog: Remove jquery-ui ` This will be rendered as: * :ref:`Changelog: Remove jquery-ui ` .. _interlink-inventories-third-party-extensions: Interlinks to third party extensions ==================================== You can link to the manual of a third party extension if that extension's manual has been rendered on https://docs.typo3.org. To create an interlink to a third party extension, use the extension's Composer name as interlink domain: .. code-block:: rst * :doc:`News ` * :ref:`External Imports ` This will be rendered as: * :doc:`News ` * :ref:`External Imports ` By default this will link to the main version of the manual. If you desire to link a specific version, you can attach the minor version (for example "11.3") separated by a slash: .. code-block:: rst * :doc:`News ` * :doc:`External Imports ` * :doc:`News ` * :doc:`External Imports ` If an extension author needs to link to a specific version of an extension's manual, they can define that version manually in the manual's :file:`guides.xml`: .. code-block:: xml :caption: Documentation/guides.xml .. code-block:: rst * :doc:`News ` * :doc:`External Imports ` This will be rendered as: * :doc:`News ` * :doc:`External Imports `