src-dev/Mouf/Controllers/DocumentationController.php
public function displayDocDirectory($docPages, $packageName) {
		?>
<ul>
		<?php 
		foreach ($docPages as $docPage):
			$url = $docPage['url'];
			$title = $docPage['title'];
			?>
			<li>
			<?php 
			if ($url) {
				echo "<a href='view/".$packageName."/".$url."'>";
			}
			echo $title;
			if ($url) {
				echo "</a>";
			}
			/*if ($docPage->getChildren()) {
				displayDocDirectory($docPage->getChildren());
			}*/
			?>
			</li>
			<?php 
		endforeach;
		?>
		</ul>
<?php
	}
public function displayDocDirectory($docPages, $packageName) {
		?>
<ul>
		<?php 
		foreach ($docPages as $docPage):
			$url = $docPage['url'];
			$title = $docPage['title'];
			?>
			<li>
			<?php 
			if ($url) {
				echo "<a href='view/".$packageName."/".$url."'>";
			}
			echo $title;
			if ($url) {
				echo "</a>";
			}
			/*if ($docPage->getChildren()) {
				displayDocDirectory($docPage->getChildren());
			}*/
			?>
			</li>
			<?php 
		endforeach;
		?>
		</ul>
<?php
	}
public function displayDocDirectory ( $ docPages , $ packageName ) { ?>
<ul>
		<?php foreach ( $ docPages as $ docPage ) : $ url = $ docPage [ 'url' ] ; $ title = $ docPage [ 'title' ] ; ?>
			<li>
			<?php if ( $ url ) { echo "<a href='view/" . $ packageName . "/" . $ url . "'>" ; } echo $ title ; if ( $ url ) { echo "</a>" ; } /*if ($docPage->getChildren()) {
				displayDocDirectory($docPage->getChildren());
			}*/ ?>
			</li>
			<?php endforeach ; ?>
		</ul>
<?php }
Display the doc links for one package.

@param array<string, string> $docPages
@param string $packageName
Display the doc links for one package .