Go to file
Will Rossiter 43b6d42719 Overhaul of module to use DocumentationManifest
This major update changes the behaviour of the docviewer module to use a cached manifest rather than on demand. This allows us to simplify the URL matching and store 'nice' URL configuration rather than altering handleAction().
2014-09-07 11:26:12 +12:00
_config New theme. 2014-09-06 11:13:12 +12:00
code Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00
css Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00
docs Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00
images Migrated theme from doc.ss back to the module 2012-11-10 11:12:30 +13:00
javascript Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00
lang NEW: Github style code fence blocks. (Fixes #22) 2013-02-19 22:23:22 +13:00
templates Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00
tests Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00
thirdparty Use erusev/parsedown as the Markdown parser. (Fixes #31) 2014-07-27 12:39:44 +12:00
.gitignore MINOR: ignore ds store files 2012-04-08 21:19:29 +12:00
.travis.yml Travis support 2013-03-29 09:38:02 +01:00
LICENSE ENHANCEMENT: rolled out basic versioning support. 2011-07-01 13:19:35 +12:00
README.md Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00
_config.php Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00
composer.json Overhaul of module to use DocumentationManifest 2014-09-07 11:26:12 +12:00

README.md

Documentation Viewer Module

Build Status

Maintainer Contact

Requirements

  • SilverStripe 3.1

Summary

Reads markdown files from a given list of folders from your installation and provides a web interface for viewing the documentation. Ideal for providing documentation alongside your module or project code.

A variation of this module powers the main SilverStripe developer documentation and the user help websites.

For more documentation on how to use the module please read /docs/Writing-Documentation.md (or via this in /dev/docs/docsviewer/Writing-Documentation in your webbrowser)

Installation

composer require "silverstripe/docsviewer" "dev-master"

Usage

After installing the files via composer, rebuild the SilverStripe database..

sake dev/build

Then start by viewing the documentation at yoursite.com/dev/docs.

Out of the box the module will display the documentation files that have been bundled into any of your installed modules. To configure what is shown in the documentation viewer see the detailed documentation.

For more information about how to use the module see each of the documentation

* [Configuration](docs/en/configuration.md)
* [Markdown Syntax](docs/en/markdown.md)
* [Syntax Highlighting](docs/en/syntax-highlighting.md)
* [Publishing Static Files](docs/en/statichtml.md)

License

See LICENSE