Search by

frankandoak / silo-documentation

dav-m85

There is no license information available for the latest version (v0.1.0) of this package.

Documentation module for Silo

Package info

github.com/frankandoak/silo-documentation

Language:JavaScript

pkg:composer/frankandoak/silo-documentation

Statistics

Installs: 168

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2017-06-21 18:42 UTC

This package is not auto-updated.

Last update: 2026-09-09 03:06:56 UTC


README

Documentation module, comes with the PHP endpoint and the React component. Serves also the none markdown files.

Usage

$app->register(new \Silo\Documentation\Provider([
    '/silo' => './vendor/frankandoak/silo/doc',
    '' => './doc')
]));
## Inside your routing file
const Doc = require('./../vendor-repo/frankandoak/silo-documentation').Doc; 
ReactDOM.render(<Doc page={url.match(/\/doc(.*)$/)[1]}/>, document.getElementById('#doc'));