Wiki pages FreeBSD handbook style
Description
Tweaks and tricks to have your wiki pages look like the FreeBSD handbook and articles. Included but not to limited:
- Man page linking
- Syntaxing of files and code snippets
- Information and Warning fields
Bugs/Feature Requests
Existing bugs and feature requests for FreeDocPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out FreeDocPlugin from here using Subversion, or browse the source with Trac.
Installation
- Download from here and unzip it
- Build like a general egg, for Trac version 0.11 use:
$ cd freedocplugin/0.11 $ python setup.py bdist_egg
- Copy the egg in your plugins by either uploading it using the admin panel. Or copy it on the command line.
- Enable in your trac.ini, by adding freedoc.* = enabled to your [components] section. Like this:
[components] freedoc.* = enabled
- Restart/reload your webserver if running some kind of mod_python, mod_fsgi or something like it.
- Enjoy!
Example
example(1)
To link to a certain man page use syntax like sshd(8) or nc(1)
1. After every colon at the end of the line there will be an automagic return:
example# have your commands detected and formatted in pre
of course you could also use the non-root variant:
example$ echo "{{{ preserve command syntax till end of line }}}";
1. Use a somehow more simple *bold* tag
Note: Will alert your readers to be careful by a drawing the attention using a grey box
1. Linking to file:README or dir:/usr/local/etc will automatically syntax it.
Important: Will draw a big fat warning alerting your users of total disaster
Recent Changes
[6989] by rickvanderzwet on 11/01/09 21:16:50
Ehm, /s /S what's the difference ;-)
[6988] by rickvanderzwet on 11/01/09 21:07:55
Do some pretty printing on CLI lines, allowing some closer distinction between a command and some informatiol text
[6985] by rickvanderzwet on 11/01/09 17:39:02
Included the 'tip' directive
[6984] by rickvanderzwet on 11/01/09 15:16:58
Initial version of FreeDocPlugin
Author/Contributors
Author: rickvanderzwet
Contributors:
Attachments
- example-freedoc.png (54.8 kB) -
Rendered example output
, added by rickvanderzwet on 11/01/09 15:05:33.


