Skip to content

Commit

Permalink
Add missing src directory
Browse files Browse the repository at this point in the history
It is mentioned in composer.json
  • Loading branch information
greg0ire committed Sep 29, 2024
1 parent 45fd545 commit 241adf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/developers/extensions/structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ you can also configure the guides extension from your extension:

.. literalinclude:: _YourExtension.php
:language: php
:caption: your-extension/DependencyInjection/YourExtension.php
:caption: your-extension/src/DependencyInjection/YourExtension.php
:lineos:

Lines 24 to 28 load a :ref:`Dependency Injection configuration <extension_di_configuration>`
Expand Down
4 changes: 2 additions & 2 deletions docs/developers/extensions/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Register the templates overrides in your extension's

.. literalinclude:: _YourExtension.php
:language: php
:caption: your-extension/DependencyInjection/YourExtension.php
:caption: your-extension/src/DependencyInjection/YourExtension.php
:lineos:
:emphasize-lines: 29-35

Expand Down Expand Up @@ -40,7 +40,7 @@ To extend the base template (plain HTML) require `phpdocumentor/guides` in your


.. code-block:: php
:caption: your-extension/DependencyInjection/YourExtension.php
:caption: your-extension/src/DependencyInjection/YourExtension.php
$container->prependExtensionConfig('guides', [
'themes' => ['mytheme' => dirname(__DIR__, 3) . '/resources/template'],
Expand Down

0 comments on commit 241adf9

Please sign in to comment.