-7. By now you should be getting tired of typing in all the command line
- options each time you change something in your wiki's setup. And it's
- also getting old to have to manualy rebuild the wiki each time you
- change a file. Time to introduce setup files.
-
- A sample setup file is [[ikiwiki.setup]]. Download it (or copy it from
- `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` and
- `destdir` are the two directories you specify when running ikiwiki by
- hand. `rcsrepo` is the path to your master rcs 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 liking.
-
- Note that the default file has a block to configure an Rcs wrapper to
- update the wiki. You need to uncomment the related block for whatever
- rcs you use and comment out the other rcs blocks.
-
- When you're satisfied, run `ikiwiki --setup ikiwiki.setup`, and it
- will set everything up and update your wiki.
-
-8. Set up [[CGI]] to allow editing the wiki from the web.
-
- Just edit ikiwiki.setup, uncomment the block for the cgi wrapper, make
- sure the filename for the cgi wrapper is ok, run
- `ikiwiki --setup ikiwiki.setup`, and you're done!
-
-9. Add [[PageHistory]] links to the top of pages. This requires you to have
- setup a repository browser. For Subversion, you may use [[ViewCVS]] or
- something similar to access your [[Subversion]] repository. For Git,
- [[Gitweb]] can be used.
-
- The `historyurl` setting makes ikiwiki add the links, and in that url,
- "\[[file]]" is replaced with the name of the file to view. So edit
- ikiwiki.setup and set `historyurl` to something like this for
- Subversion:
+## Checkout and edit wiki source
+
+Part of the fun of using ikiwiki is not being limited to using the
+web for editing pages, and instead using your favorite text editor and
+[[Revision_Control_System|rcs]].
+
+To do this, you need to check out a copy of the source to your wiki.
+(You should avoid making changes directly to the `srcdir`, as that
+checkout is reserved for use by ikiwiki itself.)
+
+Depending on which [[Revision_Control_System|rcs]] you chose to use,
+you can run one of these commands to check out your own copy of your wiki's
+source. (Remember to replace "foo" with the real directory name.)
+
+ git clone foo.git foo.src
+ svn checkout file://`pwd`/foo.svn/trunk foo.src
+ bzr clone foo foo.src
+ hg clone foo foo.src
+ # TODO monotone, tla
+
+Now to edit pages by hand, go into the directory you checked out (ie,
+"foo.src"), and fire up your text editor to edit `index.mdwn` or whatever
+other page you want to edit. If you chose to set up a blog, there is even a
+sample first post in `posts/first_post.mdwn` that you can edit.
+
+Once you've edited a page, use your revision control system to commit
+the changes. For distributed revision control systems, don't forget to push
+your commit.
+
+Once the commit reaches the repository, ikiwiki will notice it, and
+automatically update the wiki with your changes.
+
+## Customizing the wiki