Skip to content

Commit

Permalink
Merge pull request #827 from robertfausk/patch-1
Browse files Browse the repository at this point in the history
add note about adding empty directories to git
  • Loading branch information
loostro committed Mar 3, 2015
2 parents 6332d1b + c708b6b commit 9b4d8cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Resources/doc/cookbook/extending-generator-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ admingenerator_generator:
2. Keep in mind that you will at least need **one dir** in the previous specified template directory, namely of the DBAL layer used, so one of [Doctrine, DoctrineODM, Propel].
Without this directory, the specified template directory will not be used for extending/overwriting any of the templates, even in the CommonAdmin dir.
Note: If you are using git and your directory is empty you will [need to add least one file to add this directory to git](https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F). It's convention to add a .gitkeep file.
3. Be free to extend/overwrite any template in the Resources/templates dir of the AdminGenerator!
Please note that your own templates might need adjustment when new releases of the AdminGenerator arrive. So if anything breaks after a update and you're using custom templates, please check those first!
Please note that your own templates might need adjustment when new releases of the AdminGenerator arrive. So if anything breaks after a update and you're using custom templates, please check those first!

0 comments on commit 9b4d8cb

Please sign in to comment.