2010-03-04 05:39:02 +01:00
|
|
|
# Documentation Viewer Module
|
|
|
|
|
2013-03-29 09:38:02 +01:00
|
|
|
[![Build Status](https://secure.travis-ci.org/silverstripe/silverstripe-docsviewer.png?branch=master)](http://travis-ci.org/silverstripe/silverstripe-docsviewer)
|
|
|
|
|
2011-01-11 02:35:59 +01:00
|
|
|
## Maintainer Contact
|
|
|
|
|
|
|
|
* Will Rossiter (Nickname: willr, wrossiter)
|
2012-04-08 11:23:49 +02:00
|
|
|
<will@fullscreen.io>
|
2010-03-04 05:39:02 +01:00
|
|
|
|
|
|
|
## Requirements
|
2011-01-11 02:35:59 +01:00
|
|
|
|
2014-01-14 08:41:59 +01:00
|
|
|
* SilverStripe 3.1
|
2010-03-04 05:39:02 +01:00
|
|
|
|
|
|
|
## Summary
|
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
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.
|
2012-04-08 11:23:49 +02:00
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
A variation of this module powers the main SilverStripe developer documentation
|
|
|
|
and the user help websites.
|
2010-03-04 05:39:02 +01:00
|
|
|
|
2011-01-11 02:35:59 +01:00
|
|
|
For more documentation on how to use the module please read /docs/Writing-Documentation.md
|
2014-01-14 08:41:59 +01:00
|
|
|
(or via this in /dev/docs/docsviewer/Writing-Documentation in your webbrowser)
|
2011-01-10 11:59:31 +01:00
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
## Installation
|
2014-01-14 08:41:59 +01:00
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
composer require "silverstripe/docsviewer" "dev-master"
|
2014-01-14 08:41:59 +01:00
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
## Usage
|
2014-01-14 08:41:59 +01:00
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
After installing the files via composer, rebuild the SilverStripe database..
|
2014-01-14 08:41:59 +01:00
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
sake dev/build
|
2014-01-14 08:41:59 +01:00
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
Then start by viewing the documentation at `yoursite.com/dev/docs`.
|
2014-01-14 08:41:59 +01:00
|
|
|
|
2014-09-07 01:26:12 +02:00
|
|
|
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](docs/en/configuration.md).
|
|
|
|
|
|
|
|
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
|