diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile | 15 | ||||
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | img.setup | 35 |
4 files changed, 62 insertions, 0 deletions
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 @@ -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 |