Context-driven documentation for the CMS, driven by markdown!
Put your markdown files in a directory called docs/userguides or whatever you configure via:
SilverStripe\Clippy\Controllers\DocumentationPageController:
docs_dir: /docs/userguidesYou should include a _index.md file that will serve as the Navigation - the simplest
version is just a list of links, e.g.
# Index
* [Intro](introduction.md)
* [First Page](Page.md)
* [Second Page](SecondPage.md)
* [Third Page](depth/ThirdPage.md)The module also looks for introduction.md in the root level of the docs dir - this will be
the "home" page to land on if no other page is requested.
Prepend your markdown files with metadata like so:
[ClassName]: / (Page)
[Title]: / (This is the Demo Page)
[Description]: / (This is a Demo page that you can see a demo on)To populate those fields on the object generated by the dev/task.
To turn your markdown into gold DataObjects, run dev/tasks/SilverStripe-Clippy-Task-GenerateUserGuides.
You should see some output about manipulation of images and links, that's to keep things
safe and to ensure they work inside the CMS environment.
To that end, all links and image definitions should be relative, i.e.

This here [is another link to a page on the same level](sibling.md)
But [this link is for a child](directory/child.md)See License
Ironically, @TODO
- Andrew Paxley andrewandante@gmail.com
- Jeremy Cole (Thanks for building the bones of this with me!)
- Lianna Blanca Gonlag (Thanks for keeping our Documentation organised and the massive effort in writing it!)
- Werner Kraus (Thanks for stopping that pesky CMS Preview from redirecting!)
- Beth McPhail and Cassie Zoest (Thanks for adding much needed sanity to our design ideas!)
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.