From 60f69f82eacd8799f7c52a24934d2e87320bd192 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 5 Oct 2005 12:52:03 +0000 Subject: [haddock @ 2005-10-05 12:52:03 by simonmar] Document new behaviour of -s option --- doc/haddock.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/haddock.xml b/doc/haddock.xml index c027170c..ca49bf38 100644 --- a/doc/haddock.xml +++ b/doc/haddock.xml @@ -477,7 +477,25 @@ Include links to the source files in the generated documentation, where URL is the - base URL where the source files can be found. + base URL where the source files can be found. The following + substitutions are made within the string + URL: + + + + The string %M is replaced by the module name + (with ‘.’ replaced by ‘/’). + + + The string %F is replaced by the + source file name. + + + + For example, if your sources are online in a single directory, + you would say haddock -s + url/%F. + -- cgit v1.2.3