]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
rename plugins/ikiwiki/directive/asymptote.mdwn to plugins/contrib/asymptote/ikiwiki...
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Tue, 27 Nov 2012 12:55:34 +0000 (08:55 -0400)
committeradmin <admin@branchable.com>
Tue, 27 Nov 2012 12:55:34 +0000 (08:55 -0400)
doc/plugins/contrib/asymptote/ikiwiki/directive/asymptote.mdwn [new file with mode: 0644]
doc/plugins/ikiwiki/directive/asymptote.mdwn [deleted file]

diff --git a/doc/plugins/contrib/asymptote/ikiwiki/directive/asymptote.mdwn b/doc/plugins/contrib/asymptote/ikiwiki/directive/asymptote.mdwn
new file mode 100644 (file)
index 0000000..3036fc0
--- /dev/null
@@ -0,0 +1,27 @@
+The `asymptote` directive is supplied by the [[!iki plugins/asymptote
+desc=asymptote]] plugin.
+
+This directive allows embedding [asymptote](http://asymptote.sourceforge.net/)
+diagrams in a page. Example usage:
+
+       \[[!asymptote src="""
+        import geometry;
+        unitsize(1cm);
+        triangle t = triangle((0,0), (4,0), (0.5,2));
+        show(La="$D$", Lb="$E$", Lc="", t);
+        dot(t.A^^t.B^^t.C);
+        point pD = midpoint(t.BC); dot(pD);
+        point pE = midpoint(t.AC); dot(pE);
+        draw(pD--pE);
+        point A_ = (pD-t.A)*2+t.A; dot("$A'$", A_, NE);
+        draw(t.B--A_--t.C, dashed);
+        draw(t.A--A_, dashed);
+        point E_ = midpoint(line(t.B,A_)); dot(Label("$E'$", E_, E));
+        draw(E_--pD, dashed);
+        """]]
+
+The `asymptote` directive supports the following parameters:
+
+- `src` - The asymptote source code to render.
+
+[[!meta robots="noindex, follow"]]
diff --git a/doc/plugins/ikiwiki/directive/asymptote.mdwn b/doc/plugins/ikiwiki/directive/asymptote.mdwn
deleted file mode 100644 (file)
index 3036fc0..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-The `asymptote` directive is supplied by the [[!iki plugins/asymptote
-desc=asymptote]] plugin.
-
-This directive allows embedding [asymptote](http://asymptote.sourceforge.net/)
-diagrams in a page. Example usage:
-
-       \[[!asymptote src="""
-        import geometry;
-        unitsize(1cm);
-        triangle t = triangle((0,0), (4,0), (0.5,2));
-        show(La="$D$", Lb="$E$", Lc="", t);
-        dot(t.A^^t.B^^t.C);
-        point pD = midpoint(t.BC); dot(pD);
-        point pE = midpoint(t.AC); dot(pE);
-        draw(pD--pE);
-        point A_ = (pD-t.A)*2+t.A; dot("$A'$", A_, NE);
-        draw(t.B--A_--t.C, dashed);
-        draw(t.A--A_, dashed);
-        point E_ = midpoint(line(t.B,A_)); dot(Label("$E'$", E_, E));
-        draw(E_--pD, dashed);
-        """]]
-
-The `asymptote` directive supports the following parameters:
-
-- `src` - The asymptote source code to render.
-
-[[!meta robots="noindex, follow"]]