From: http://lj.rossia.org/users/imz/ <http://lj.rossia.org/users/imz/@web> Date: Tue, 5 May 2009 17:46:25 +0000 (-0400) Subject: minor: trying to format the "verbatims" correctly X-Git-Tag: 3.12~14^2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/0ee6705413b8e1806c3560ef94195d03d221686f minor: trying to format the "verbatims" correctly --- diff --git a/doc/setup/discussion.mdwn b/doc/setup/discussion.mdwn index c21d7e600..ca25ab4a1 100644 --- a/doc/setup/discussion.mdwn +++ b/doc/setup/discussion.mdwn @@ -170,15 +170,15 @@ I setup ikiwiki on a fedora 10 machine and I am using apache as my http server. /etc/ikiwiki/auto.setup tries to get abs_path of a non-existent "repository" path (in ikiwiki-makerepo), and that doesn't work in my perl: -<nowiki> +<pre> [mort@localhost ~]$ perl -e 'use Cwd q{abs_path}; print abs_path("/var")' /var[mort@localhost ~]$ perl -e 'use Cwd q{abs_path}; print abs_path("/abcde")' [mort@localhost ~]$ -</nowiki> +</pre> Because of this, /etc/ikiwiki/auto.setup fails: -<nowiki> +<pre> $ ikiwiki -setup /etc/ikiwiki/auto.setup What will the wiki be named? wiki What revision control system to use? git @@ -206,7 +206,7 @@ this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $ -</nowiki> +</pre> Can't ikiwiki's "make test" perhaps test for this, so that one knows something will go wrong? -- Ivan Z.