-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Added a note about configuring several paths under the same namespace #3877
New issue
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
Conversation
javiereguiluz
commented
May 26, 2014
Q | A |
---|---|
Doc fix? | no |
New docs? | yes |
Applies to | 2.3+ |
Fixed tickets | #3661 |
@@ -81,3 +81,56 @@ called ``sidebar.twig`` in that directory, you can use it easily: | |||
.. code-block:: jinja | |||
|
|||
{% include '@foo_bar/sidebar.twig' %} | |||
|
|||
Multiple paths per namespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple Paths per Namespace (everything should be capitalized except from closed-class words)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont understand this comment. The original headings of this article were: How to use and Register namespaced Twig Paths
and Registering your own namespaces
. Are they correct? Should I fix them too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, those are indeed also incorrect. They should be "How to Use and Register Namespaced Twig Paths" and "Registering your own Namespaces"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you @wouterj! Everything is fixed now.
); | ||
)); | ||
|
||
Now you can use the same ``@theme`` namespace to refer to any template located |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a comma after Now
Awesome Javier! |
…same namespace (javiereguiluz) This PR was merged into the 2.3 branch. Discussion ---------- Added a note about configuring several paths under the same namespace | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | 2.3+ | Fixed tickets | #3661 Commits ------- fb5388c Added a comma 40524ca Fixed the case of the headings 857c6cd Minor simplification of the XML code 29863f1 Added a note about configuring several paths under the same namespace