Changes between Version 7 and Version 8 of AddStaticResourcesPlugin


Ignore:
Timestamp:
Mar 22, 2022, 6:47:13 PM (2 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • AddStaticResourcesPlugin

    v7 v8  
    55== Description
    66
    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 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'''.
     7This 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'''.
    88
    99{{{#!ini
     
    2222
    2323'''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 Tracs, so specifying this once in the shared conf 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.
     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.
    2828
    2929== Bugs/Feature Requests