aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2014-06-24 19:01:23 +0100
committerChristopher Baines <mail@cbaines.net>2014-06-26 23:08:03 +0100
commit08653465d0e9d065c6de49268474f15b19441160 (patch)
tree26c34d6f22bf254c8a197c36b2d70beeb6534ef6
downloadannex-examples-08653465d0e9d065c6de49268474f15b19441160.tar
annex-examples-08653465d0e9d065c6de49268474f15b19441160.tar.gz
Initial commit
-rw-r--r--.gitignore4
-rw-r--r--Makefile15
-rw-r--r--README8
-rw-r--r--img.setup35
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
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