silverstripe-docsviewer/_config.php
Will Rossiter f1bd774437 Merge branch 'manifest'
* manifest: (50 commits)
  TEST updated as clean name now respects the writing style conventions.
  FIX Showing the stable and outdated version number correctly.
  FIX: margin around edit too small and causes UI problems with nav.
  Upper case first letter
  Fixing text highlight css
  Reduce exception.
  Refactored EditLink
  Restore support for multiple versions in the masthead
  These changes make a number of improvements, mostly typographical, to improve readability and to render properly on small devices.
  Add support for exclude in children list
  Fix style of submenu
  Restore tests
  FIX: permission check broken
  Add alert as a valid alias as warning.
  Support one more layer in the template.
  Encode &amps; in api links.
  Minor style tweaks
  Upgrade parsedown extra to support markdown within code blocks
  FIX: API links should be urlencoded() to prevent special characters causing issues
  Correct title generation for index files in entity root
  ...

Conflicts:
	code/tasks/RebuildLuceneDocsIndex.php
2014-12-16 23:14:19 +13:00

18 lines
412 B
PHP

<?php
/**
* Documentation Configuration
*
* Please override any of these options in your own projects _config.php file.
* For more information and documentation see docsviewer/docs/en
*/
if(!defined('DOCSVIEWER_PATH')) {
define('DOCSVIEWER_PATH', dirname(__FILE__));
}
if(!defined('DOCSVIEWER_DIR')) {
$dir = explode(DIRECTORY_SEPARATOR, DOCSVIEWER_PATH);
define('DOCSVIEWER_DIR', array_pop($dir));
}