entidi/silverstripe-gtkdoc

This package is abandoned and no longer maintained. No replacement package was suggested.

Import a gtk-doc manual under the SilverStripe page tree

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Type:silverstripe-module

1.1.0 2014-02-22 23:22 UTC

This package is auto-updated.

Last update: 2022-04-06 18:53:44 UTC


README

Build Status Latest Stable Version

The silverstripe-gtkdoc module implements a new page type (Gtkdoc) that allows to import into the pages tree of a SilverStripe based website a reference manual generated by gtk-doc. The gtk-doc page is a typical page and can contain arbitrary text: the reference manual will be shown as a tree of (virtual) pages under it.

The only parameter required is the absolute path to a .devhelp2 file that identifies the gtk-doc reference manual to import. It must be specified into the CMS, under the content tab. The module expects all the html files to be in the same path, as usually done by a pristine gtk-doc installation.

The HTML code is picked up directly from the file system. The usual place where gtk-doc files reside is under /usr/share/gtk-doc/html/ (typical on GNU/Linux platforms) or /usr/local/share/gtk-doc/html/ (on BSD based systems). Those files are checked at every specific request and are updated when required. The updated HTML code is cached in the database under the GtkdocSection table.

For better results, a theme that supports menu with arbitrary nesting levels, such as silverstrap or silverstripe-treeish, is suggested.