diff doc/plugin.txt @ 538:19c7dc1e4dd5

Add `loader_callback` option to plugin interface as requested in #130.
author cmlenz
date Thu, 28 Jun 2007 17:04:54 +0000
parents 0407937b2853
children 6e21c89d9255
line wrap: on
line diff
--- a/doc/plugin.txt
+++ b/doc/plugin.txt
@@ -190,6 +190,16 @@
 
 .. _`Understanding HTML, XML and XHTML`: http://webkit.org/blog/?p=68
 
+``genshi.loader_callback``
+--------------------------
+The callback function that should be invoked whenever the template loader loads
+a new template.
+
+.. note:: Unlike the other options, this option can **not** be passed as
+          a string value, but rather must be a reference to the actual function.
+          That effectively means it can not be set from (non-Python)
+          configuration files.
+
 ``genshi.lookup_errors``
 ------------------------
 The error handling style to use in template expressions. Can be either
Copyright (C) 2012-2017 Edgewall Software