| | 121 | } |
| | 122 | |
| | 123 | // プラグイン毎のドキュメント |
| | 124 | { |
| | 125 | io.writeFile( |
| | 126 | io.getFile(outputDir + htmlFilename), |
| | 127 | <html> |
| | 128 | <head> |
| | 129 | <title>{plugin.info.name.toString()}</title> |
| | 130 | <link rel="stylesheet" href="plugin.css" type="text/css" /> |
| | 131 | <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| | 132 | </head> |
| | 133 | <body> |
| | 134 | <div class="information" id="information"> |
| | 135 | <h1>{plugin.info.name.toString()}</h1> |
| | 136 | <div> |
| | 137 | <dl> |
| | 138 | <dt>Description</dt> |
| | 139 | <dd>{plugin.info.description || '---'}</dd> |
| | 140 | <dt>Latest version</dt> |
| | 141 | <dd>{plugin.info.version || '???'}</dd> |
| | 142 | <dt>Vimperator version</dt> |
| | 143 | <dd>{(plugin.info.minVersion || '?') + ' - ' + (plugin.info.maxVersion || '?')}</dd> |
| | 144 | <dt>URL</dt> |
| | 145 | <dd><a href={CodeRepos + pluginFilename} class="coderepos" target="_blank">{CodeRepos + pluginFilename}</a></dd> |
| | 146 | <dt>File URL</dt> |
| | 147 | <dd>{plugin.info.updateURL || '--'}</dd> |
| | 148 | <dt>Author</dt> |
| | 149 | <dd>{authors}</dd> |
| | 150 | <dt>License</dt> |
| | 151 | <dd>{plugin.info.license || '--'}</dd> |
| | 152 | </dl> |
| | 153 | </div> |
| | 154 | </div> |
| | 155 | <div class="detail" id="detail">{plugin.info.detail}</div> |
| | 156 | </body> |
| | 157 | </html>.toString() |
| | 158 | ); |
| | 159 | } |
| | 160 | |
| | 161 | // index.html |
| | 162 | { |