Example #1
0
<?php

/**
 * Documentation index
 *
 * @author h.woltersdorf
 */
require_once __DIR__ . '/../vendor/autoload.php';
use hollodotme\TreeMDown\TreeMDown;
$treemdown = new TreeMDown(__DIR__ . '/MilestonES');
$treemdown->setCompanyName('hollodotme');
$treemdown->setProjectName('MilestonES');
$treemdown->setShortDescription('Milestone enabled event store');
$treemdown->display();
Example #2
0
#
# Default: index.md
#
#$tmd->setDefaultFile('index.md');
# Show/Hide filename suffix
#
# Default: Suffix is shown
#
#$tmd->showFilenameSuffix();
#$tmd->hideFilenameSuffix();
# Prettify directory and file names
# This removes all "-" and "_" from the names displayed in the tree
#
# Default: Pretty names are disabled
#
#$tmd->enablePrettyNames();
#$tmd->disablePrettyNames();
# [File system options]
#
# Set the patterns for files you want to include
#
# Default: array( '*.md', '*.markdown')
#
#$tmd->setIncludePatterns( array( '*.md', '*.markdown') );
# Set the patterns for files/path you want to exclude
#
# Default: array( '.*' )
#
#$tmd->setExcludePatterns( array( '.*' ) );
$tmd->display();