2013-05-14 13:55:30 +00:00
|
|
|
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Userguide configuration
|
|
|
|
|
*
|
|
|
|
|
* @package lnApp
|
|
|
|
|
* @category Configuration
|
|
|
|
|
* @author Deon George
|
|
|
|
|
* @copyright (c) 2010-2013 Deon George
|
|
|
|
|
* @license http://dev.leenooks.net/license.html
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
return array
|
|
|
|
|
(
|
|
|
|
|
// Enable the API browser. TRUE or FALSE
|
|
|
|
|
'api_browser' => TRUE,
|
|
|
|
|
|
|
|
|
|
// Enable these packages in the API browser. TRUE for all packages, or a string of comma seperated packages, using 'None' for a class with no @package
|
|
|
|
|
// Example: 'api_packages' => 'Kohana,Kohana/Database,Kohana/ORM,None',
|
|
|
|
|
'api_packages' => TRUE,
|
|
|
|
|
|
|
|
|
|
// Enables Disqus comments on the API and User Guide pages
|
|
|
|
|
'show_comments' => Kohana::$environment === Kohana::PRODUCTION,
|
|
|
|
|
|
|
|
|
|
// Leave this alone
|
|
|
|
|
'modules' => array(
|
|
|
|
|
|
|
|
|
|
'kohana' => array('enabled'=>FALSE),
|
|
|
|
|
'auth' => array('enabled'=>FALSE),
|
|
|
|
|
'cache' => array('enabled'=>FALSE),
|
2013-11-29 00:43:16 +00:00
|
|
|
|
'database' => array('enabled'=>FALSE),
|
2013-05-14 13:55:30 +00:00
|
|
|
|
'minion' => array('enabled'=>FALSE),
|
|
|
|
|
'orm' => array('enabled'=>FALSE),
|
|
|
|
|
'pagination' => array('enabled'=>FALSE),
|
|
|
|
|
// This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename'
|
|
|
|
|
'userguide' => array(
|
|
|
|
|
|
|
|
|
|
// Whether this modules userguide pages should be shown
|
|
|
|
|
'enabled' => TRUE,
|
|
|
|
|
|
|
|
|
|
// The name that should show up on the userguide index page
|
|
|
|
|
'name' => 'Userguide',
|
|
|
|
|
|
|
|
|
|
// A short description of this module, shown on the index page
|
|
|
|
|
'description' => 'Documentation viewer and api generation.',
|
|
|
|
|
|
|
|
|
|
// Copyright message, shown in the footer for this module
|
|
|
|
|
'copyright' => '© 2008–2012 Kohana Team',
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
// Set transparent class name segments
|
|
|
|
|
'transparent_prefixes' => array(
|
|
|
|
|
'Kohana' => TRUE,
|
|
|
|
|
)
|
|
|
|
|
);
|