5 | | !PasteScript template for creating a view with Trac. Includes a main navigation contributor, templates directory, htdocs, and a request handler. Useful for making a cheap view OOTB |
| 6 | * provides mainnav navigation (INavigationContributor) |
| 7 | * handles requests (IRequestHandler) |
| 8 | * provides templates (ITemplateProvider) |
| 9 | |
| 10 | You can download TracViewScript here: |
| 11 | http://trac-hacks.org/wiki/TracViewScript |
| 12 | |
| 13 | For more general purpose Trac plugin creation, see http://trac-hacks.org/wiki/CreatePluginScript |
| 14 | |
| 15 | == Usage == |
| 16 | |
| 17 | Once you have installed the software, `tracview` should be listed by |
| 18 | paster: |
| 19 | |
| 20 | `paster create --list-templates` |
| 21 | |
| 22 | To invoke the template, run |
| 23 | |
| 24 | `paster create -t tracview FooBar` |
| 25 | |
| 26 | where `FooBar` is the name of the view you want to create. |
| 27 | |
| 28 | == Download == |
| 29 | |
| 30 | Download the zipped source from [download:tracviewscript here]. |
| 31 | |
| 32 | You can check out TracViewScript from [http://trac-hacks.org/svn/tracviewscript here] using Subversion, or [source:tracviewscript browse the source] with Trac. |