wiki:WikiCssPlugin

Set styles based on the styling of a single wiki page

Description

This plugin allows a user to apply the styling of a selected wiki page to the entire Trac project. It does so by using the CSS file of the selected wiki page as the global CSS file for the Trac project. The CSS file is specified as [/projectdir]/wikicss.css in the project's trac.ini file and a link HTML header is inserted which directs browsers to it.

The action can be undone by removing or commenting out the line from the trac.ini file, without having to uninstall or deactivate the plugin.

This plugin was originally requested through #1714.

Bugs/Feature Requests

Existing bugs and feature requests for WikiCssPlugin are here.

If you have any issues, create a new ticket.

defect

5 / 6

Download

Download the zipped source from here.

The plugin is also available on PyPI.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

Put the following into your configuration file trac.ini:

[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

17138 by rjollos on 2018-04-16 20:01:32
TracWikiCssPlugin 0.3: Conform to PEP8
15264 by rjollos on 2016-02-11 04:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

9159 by martin_s on 2010-09-27 14:27:40
0.11/tracwikicss/plugin.py
Added use of HTTPNotFound exception.
(more)

Author/Contributors

Author: martin_s
Maintainer: Martin Scharrer
Contributors:

Last modified 6 months ago Last modified on Apr 14, 2018, 9:56:58 PM