Julian Noble
856fab4c88
|
2 months ago | |
---|---|---|
.. | ||
custom | 2 months ago | |
vendor | ||
README.md |
README.md
project_layout information
project layouts don't show as available unless referenced by an entry in a layout_ref folder within the src/decktemplates structure.
This is because some layouts may be intended for use with child projects generated from 'deck project.new' - but not directly by this parent project.
The structure of decktemplates and project_layouts is designed to avoid circular dependencies arising during creation of layouts for child projects - that may then need to in turn support the same layout if the child project creates projects.
Layouts are not included in the resource files of modules for the same reason. (modules may need to be included in layouts) Instead they are pointed to via the decktemplates custom & vendor structure.
layouts within project_layouts/vendor should generally not be customised directly The vendor layouts should be created and updated by loading the appropriate vendor modules. These are plugin modules that are providers of the punk.projectlayout capability (see punk::cap module documentation and the project_layouts/vendor/punk/sample-0.1 layout)