wiki:WikiCssPlugin

Version 12 (modified by figaro, 6 years ago) (diff)

Add functional description

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.

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

18240 by rjollos on 2021-04-19 15:00:39
WikiCssPlugin: Add release command
18235 by Cinc-th on 2021-04-19 06:31:02
WikiCssPlugin: make it compatible with Trac 1.6. Add documentation to the plugin.
17138 by rjollos on 2018-04-16 20:01:32
TracWikiCssPlugin 0.3: Conform to PEP8
(more)

Author/Contributors

Author: martin_s
Maintainer: Martin Scharrer
Contributors:

Attachments (1)

Download all attachments as: .zip