From 26ae2af16b137034912c366147db5ed87182cb7d Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 25 Jun 2014 22:18:37 +0100 Subject: Initial commit --- .gitignore | 3 +++ Makefile | 13 +++++++++++++ README | 25 +++++++++++++++++++++++++ basic-actiontabs.setup | 33 +++++++++++++++++++++++++++++++++ basic-blueview.setup | 33 +++++++++++++++++++++++++++++++++ basic-goldtype.setup | 33 +++++++++++++++++++++++++++++++++ basic-monochrome.setup | 33 +++++++++++++++++++++++++++++++++ basic.setup | 31 +++++++++++++++++++++++++++++++ basic/album.mdwn | 3 +++ basic/album/ikiwiki.png | Bin 0 -> 1157 bytes basic/album/ikiwiki_button.png | Bin 0 -> 974 bytes basic/album/ikiwiki_large.png | Bin 0 -> 1952 bytes basic/album/ikiwiki_old.png | Bin 0 -> 335 bytes basic/album/ikiwiki_old2.png | Bin 0 -> 1275 bytes basic/index.mdwn | 19 +++++++++++++++++++ 15 files changed, 226 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 README create mode 100644 basic-actiontabs.setup create mode 100644 basic-blueview.setup create mode 100644 basic-goldtype.setup create mode 100644 basic-monochrome.setup create mode 100644 basic.setup create mode 100644 basic/album.mdwn create mode 100644 basic/album/ikiwiki.png create mode 100644 basic/album/ikiwiki_button.png create mode 100644 basic/album/ikiwiki_large.png create mode 100644 basic/album/ikiwiki_old.png create mode 100644 basic/album/ikiwiki_old2.png create mode 100644 basic/index.mdwn diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d96eab2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +dest +ikiwiki +ikiwiki-dest diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cc8f49b --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ + +ikiwiki: + git clone -b album git://git.cbaines.net/ikiwiki + +ikiwiki-dest: ikiwiki + cd ikiwiki && perl Makefile.PL PREFIX=../ikiwiki-dest && make && make install + +all: ikiwiki-dest + export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); find . -maxdepth 1 -name "*\.setup" -exec ikiwiki --setup {} \; + +clean: + rm -rf ikiwiki-dest + rm -rf dest diff --git a/README b/README new file mode 100644 index 0000000..a532187 --- /dev/null +++ b/README @@ -0,0 +1,25 @@ +# album examples for ikiwiki + +This repository contains a number of examples for the ikiwiki album plugin. + +The album plugin is not currently included in ikiwiki. To build the examples, +you can use the included Makefile to clone the album branch from +git://git.cbaines.net/ikiwiki, which includes the album plugin. + +Alternatively, you can follow the instructions on the Ikiwiki website to +install the album plugin. + +## Examples + +### Basic + +Contains 5 ikiwiki logos, taken from the ikiwiki website. + +Each of the setup files builds the wiki with a different theme. + +## Build Details + +The included makefile will download ikiwiki, build it, and then use it to +build all of the examples. + +The examples will end up in dest. diff --git a/basic-actiontabs.setup b/basic-actiontabs.setup new file mode 100644 index 0000000..a98da53 --- /dev/null +++ b/basic-actiontabs.setup @@ -0,0 +1,33 @@ +# IkiWiki::Setup::Yaml - YAML formatted setup file +# +# name of the wiki +wikiname: basic-actiontabs +# where the source of the wiki is located +srcdir: basic +# where to build the wiki +destdir: dest/basic-actiontabs +# base url to the wiki +url: '' +# rcs backend to use +#rcs: 'git' +# plugins to add to the default configuration +add_plugins: +- album +- 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 diff --git a/basic-blueview.setup b/basic-blueview.setup new file mode 100644 index 0000000..0eba02c --- /dev/null +++ b/basic-blueview.setup @@ -0,0 +1,33 @@ +# IkiWiki::Setup::Yaml - YAML formatted setup file +# +# name of the wiki +wikiname: basic-blueview +# where the source of the wiki is located +srcdir: basic +# where to build the wiki +destdir: dest/basic-blueview +# base url to the wiki +url: '' +# rcs backend to use +#rcs: 'git' +# plugins to add to the default configuration +add_plugins: +- album +- theme +theme: blueview +# 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 diff --git a/basic-goldtype.setup b/basic-goldtype.setup new file mode 100644 index 0000000..9f63b53 --- /dev/null +++ b/basic-goldtype.setup @@ -0,0 +1,33 @@ +# IkiWiki::Setup::Yaml - YAML formatted setup file +# +# name of the wiki +wikiname: basic-goldtype +# where the source of the wiki is located +srcdir: basic +# where to build the wiki +destdir: dest/basic-goldtype +# base url to the wiki +url: '' +# rcs backend to use +#rcs: 'git' +# plugins to add to the default configuration +add_plugins: +- album +- theme +theme: goldtype +# 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 diff --git a/basic-monochrome.setup b/basic-monochrome.setup new file mode 100644 index 0000000..9dde738 --- /dev/null +++ b/basic-monochrome.setup @@ -0,0 +1,33 @@ +# IkiWiki::Setup::Yaml - YAML formatted setup file +# +# name of the wiki +wikiname: basic-monochrome +# where the source of the wiki is located +srcdir: basic +# where to build the wiki +destdir: dest/basic-monochrome +# base url to the wiki +url: '' +# rcs backend to use +#rcs: 'git' +# plugins to add to the default configuration +add_plugins: +- album +- theme +theme: monochrome +# 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 diff --git a/basic.setup b/basic.setup new file mode 100644 index 0000000..735beee --- /dev/null +++ b/basic.setup @@ -0,0 +1,31 @@ +# IkiWiki::Setup::Yaml - YAML formatted setup file +# +# name of the wiki +wikiname: basic +# where the source of the wiki is located +srcdir: basic +# where to build the wiki +destdir: dest/basic +# base url to the wiki +url: '' +# rcs backend to use +#rcs: 'git' +# plugins to add to the default configuration +add_plugins: +- album +# 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 diff --git a/basic/album.mdwn b/basic/album.mdwn new file mode 100644 index 0000000..8146d01 --- /dev/null +++ b/basic/album.mdwn @@ -0,0 +1,3 @@ +[[!album + thumbnailsize="96x" +]] diff --git a/basic/album/ikiwiki.png b/basic/album/ikiwiki.png new file mode 100644 index 0000000..e5f07f1 Binary files /dev/null and b/basic/album/ikiwiki.png differ diff --git a/basic/album/ikiwiki_button.png b/basic/album/ikiwiki_button.png new file mode 100644 index 0000000..afddbf7 Binary files /dev/null and b/basic/album/ikiwiki_button.png differ diff --git a/basic/album/ikiwiki_large.png b/basic/album/ikiwiki_large.png new file mode 100644 index 0000000..cd6aa70 Binary files /dev/null and b/basic/album/ikiwiki_large.png differ diff --git a/basic/album/ikiwiki_old.png b/basic/album/ikiwiki_old.png new file mode 100644 index 0000000..63b7f88 Binary files /dev/null and b/basic/album/ikiwiki_old.png differ diff --git a/basic/album/ikiwiki_old2.png b/basic/album/ikiwiki_old2.png new file mode 100644 index 0000000..7930461 Binary files /dev/null and b/basic/album/ikiwiki_old2.png differ diff --git a/basic/index.mdwn b/basic/index.mdwn new file mode 100644 index 0000000..23a2975 --- /dev/null +++ b/basic/index.mdwn @@ -0,0 +1,19 @@ +This is a demo of the album plugin for Ikiwiki. + +[[View the album|album]] + +## Themes + +You can see this plugin under different themes. + + + +## Source + +This wiki is in a git repository -- cgit v1.2.3