PHP code example of macfly / yii2-markdown-doc
1. Go to this page and download the library: Download macfly/yii2-markdown-doc library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
macfly / yii2-markdown-doc example snippets
'modules' => [
................
'doc' => [
'class' => 'macfly\yii2\doc\Module',
// Directory to list
'rootDocDir' => '@app/docs',
// set false if you don't want to cache generated html, usefull for debugging
//'cache' => true,
]
................
],