To create a blueprint you need to touch a number of files.
There is the XML file containing the template,
the Soy file to specify the wizard.
A JavaScript file for the validators for the wizard,
probably a Java file to manipulate the blueprint context.
Add localized resource files for one or more languages,
create one or more index pages,
and finally a number of edits to the atlassian-plugin.xml file.
Note Box
For projectdoc we also generate blueprints to create index pages (should you get lost of the doctypes homepage), special pages (such as - and currently the only one) content management homepage, which is a view for authors on the documents, and finally a blueprint that creates all pages of a space in an already existing page.
Since these are considered as basic support they are created automatically.
So the basic course of events is this:
Code Block
language
text
theme
Midnight
> mvn doctype:create
-DshortId=services
-DprojectName="Service Management Doctypes"
-DprojectDescription="Provides Blueprints for System Management."
-DcreateExamples=false
> [add your descriptor files]
> mvn doctype:generate
> atlas-run
Tip Box
If you start from new you probably would like to have some example files and your are probably not that fancy with to specify a nice name and description. In this case use thisthe following: