Changes between Version 26 and Version 27 of RevtreePlugin


Ignore:
Timestamp:
Dec 18, 2007 11:47:54 PM (7 years ago)
Author:
eblot
Comment:

Add the new configuration option contexts

Legend:

Unmodified
Added
Removed
Modified
  • RevtreePlugin

    v26 v27  
    198198# default appearance (either 'compact' or 'timeline') 
    199199style = compact 
     200# revtree item appears as the main menu 
     201contexts = 
    200202}}} 
    201203 
     
    229231=== Revtree menu item === 
    230232 
     233==== Menu selection ==== 
     234 
     235Revtree menu may either appears as a main menu item (''i.e.'' in the menu bar) or as a contextual menu item. 
     236 * default settings is to appear in the main menu bar. 
     237 * to make revtree link appear as a contextual menu item, define a `contexts` option in the `[revtree]` section of your `trac.ini` file and use a comma-separated list of the page contexts where the revtree menu should appear, ''e.g.'' 
     238{{{ 
     239[revtree] 
     240contexts = changeset, browser 
     241}}} 
     242   makes revtree links appear in the ''Changeset'' navigation bar and the ''Browser'' navigation bar. 
     243 
     244==== Position in the main menu ==== 
    231245You can change the position of the ''revtree'' menu item using the Trac 
    232246`mainnav` setting, see [t:wiki:TracIni#trac-section TracIni].