# Documentation Context for AI Assistants This is the official TYPO3 extension documentation directory in reStructuredText (RST) format. ## Documentation Type **TYPO3 Extension Documentation** - Published at docs.typo3.org ## Documentation Strategy **Target Audience:** **Main Topics:** **Not Covered:** ## Documentation Framework - **Format**: reStructuredText (RST) - **Build System**: TYPO3 Documentation rendering tools - **Published At**: https://docs.typo3.org/p/[vendor]/[extension]/main/en-us/ - **Automated Build**: TYPO3 Intercept webhook deployment ## File Structure ### Required Files - `Index.rst` - Main documentation entry point - `Settings.cfg` - Documentation metadata and configuration ### Common Sections - `Introduction/` - Getting started, features overview - `Installation/` - Installation and upgrade guides - `Configuration/` - TypoScript, extension configuration - `Integration/` - Integration with other systems - `Editor/` - User guide for content editors - `Developer/` - Developer documentation - `API/` - PHP API reference documentation - `Troubleshooting/` - Common issues and solutions ## TYPO3-Specific Directives ### Configuration Documentation Use `confval` for configuration options: ```rst .. confval:: myOption :name: ext-myext-myoption :type: string :Default: 'default value' Description of the configuration option. ``` ### Version Documentation Document version-specific features: ```rst .. versionadded:: 2.0 Support for feature X was added. .. versionchanged:: 2.1 Behavior changed to improve performance. .. deprecated:: 2.2 This feature will be removed in version 3.0. ``` ### PHP API Documentation Document PHP methods and classes: ```rst .. php:method:: processData(array $data): array Process the provided data array. :param array $data: The input data :returns: Processed data array ``` ### Card Grid Navigation Create visual navigation with card grids: ```rst .. card-grid:: :columns: 2 :gap: 4 .. card:: :ref:`Installation ` How to install and configure the extension. .. card:: :ref:`Configuration ` TypoScript and extension configuration reference. ``` ## Cross-References ### Internal References ```rst .. _my-section-label: Section Title ============= Reference it with :ref:`my-section-label` or :ref:`custom text ` ``` ### External TYPO3 Docs ```rst :ref:`t3coreapi:caching` - Reference to TYPO3 Core API docs :ref:`t3tsref:stdwrap` - Reference to TypoScript Reference ``` ### Code References ```rst :php:`ClassName` - PHP class :ts:`config.tx_myext` - TypoScript :file:`Configuration/TCA/` - File path :bash:`composer require` - Shell command ``` ## RST Syntax Patterns ### Headings ```rst ============= Document Title (Level 1 - only once per file) ============= Section (Level 2) ================= Subsection (Level 3) -------------------- Subsubsection (Level 4) ^^^^^^^^^^^^^^^^^^^^^^^ ``` ### Lists ```rst Bullet list: * Item 1 * Item 2 Numbered list: #. First #. Second Definition list: Term Definition of the term. ``` ### Code Blocks ```rst .. code-block:: php