Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Documentation generator that powers doc.silverstripe.org and your own projects
PHP CSS Scheme JavaScript
branch: master

Merge pull request #64 from tractorcow/pulls/canonical-url

API Use canonical URL for all repositories
latest commit 3a239fcdfa
@camfindlay camfindlay authored
Failed to load latest commit information.
_config FIX: Add tests and correct behaviour for next/prev
code API Use canonical URL for all repositories, and instead redirect from…
css FIX: margin around edit too small and causes UI problems with nav.
docs ENHANCEMENT optional branch property to allow version aliases of deve…
images These changes make a number of improvements, mostly typographical, to…
javascript Merge branch 'fixsearch'
lang NEW: Github style code fence blocks. (Fixes #22)
templates Bug with Search Entities - removing from form. Removed calls to page …
tests API Use canonical URL for all repositories, and instead redirect from…
thirdparty These changes make a number of improvements, mostly typographical, to…
.editorconfig Adding .editorconfig
.gitignore MINOR: ignore ds store files
.travis.yml API Use canonical URL for all repositories, and instead redirect from…
LICENSE Fix RebuildLuceneDocsIndex to use new Markdown parser
README.md
_config.php Merge branch 'manifest'
composer.json API Use canonical URL for all repositories, and instead redirect from…

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.

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

Something went wrong with that request. Please try again.