Adding reference for API documentation
This is a simple version since API documentation is already documented on the GitHub Wiki. Fixes #323
This commit is contained in:
parent
bbced0cf94
commit
e0c1c3edf1
8
public/include/pages/about/api.inc.php
Normal file
8
public/include/pages/about/api.inc.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
// Make sure we are called from index.php
|
||||
if (!defined('SECURITY')) die('Hacking attempt');
|
||||
|
||||
// Tempalte specifics
|
||||
$smarty->assign("CONTENT", "default.tpl");
|
||||
?>
|
||||
3
public/templates/mmcFE/about/api/default.tpl
Normal file
3
public/templates/mmcFE/about/api/default.tpl
Normal file
@ -0,0 +1,3 @@
|
||||
{include file="global/block_header.tpl" BLOCK_HEADER="API Reference"}
|
||||
<p>Please head over to the <a href="https://github.com/TheSerapher/php-mmcfe-ng/wiki/API-Reference">official documentation</a> to learn about the API featured in <b>mmcfe-ng</b>.</p>
|
||||
{include file="global/block_footer.tpl"}
|
||||
@ -37,6 +37,7 @@
|
||||
<li><a href="{$smarty.server.PHP_SELF}?page=about&action=pool">About</a>
|
||||
<ul>
|
||||
<li><a href="{$smarty.server.PHP_SELF}?page=about&action=pool">This Pool</a></li>
|
||||
<li><a href="{$smarty.server.PHP_SELF}?page=about&action=api">API Reference</a></li>
|
||||
<li><a href="{$smarty.server.PHP_SELF}?page=about&action=donors">Pool Donors</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user