This template provides a standardized format for creating new documentation in the Comserv system using the Template Toolkit (.tt) format. Following this template ensures that all documentation is consistent and properly formatted for browser display.
Every .tt documentation file should begin with a proper Template Toolkit header section. This section contains metadata and debug information:
0
Use HTML tags instead of Markdown syntax in .tt files:
The document should start with a level 1 heading (<h1>) that matches the title in the META section.
Begin with an overview section that briefly explains the purpose and scope of the document.
Organize the document into logical sections using level 2 headings (<h2>).
Use level 3 headings (<h3>) for subsections within main sections.
Use <pre> tags for code examples with proper HTML escaping:
sub example_function {
my ($self, $param) = @_;
return $param;
}
Use HTML list tags for unordered items:
Use numbered lists for sequential steps:
Use HTML table tags for tabular data:
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Data 1 | Data 2 | Data 3 |
| Data 4 | Data 5 | Data 6 |
Use appropriate HTML formatting for notes and warnings:
Note: This is an important note that users should be aware of.
Warning: This is a warning about potential issues.
0 <h1>User Profile Management</h1> <h2>Overview</h2> <p>This guide explains how to manage your user profile in the Comserv system, including updating personal information, changing your password, and configuring notification preferences.</p> <h2>Accessing Your Profile</h2> <ol> <li>Log in to the Comserv system</li> <li>Click on your username in the top-right corner</li> <li>Select "Profile" from the dropdown menu</li> </ol>
0 <h1>User Role Management</h1> <h2>Overview</h2> <p>This guide explains how administrators can manage user roles in the Comserv system, including assigning roles, creating custom roles, and configuring role permissions.</p> <h2>Accessing Role Management</h2> <ol> <li>Log in to the Comserv system as an administrator</li> <li>Navigate to Admin > User Management > Roles</li> </ol>
Place documentation files in the appropriate subdirectory:
Following this template ensures that all documentation is consistent, properly formatted for Template Toolkit processing, and displays correctly in the browser. The .tt format allows for dynamic content and proper integration with the Comserv system.