Edgewall Software

Changes between Version 7 and Version 8 of TracDev/TracURLs


Ignore:
Timestamp:
Aug 18, 2015, 2:48:56 PM (4 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/TracURLs

    v7 v8  
    33The following URLs are specified relative to base Trac URL:
    44
    5  /chrome :: for any kind of ''static resources'' (usually ''images'', ''.css'' and ''.js''). They are called ''static'', because they don't require any server-side processing and can be served as-is. In fact to avoid firing [TracDev/RequestHandling Trac request handling] many people prefer to have those static resources  [TracInstall#MappingStaticResources served directly by the web server].
    6  /chrome/site :: accesses static resources for TracInterfaceCustomization contained in the [TracEnvironment environment's] ''htdocs/'' directory 
     5 /chrome :: path to be used for any kind of ''static resource'', usually ''images'', ''.css'' and ''.js''. They are called ''static'', because they don't require any server-side processing and can be served as-is. In fact to avoid [TracDev/RequestHandling Trac request handling] many people prefer to have those static resources  [TracInstall#MappingStaticResources served directly by the web server].
     6 /chrome/site :: accesses static resources for TracInterfaceCustomization contained in the [TracEnvironment environment's] ''htdocs/'' directory.
    77 /chrome/shared :: accesses static resources in a shared location defined by the `htdocs_dir` option in the `inherit` section of the [wiki:TracIni#inherit-section].
    88 /chrome/common :: accesses static resources used by Trac. These are usually found in the ''htdocs/'' subdirectory of the Trac installation.
    9  /chrome/<pluginname> :: accesses static resources for a plugin
     9 /chrome/<pluginname> :: accesses static resources for a plugin.
    1010
    1111All static resources can be exported with '''trac-admin deploy''' command to serve them independently. The process is described in detail in TracInstall#MappingStaticResources. Just do not forget to re-export them after installing new plugins or upgrading Trac.