Edgewall Software

Changes between Version 127 and Version 128 of MacroBazaar


Ignore:
Timestamp:
Sep 15, 2005, 5:05:20 PM (19 years ago)
Author:
sid
Comment:

Adding documentation for adding, updating, and deleting macros

Legend:

Unmodified
Added
Removed
Modified
  • MacroBazaar

    v127 v128  
    1010
    1111'''Another Note:''' '' [http://trac-hacks.swapoff.org Trac Hacks] provides free '''Trac + Subversion''' hosting for Trac macros, patches, plugins,  etc.'''
     12
     13== How to install, edit, delete macros ==
     14
     15'''Installing a macro'''
     16 1. Download the ''<macro>.py'' file.
     17 1. Save it to your ''trac.db/wiki-macros'' directory
     18 1. Restart your web server
     19 1. Open a Wiki page and add the macro text to test the macro (usually something like {{{[[Macro]]}}} or {{{[[Macro(argument1, argument2)]}}}
     20
     21You can '''edit the macro''' by using any text editor and editing the ''trac.db/wiki-macros/<macro>.py'' file. Make the appropriate changes, restart the web server you are using, and the changes should appear.
     22
     23'''To delete the macro''', just delete all the macro files in the ''trac.db/wiki-macros'' directory (that have the form ''<macro>.*'').
    1224
    1325== Examples ==