]> sipb.mit.edu Git - ikiwiki.git/commitdiff
rst plugin allows raw html now
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 17 Aug 2007 05:07:22 +0000 (05:07 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 17 Aug 2007 05:07:22 +0000 (05:07 +0000)
rst plugin could be sped up enormously by rewriting it to be a pure python
external plugin

doc/plugins/rst.mdwn
doc/todo/rst_plugin_python_rewrite.mdwn [new file with mode: 0644]

index ff7f8991f3d016aad34873e44185ec0e5cb378e5..7d542646cacbcf1168e0a2d668283361141a829d 100644 (file)
@@ -7,16 +7,9 @@ It uses the [reStructuredText](http://docutils.sourceforge.net/rst.html)
 markup syntax. You need to have the python-docutils module installed to use
 it.
 
-Note that this plugin does not interoperate very well with the rest of
-ikiwiki. Limitations include:
-
-* reStructuredText does not allow raw html to be inserted into
-  documents, but ikiwiki does so in many cases, including
-  [[WikiLinks|WikiLink]] and many
-  [[PreprocessorDirectives|PreprocessorDirective]].
-* It's slow; it forks a copy of python for each page. While there is a
-  perl version of the reStructuredText processor, it is not being kept in
-  sync with the standard version, so is not used.
+Note that this plugin is rather slow; it forks a copy of python for each
+page. While there is a perl version of the reStructuredText processor, it
+is not being kept in sync with the standard version, so is not used.
 
 So while you may find this useful for importing old files into your wiki,
 using this as your main markup language in ikiwiki isn't recommended at
diff --git a/doc/todo/rst_plugin_python_rewrite.mdwn b/doc/todo/rst_plugin_python_rewrite.mdwn
new file mode 100644 (file)
index 0000000..7f7bdb5
--- /dev/null
@@ -0,0 +1,5 @@
+The [[plugin/rst]] plugin is slow because it forks python for each page
+rendered. Now that ikiwiki supports plugins written in
+[[other_languages|plugin/write/external]], it would be excellent if someone
+could rewrite the rst plugin as a pure python external plugin. It would
+then run nice and quick.