We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative paths are resolved from the location where the file is included not from the location oft the file itself
I have the following directory structures:
They are all included in Index.rst
Now if one of the properties or examples has a literalinclude using relativ paths I would expect the following to work:
.. literalinclude:: ../_CodeSnippets/_creationOptions.php :language: php :caption: EXT:my_extension/Configuration/TCA/Overrides/tt_content.php
But have to do
.. literalinclude:: _CodeSnippets/_creationOptions.php :language: php :caption: EXT:my_extension/Configuration/TCA/Overrides/tt_content.php
Or an absolute path like
.. literalinclude:: /Types/_CodeSnippets/_creationOptions.php :language: php :caption: EXT:my_extension/Configuration/TCA/Overrides/tt_content.php
I would expect
To work
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Relative paths are resolved from the location where the file is included not from the location oft the file itself
Code snippet that reproduces the problem
I have the following directory structures:
They are all included in Index.rst
Now if one of the properties or examples has a literalinclude using relativ paths I would expect the following to work:
But have to do
Or an absolute path like
Expected output
I would expect
To work
The text was updated successfully, but these errors were encountered: