aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--Makefile13
-rw-r--r--README25
-rw-r--r--basic-actiontabs.setup33
-rw-r--r--basic-blueview.setup33
-rw-r--r--basic-goldtype.setup33
-rw-r--r--basic-monochrome.setup33
-rw-r--r--basic.setup31
-rw-r--r--basic/album.mdwn3
-rw-r--r--basic/album/ikiwiki.pngbin0 -> 1157 bytes
-rw-r--r--basic/album/ikiwiki_button.pngbin0 -> 974 bytes
-rw-r--r--basic/album/ikiwiki_large.pngbin0 -> 1952 bytes
-rw-r--r--basic/album/ikiwiki_old.pngbin0 -> 335 bytes
-rw-r--r--basic/album/ikiwiki_old2.pngbin0 -> 1275 bytes
-rw-r--r--basic/index.mdwn19
15 files changed, 226 insertions, 0 deletions
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
--- /dev/null
+++ b/basic/album/ikiwiki.png
Binary files differ
diff --git a/basic/album/ikiwiki_button.png b/basic/album/ikiwiki_button.png
new file mode 100644
index 0000000..afddbf7
--- /dev/null
+++ b/basic/album/ikiwiki_button.png
Binary files differ
diff --git a/basic/album/ikiwiki_large.png b/basic/album/ikiwiki_large.png
new file mode 100644
index 0000000..cd6aa70
--- /dev/null
+++ b/basic/album/ikiwiki_large.png
Binary files differ
diff --git a/basic/album/ikiwiki_old.png b/basic/album/ikiwiki_old.png
new file mode 100644
index 0000000..63b7f88
--- /dev/null
+++ b/basic/album/ikiwiki_old.png
Binary files differ
diff --git a/basic/album/ikiwiki_old2.png b/basic/album/ikiwiki_old2.png
new file mode 100644
index 0000000..7930461
--- /dev/null
+++ b/basic/album/ikiwiki_old2.png
Binary files 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.
+
+<ul>
+ <li><a href="../basic-actiontabs">actiontabs</a></li>
+ <li><a href="../basic-blueview">blueview</a></li>
+ <li><a href="../basic-goldtype">goldtype</a></li>
+ <li><a href="../basic-monochrome">monochrome</a></li>
+ <li><a href="../basic">none</a></li>
+</ul>
+
+## Source
+
+This wiki is in a git repository