Go to file
Sam Minnée 691f5dddb8
FIX: Relaxed parsedown requirement for PHP 7 support (#138)
FIX: Modernise travis build matrix
 - SS 3.6 works with PHP 7.1
 - PHP 5.3 testing is no longer feasible
* FIX: Drop use of precise.

Precise is deprecated, we shouldn’t use it. Instead we should drop php
5.3 testing.
2018-06-08 11:16:16 +12:00
_config FIX: Add tests and correct behaviour for next/prev 2014-09-21 11:18:36 +12:00
code FIX Ensure first processed stable version is treated as canonical 2017-11-10 15:50:03 +13:00
css Merge pull request #146 from creative-commoners/pulls/2.0/fix-image-float 2018-01-29 13:44:30 +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 Better syntax highlighting 2017-06-29 11:13:01 +12:00
lang Hotfix/remove search hamburger (#125) 2016-11-04 16:51:02 +13:00
templates NEW Add ability to handle canonical URLs 2017-08-08 15:41:27 +12:00
tests Apply PSR-2 coding conventions 2017-08-28 11:35:02 +12:00
thirdparty Better syntax highlighting 2017-06-29 11:13:01 +12:00
_config.php 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 FIX: Modernise travis build matrix 2018-06-08 11:15:33 +12:00
code-of-conduct.md Added standard code of conduct 2015-11-21 20:19:12 +13:00
composer.json FIX: Relax parsedown / parsedown-extra requirement, for PHP7 support 2018-06-08 11:14:56 +12:00
license.md Updated license year 2016-01-01 06:31:01 +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

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