From f1228946bd62b7b4528bccabe91f836a16912e28 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 14:37:55 -0400 Subject: Bring back the svnrepo setup file option. This is needed for recentchangediff to work with svn repos. --- doc/ikiwiki.setup | 1 + doc/setup.mdwn | 3 ++- doc/usage.mdwn | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup index 039ebb127..885f77813 100644 --- a/doc/ikiwiki.setup +++ b/doc/ikiwiki.setup @@ -23,6 +23,7 @@ use IkiWiki::Setup::Standard { #rcs => "svn", #historyurl => "http://svn.example.org/trunk/[[file]]", #diffurl => "http://svn.example.org/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]", + #svnrepo => "/svn/wiki", #svnpath => "trunk", # Git stuff. diff --git a/doc/setup.mdwn b/doc/setup.mdwn index 7f3f6840d..6aabf53db 100644 --- a/doc/setup.mdwn +++ b/doc/setup.mdwn @@ -186,7 +186,8 @@ about using the git repositories. Once your wiki is checked in to the revision control system, you should configure ikiwiki to use revision control. Edit your ikiwiki.setup, and uncomment the lines for the revision control system -you chose to use. Uncomment the block for the wrapper for your revision +you chose to use. Be sure to set `svnrepo` to $REPOSITORY, if using +subversion. Uncomment the block for the wrapper for your revision control system, and configure the wrapper path in that block appropriately (for Git, it should be `$REPOSITORY/hooks/post-update`). diff --git a/doc/usage.mdwn b/doc/usage.mdwn index 4c08c5b39..82e443bea 100644 --- a/doc/usage.mdwn +++ b/doc/usage.mdwn @@ -144,6 +144,10 @@ configuration options of their own. No revision control is enabled by default. +* --svnrepo /svn/wiki + + Specify the location of the svn repository for the wiki. + * --svnpath trunk Specify the path inside your svn repository where the wiki is located. -- cgit v1.2.3