From 08653465d0e9d065c6de49268474f15b19441160 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 24 Jun 2014 19:01:23 +0100 Subject: Initial commit --- .gitignore | 4 ++++ Makefile | 15 +++++++++++++++ README | 8 ++++++++ img.setup | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 README create mode 100644 img.setup diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0be9829 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +dest +ikiwiki +ikiwiki-dest +img diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..aa74c33 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ + +all: img + +ikiwiki: + git clone -b git-annex git://git.cbaines.net/ikiwiki + +ikiwiki-dest: ikiwiki + cd ikiwiki && perl Makefile.PL PREFIX=../ikiwiki-dest && make && make install + +img: ikiwiki-dest + export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); ikiwiki --setup img.setup + +clean: + rm -rf ikiwiki-dest + rm -rf img diff --git a/README b/README new file mode 100644 index 0000000..4e1efb0 --- /dev/null +++ b/README @@ -0,0 +1,8 @@ +Requires ikiwiki to be modified to accept symlinks + +TODO: + - Add symlink config options to Ikiwiki + - Render.pm 320 + - Ikiwiki.pm 913 + - Add hardlink test + - Fix index page issue diff --git a/img.setup b/img.setup new file mode 100644 index 0000000..3648b73 --- /dev/null +++ b/img.setup @@ -0,0 +1,35 @@ +# IkiWiki::Setup::Yaml - YAML formatted setup file +# +# name of the wiki +wikiname: img +# where the source of the wiki is located +srcdir: img.git +# where to build the wiki +destdir: img +# base url to the wiki +url: '' +# rcs backend to use +#rcs: 'git' +# plugins to add to the default configuration +add_plugins: +- img +- theme +theme: actiontabs +# plugins to disable +disable_plugins: +- openid +# base wiki source location +underlaydir: ikiwiki-dest/share/ikiwiki/basewiki +underlaydirbase: ikiwiki-dest/share/ikiwiki +# template dir +templatedir: ikiwiki/templates +# create output files named page/index.html? +usedirs: 1 +# display verbose messages? +verbose: 1 +# generate HTML5? +html5: 0 +# attempt to hardlink source files? (optimisation for large files) +hardlink: 0 +# allow symlinks +allow_symlinks: 1 -- cgit v1.2.3