summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAlexander Tsvyashchenko <ndl@ndl.kiev.ua>2010-01-11 12:38:44 (GMT)
committerAlexander Tsvyashchenko <ndl@ndl.kiev.ua>2010-01-11 12:38:44 (GMT)
commite085eb821ca7c9e74bc0f2688cb6b7ae06b6bf80 (patch)
treef71428e57a5996e6e4164dfdb09ceb3d7f0edaa1 /config
downloadwiki_external_filter-e085eb821ca7c9e74bc0f2688cb6b7ae06b6bf80.zip
wiki_external_filter-e085eb821ca7c9e74bc0f2688cb6b7ae06b6bf80.tar.gz
wiki_external_filter-e085eb821ca7c9e74bc0f2688cb6b7ae06b6bf80.tar.bz2
- Initial commit.
Diffstat (limited to 'config')
-rw-r--r--config/wiki_external_filter.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/config/wiki_external_filter.yml b/config/wiki_external_filter.yml
new file mode 100644
index 0000000..e1e7472
--- /dev/null
+++ b/config/wiki_external_filter.yml
@@ -0,0 +1,31 @@
+development: &development
+ plantuml:
+ description: "Constructs UML diagram image from its textual description in PlantUML language, see http://plantuml.sourceforge.net"
+ command: "/usr/bin/plantuml -pipe"
+ content_type: "image/png"
+ prolog: "@startuml"
+ epilog: "@enduml"
+ graphviz:
+ description: "Constructs graph image from its textual description in DOT language, see http://www.graphviz.org"
+ command: "/usr/bin/dot -Tsvg"
+ content_type: "image/svg+xml"
+ ritex:
+ description: "Converts WebTeX expression to MathML, see http://ritex.rubyforge.org/"
+ command: "(echo '<!DOCTYPE math PUBLIC \"-//W3C//DTD MathML 2.0//EN\" \"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd\">'; /usr/bin/ritex) | xmllint --noent --nonet --catalogs --loaddtd - | /usr/bin/math2svg"
+ content_type: "image/svg+xml"
+# For MathML-compliant browsers and when Redmine is fully XML-compliant.
+# ritex:
+# description: "Converts WebTeX expression to MathML, see http://ritex.rubyforge.org/"
+# command: "/usr/bin/ritex"
+# content_type: "application/xhtml+xml"
+ fortune:
+ description: "Prints a random, hopefully interesting, adage, see http://en.wikipedia.org/wiki/Fortune_(Unix)"
+ command: "/usr/bin/fortune"
+ cache_seconds: 0
+ content_type: "text/plain"
+
+test:
+ type: mock
+
+production:
+ <<: *development