14 | | * The help information should be in HTML format and available online. This has the following advantages: |
15 | | * quick access from everywhere |
16 | | * easily updateable (fixed wrong help information, adding more information, etc.) |
17 | | * easy to create rich text content with text formatting, links, images, menus with JavaScript, etc. |
18 | | * searchable by google and other search engines (if we use a Sophie book for the help, this will be hard to achieve) |
19 | | * Some help content is available at [wiki:ITERATION_06/Release/UserDocumentation]. |
| 14 | * The help information should be in HTML format and available both offline and online. |
| 15 | * Some help content is already available at [wiki:ITERATION_06/Release/UserDocumentation]. |
53 | | * Each Sophie module can provide (if appropriate) an extension with help information. This extension may contain: |
54 | | * URL of the help information of the module. |
55 | | * Can point to the sophie website |
56 | | * Third-party modules can use their vendor's website, or local directory with help files. |
57 | | * Help contents entries. For example, the {{{org.sophie2.main.view.menus module}}} can provide an entry with id="main.view.menus.file", title="File Menu" and parent="main.view.menus". The location of the HTML page should be something like {{{<sophie_website>/<help>/main/view/menus/file.html}}}. |
58 | | * When selecting "Help Contents" in the Help menu, a content page is generated. |
59 | | * The entries are gathered from each module's help extension. |
60 | | * The generated page is in HTML format |
61 | | * The page is created in the TEMP directory. Do not forget to delete it after closing the window. |
62 | | * The page can consist of a frameset with left frame - the generated menu, and right frame - the remote help page that is invoked by clicking on a menu entry. |
63 | | * We should use locally generated help contents menu instead of the website's help index page, because each Sophie installation may have different plugins installed. |
| 48 | * Each Sophie module can provide (if appropriate) an extension with help information. |
| 49 | * The extension should contain the relative path of the HelpSet file. |
| 50 | * The HelpSets are dynamically merged into a single HelpSet. |
90 | | * Create the menu and menu items. |
91 | | |
92 | | * For the browser: |
93 | | * browse(URI) in java.awt.Desktop can be used. |
94 | | * but the Desktop API is from Java 6. |
95 | | |
96 | | * For the content generator: |
97 | | * Create two HTML files: |
98 | | * Index page (index.html or similar) - frameset with two frames - actually it is the same every time, so you can use already created html file. |
99 | | * Contents page - the help contents, arranged in a tree. Each link should be open in the right frame. |
100 | | * Use CSS from the official website of Sophie 2. |
101 | | * Use FileEntryManager.getWritableEntry |
102 | | * For next revisions: cache the generated page, because it's the same most of the time. |
| 77 | * Create the menu items. |