beber pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=5abfae4d1a0e94fc07f066ae5ae500e4b2ef500a

commit 5abfae4d1a0e94fc07f066ae5ae500e4b2ef500a
Author: Carsten Haitzler <ras...@rasterman.com>
Date:   Fri Apr 17 00:43:08 2015 +0100

    MEDIUM: Sync conf/local.php
---
 public_html/conf/local.php | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/public_html/conf/local.php b/public_html/conf/local.php
index ba813d6..06763cb 100644
--- a/public_html/conf/local.php
+++ b/public_html/conf/local.php
@@ -55,3 +55,38 @@ $conf['plugin']['gitbacked']['repoWorkDir'] = 
'data/www-content/tmp';
 $conf['tpl']['dokui']['hide-entry-title'] = '1';
 $conf['datadir'] = $_SERVER['DOCUMENT_ROOT'] . '/data/www-content/pages';
 $conf['mediadir'] = $_SERVER['DOCUMENT_ROOT'] . '/data/www-content/media';
+/* new config - patches to dokuwiki enabled this. this is a directory
+ * realtive to 'datadir' config above where we store metadata right in the
+ * wiki itself to holid linking and documentation for keywords in specific
+ * languages like c, lua, cpp, js, python etc. you need the below directory
+ * and then like
+ * $dir/$language/keyword-link.txt
+ * #dir/$language/keyword-list.txt
+ *
+ * where $dir is the below base dir and $language is the lang in a code
+ * block like c, cpp, js etc. so for example you may have:
+ *
+ * docs/generated/c/keyword-link.txt
+ * docs/generated/c/keyword-list.txt
+ *
+ * inside your "pages" dir for the wiki. the link file is simply a base url
+ * pattern that allows you to direct where a detected keyword link is pointed
+ * to such as:
+ *
+ * /docs/generated/c/keywords/{FNAMEL}
+ *
+ * this replaces {FNAMEL} with the keyword. so if ou have in the wiki there
+ * a keywords directory and keyword.txt - this cam be the documentation for
+ * that keyword. this is done to alllow auto-linking of code examples as
+ * well as anything else code-related to appropriate documentation for a
+ * project without people having to hand link in everything all the time,
+ * much like what doxygen does, but in dokuwiki. right now it only works
+ * inside code blocks syntax hilighted by geshi
+ */
+$conf['code_extn'] = 'docs/efl/ref';
+/* max cache time for a wiki pagee - this is so that code keyword
+ * hilighting works even if a page doesn't have a
+ * ~~NOCACHE~~ directive in it. if it has this in it, then code keyword
+ * extension hilighting is updated immediately
+ */
+$conf['cachetime'] = 600;

-- 


Reply via email to