summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 02:53:03 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 02:53:03 +0000
commit0b1828f694dde648c63a192a132308348438379a (patch)
tree2ca0492cb55f94364258e89c3897c17dcf56e953 /doc
parent483f61d228a547627512ec14cc16345bdd4dc159 (diff)
*warning* any wrappers built with a previous version of ikiwiki need to be
rebuilt This changes ikiwiki's syntax to require only 2 parameters (source and dest) and not three. The templatedir parameter is now an optional --templatedir.
Diffstat (limited to 'doc')
-rw-r--r--doc/ikiwiki.setup4
-rw-r--r--doc/setup.mdwn11
-rw-r--r--doc/usage.mdwn10
3 files changed, 14 insertions, 11 deletions
diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup
index 7a561434e..374093a5e 100644
--- a/doc/ikiwiki.setup
+++ b/doc/ikiwiki.setup
@@ -12,12 +12,12 @@ use IkiWiki::Setup::Standard {
# 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",
#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,
diff --git a/doc/setup.mdwn b/doc/setup.mdwn
index 44e60ae97..69972ca52 100644
--- a/doc/setup.mdwn
+++ b/doc/setup.mdwn
@@ -29,11 +29,10 @@ optional support for commits from the web.
5. Build your wiki for the first time.
- ikiwiki --verbose ~/wikiwc/ \
- /usr/share/ikiwiki/templates ~/public_html/wiki/ \
- --url=http://host/~you/wiki/
+ ikiwiki --verbose ~/wikiwc/ ~/public_html/wiki/ \
+ --url=http://host/~you/wiki/
- Replace the url with the right url to your wiki. You should now
+ Replace the url with the real url to your wiki. You should now
be able to visit the url and see your page that you created earlier.
6. Repeat steps 4 and 5 as desired, editing or adding pages and rebuilding
@@ -50,8 +49,8 @@ optional support for commits from the web.
`doc/ikiwiki.setup` in the ikiwiki sources), and edit it.
Most of the options, like `wikiname` in the setup file are the same as
- ikiwiki's command line options (documented in [[usage]]. `srcdir`,
- `templatedir` and `destdir` are the three directories you specify when
+ ikiwiki's command line options (documented in [[usage]]. `srcdir`
+ and `destdir` are the two directories you specify when
running ikiwiki by hand. `svnrepo` is the path to your subversion
repository. Make sure that all of these are pointing to the right
directories, and read through and configure the rest of the file to your
diff --git a/doc/usage.mdwn b/doc/usage.mdwn
index 7d7acf16a..83866c1a8 100644
--- a/doc/usage.mdwn
+++ b/doc/usage.mdwn
@@ -4,15 +4,14 @@ ikiwiki - a wiki compiler
# SYNOPSIS
-ikiwiki [options] source templates destination
+ikiwiki [options] source destination
ikiwiki --setup configfile
# DESCRIPTION
`ikiwiki` is a wiki compiler. It builds static html pages for a wiki, from
-`source` in the [[MarkDown]] language, using the specified html `templates`
-and writes it out to `destination`.
+`source` in the [[MarkDown]] language, and writes it out to `destination`.
# OPTIONS
@@ -31,6 +30,11 @@ flags such as --verbose can be negated with --no-verbose.
Force a rebuild of all pages.
+* --templatedir
+
+ Specify the directory that the page [[templates]] are stored in.
+ Default is `/usr/share/ikiwiki/templates`.
+
* --wrapper [file]
Generate a [[wrapper]] binary that is hardcoded to do action specified by