Go to file
Robbie Averill 40d70a0b32 Merge pull request #126 from tractorcow/pulls/2.0/extra-fields
API Add VersionTitle and Archived fields to config
2016-12-05 10:22:45 +13:00
_config FIX: Add tests and correct behaviour for next/prev 2014-09-21 11:18:36 +12:00
code Fix some CBF linting issues. Improved a couple of doc blocks. 2016-12-05 08:53:53 +13:00
css PSR2 Formatting 2016-12-02 15:31:18 +13:00
docs ENHANCEMENT A missing sources dir will simply disable that repo with a warning, rather than fatally erroring 2016-06-21 18:00:30 +12:00
images These changes make a number of improvements, mostly typographical, to improve readability and to render properly on small devices. 2014-11-07 12:01:07 +13:00
javascript PSR2 Formatting 2016-12-02 15:31:18 +13:00
lang Hotfix/remove search hamburger (#125) 2016-11-04 16:51:02 +13:00
templates Hotfix/remove search hamburger (#125) 2016-11-04 16:51:02 +13:00
tests Fix some CBF linting issues. Improved a couple of doc blocks. 2016-12-05 08:53:53 +13:00
thirdparty PSR2 Formatting 2016-12-02 15:31:18 +13:00
.editorconfig Added standard editor config 2015-11-21 19:51:34 +13:00
.gitattributes Added standard git attributes 2015-11-21 20:09:58 +13:00
.gitignore MINOR: ignore ds store files 2012-04-08 21:19:29 +12:00
.scrutinizer.yml Added standard Scrutinizer config 2015-11-21 19:34:48 +13:00
.travis.yml Remove old CORE_RELEASE versions 2016-12-02 15:57:47 +13:00
README.md ENHANCEMENT A missing sources dir will simply disable that repo with a warning, rather than fatally erroring 2016-06-21 18:00:30 +12:00
_config.php PSR2 Formatting 2016-12-02 15:31:18 +13:00
code-of-conduct.md Added standard code of conduct 2015-11-21 20:19:12 +13:00
composer.json ENHANCEMENT A missing sources dir will simply disable that repo with a warning, rather than fatally erroring 2016-06-21 18:00:30 +12:00
license.md Updated license year 2016-01-01 06:31:01 +13:00

README.md

Documentation Viewer Module

Build Status

Maintainer Contact

Requirements

These are pulled in via Composer.

  • SilverStripe 3.1
  • Parsedown and Parsedown Extra.

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.

If something isn't working, you can run the dev task at yoursite.com/dev/tasks/CheckDocsSourcesTask to automatically check for configuration or source file errors.

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