Changes between Version 7 and Version 8 of AddStaticResourcesPlugin
- Timestamp:
- Mar 22, 2022, 6:47:13 PM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AddStaticResourcesPlugin
v7 v8 5 5 == Description 6 6 7 A plugin that maps static resources into urls of your choice. Thus if you wish to add a stylesheet or a javascript to an existing Trac page, you can specify in the `trac.ini` file a regular expression that matches the urlsof the pages and insert the resources. Just add your static resources to the plugins htdocs folder and install, then fill out the `trac.ini` configuration values to enable your static resources on each page you wish. '''Regular expressions are case insensitive by default'''.7 This is a plugin that maps static resources into web addresses of your choice. Thus if you wish to add a stylesheet or a JavaScript to an existing Trac page, you can specify in the `trac.ini` file a regular expression that matches the web addresses (URLs) of the pages and insert the resources. Just add your static resources to the plugins htdocs folder and install, then fill out the `trac.ini` configuration values to enable your static resources on each page you wish. '''Regular expressions are case insensitive by default'''. 8 8 9 9 {{{#!ini … … 22 22 23 23 '''Note''': This plugin shares much functionality of TracTweakUiPlugin, however with the following additional goals: 24 * I want to simply map a url to a javascript or stylesheet that should be included.25 * Affect all Tracs at once:26 * I have many Trac s, so specifying this once in the shared conffile is much nicer than once in each database.27 * Deployment of files should be simple and preferably in the egg we are already installing, rather than in a static location I need to keep track of and separately manage for each Trac .24 * Allows mapping a URL to a JavaScript or stylesheet that should be included. 25 * Affects all Trac projects at once: 26 * I have many Trac projects, so specifying this once in the shared configuration file is much nicer than once in each database. 27 * Deployment of files should be simple and preferably in the egg we are already installing, rather than in a static location I need to keep track of and separately manage for each Trac project. 28 28 29 29 == Bugs/Feature Requests