]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - doc/plugins/shortcut/discussion.mdwn
typo
[www/ikiwiki.git] / doc / plugins / shortcut / discussion.mdwn
index 65a2af960358c16c85274320cf27716c87df24b8..8fa3f7acfb734c1eada461eec57392024bb958a3 100644 (file)
@@ -1,8 +1,16 @@
-I'd like to use a shortcut like \[[gnumach-1-branch ddb/db_expr.h]] to link to
-<http://cvs.savannah.gnu.org/viewvc/gnumach/ddb/db_expr.h?view=log&root=hurd&pathrev=gnumach-1-branch>.
+The plugin somehow depends on [[mdwn]].  If you have
+disabled [[mdwn]], to get [[shortcut]] work, you need
+commit in a shortcuts.ext (ext is `rcs|creole|html|txt|etc`).
 
-* Dashes are not allowed in shortcut identifiers.  Why?
+Then edit the following lines in [[shortcut]] plugin source:
 
-> No reason. Fixed in git. --[[Joey]]
+    my $srcfile=srcfile("shortcuts.mdwn", 1);
 
-> (Moved other issue to [[bugs/shortcut_encoding]].)
+and
+
+    error(gettext("shortcut plugin will not work without a shortcuts.mdwn"));
+
+
+(It is better to edit a local copy of shortcut.pm in, say, ~/.ikiwiki/IkiWiki/Plugin
+and add ~/.ikiwiki to libdir in your ikiwiki.setup than edit the shortcut.pm installed
+in system directly.)