Changes between Version 9 and Version 10 of ThemeEnginePlugin
- Timestamp:
- Nov 4, 2009, 7:31:58 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ThemeEnginePlugin
v9 v10 16 16 == API Basics == 17 17 Most themes should simply subclass `ThemeBase` (in `themeengine.api`). This works similarly 18 to `WikiMacroBase`, use you theme name followed by "Theme" as the class name, and put the18 to `WikiMacroBase`, use your theme name followed by "Theme" as the class name, and put the 19 19 description as the class's docstring. There are a number of class variable you can define to affect 20 20 how your theme will be loaded, if any is set to `True`, it will take on a default value (see below):