Say you're developing
MyPackage` and want to create page for
MySymbol::myMessage. Assuming you already have created standard Application project, with documentation support, perform following steps.
Messages directory with
Open PacletInfo editor (double click on
Documentation tab, there should be
ExtraReferences/Messages position select it and click on
Add Page. Type in
myMessage in window that should appear and click OK.
MyProject/MyPackage/Documentation/English/ReferencePages/Messages/myMessage.nb file should be created.
Manually move above file to
MySymbol sub-directory. Its path should now be:
Categorization section, change
Entity Type to
Manually tweak contents as you like. E.g. change title from
MySymbol::myMessage, remove usage cells etc.
PacletInfo.m has proper "Documentation" and "Kernel"
After standard building and deploying everything should work automatically.
Assuming that in your package there is something like:
MySymbol::myMessage = "This is my message."
MySymbol::myMessage should give message text together with proper documentation link:
(* MySymbol::myMessage: This is my message. >> *)