wiki:WikiCssPlugin

Version 2 (modified by martin_s, 6 years ago) (diff)

--

Set CSS styles using a wiki page

Description

This plug-in allows one wiki page to be used as global CSS style file for Trac. The CSS file is provided at [/projectdir]/wikicss.css and a link HTML header is inserted which directs browsers to it.

This plug-in got requested by Request-a-Hack #1714.

Bugs/Feature Requests

Existing bugs and feature requests for WikiCssPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out WikiCssPlugin from here using Subversion, or browse the source with Trac.

Configuration

Put the following into your trac configuration file trac.ini:

[components]
tracwikicss.* = enabled

[wikicss]
# configure wiki page to be used as CSS file as `[/projectdir]/wikicss.css`.
wikipage = SiteStyle

This uses the wiki:SiteStyle page as CSS style file.

Recent Changes

[9159] by martin_s on 2010-09-27 16:27:40
0.11/tracwikicss/plugin.py
Added use of HTTPNotFound exception.
[8555] by martin_s on 2010-08-30 23:58:07
Added encoding meta-comment and declared SVN keywords as unicode to avoid issues with non-english locales.
[8431] by martin_s on 2010-08-23 13:12:22
Removed outdated variable rev from setup file.

Author/Contributors

Author: martin_s
Contributors: