]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/ikiwiki.setup
web commit by joey
[git.ikiwiki.info.git] / doc / ikiwiki.setup
index e60d0f40709f0ab5cd0a8a5a1ce020b53396382f..9775b3194931922a481301c498061086b1de2aa2 100644 (file)
@@ -7,19 +7,23 @@
 
 use IkiWiki::Setup::Standard {
        wikiname => "MyWiki",
 
 use IkiWiki::Setup::Standard {
        wikiname => "MyWiki",
-
+       #adminuser => ["yourname", ],
+       adminemail => 'me@myhost',
+       
        # Be sure to customise these..
        srcdir => "/path/to/source",
        destdir => "/var/www/wiki",
        # Be sure to customise these..
        srcdir => "/path/to/source",
        destdir => "/var/www/wiki",
-       templatedir => "/usr/share/ikiwiki/templates",
-
+       
        url => "http://myhost/wiki",
        cgiurl => "http://myhost/ikiwiki.cgi",
        url => "http://myhost/wiki",
        cgiurl => "http://myhost/ikiwiki.cgi",
-       #historyurl => "http://svn.myhost/trunk/[[]]",
+       #historyurl => "http://svn.myhost/trunk/[[file]]",
+       #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
+       #templatedir => "/usr/share/ikiwiki/templates",
        
        # Whether to integrate with svn.
        svn => 1,
        svnrepo => "/svn/wiki",
        
        # Whether to integrate with svn.
        svn => 1,
        svnrepo => "/svn/wiki",
+       svnpath => "trunk",
 
        wrappers => [
                {
 
        wrappers => [
                {
@@ -27,19 +31,25 @@ use IkiWiki::Setup::Standard {
                        # Note that this will overwrite any exsting
                        # post-commit hook script, which may not be
                        # what you want.
                        # Note that this will overwrite any exsting
                        # post-commit hook script, which may not be
                        # what you want.
-                       wrapper => "$config{svnrepo}/hooks/post-commit",
-                       wrappermode => 04755,
-               },
-               {
-                       # The cgi wrapper.
-                       #cgiwrapper => {
-                       #       cgi => 1,
-                       #       wrapper => "/var/www/wiki/ikiwiki.cgi",
-                       #       wrappermode => 06755,
-                       #},
+                       wrapper => "/svn/wiki/hooks/post-commit",
+                       wrappermode => "04755",
+                       # Enable mail notifications of commits.
+                       notify => 1,
                },
                },
+               #{
+               #       # The cgi wrapper.
+               #       cgi => 1,
+               #       wrapper => "/var/www/wiki/ikiwiki.cgi",
+               #       wrappermode => "06755",
+               #},
        ],
        
        # Can anonymous web users edit pages?
        #anonok => 1,
        ],
        
        # Can anonymous web users edit pages?
        #anonok => 1,
+       # Generate rss feeds for pages?
+       rss => 1,
+       # Use the Hyper Estraier search engine?
+       #hyperestraier => 1,
+       # Sanitize html?
+       sanitize => 1,
 }
 }