Skip to content
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

Generate templating docs #919

Open
Guite opened this issue Jan 7, 2017 · 2 comments
Open

Generate templating docs #919

Guite opened this issue Jan 7, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@Guite
Copy link
Owner

Guite commented Jan 7, 2017

The generator could create documentation (templating.md in docs folder) assisting in customising the templates.

Proposed structure:

Vendor/MyModule/Resources/views/base.html.twig

Purpose: this template does ...
It contains the following structure:

Variables


Blocks

{% block header %}

The header block is used in the following templates


The header block is extended in the following templates

{% block titleArea %}

...

Vendor/MyModule/Resources/views/MyEntity/index.html.twig

Variables

Blocks

...

cc @rallek

@Guite Guite added the feature label Jan 7, 2017
@Guite Guite added this to the Future milestone Jan 7, 2017
@Guite Guite self-assigned this Jan 7, 2017
@rallek
Copy link

rallek commented Jan 7, 2017

thanks :-)

@rallek
Copy link

rallek commented Jan 8, 2017

Might be also some documents about available permissions are possible in another .md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants