From e9ffdc9c4fb08a1af106772b4d8494190bdeafb4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 17 Nov 2007 14:43:49 -0500 Subject: * Fix mercurial historyurl in example setup file. --- ...ample_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn | 8 ++++++-- doc/ikiwiki.setup | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn index e1f03d47c..390449dd3 100644 --- a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn +++ b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn @@ -6,8 +6,12 @@ The current historyurl is: A link to the history page for the file would be: - #historyurl => "http://localhost:8000/log/tip/[\[file]]", # hg serve'd local repository + #historyurl => "http://localhost:8000/log/tip/\[[file]]", # hg serve'd local repository *The backslash in the code should be removed.* -This creates links to the hgweb page which is equivalent to the Git file history page. \ No newline at end of file +> To escape a link, use `\\[[link]]`. Example: \[[link]] --[[Joey]] + +> ([[done]], BTW) + +This creates links to the hgweb page which is equivalent to the Git file history page. diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup index e36559112..1456a3411 100644 --- a/doc/ikiwiki.setup +++ b/doc/ikiwiki.setup @@ -40,7 +40,7 @@ use IkiWiki::Setup::Standard { # Mercurial stuff. #rcs => "mercurial", - #historyurl => "http://localhost:8000/", # hg serve'd local repository + #historyurl => "http://localhost:8000/log/tip/[[file]]", # hg serve'd local repository #diffurl => "http://localhost:8000/?fd=[[r2]];file=[[file]]", # Monotone stuff -- cgit v1.2.3