From 5b35285daa62fb9c10280fb43e340ba7b0746f5a Mon Sep 17 00:00:00 2001 From: pacien Date: Wed, 25 Dec 2019 22:48:34 +0100 Subject: compiler: add gallery config file handling --- example/gallery.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 example/gallery.yaml (limited to 'example/gallery.yaml') diff --git a/example/gallery.yaml b/example/gallery.yaml new file mode 100644 index 0000000..fc4bdf9 --- /dev/null +++ b/example/gallery.yaml @@ -0,0 +1,2 @@ +compiler: {} +viewer: {} -- cgit v1.2.3 From 1e57d76eadb2192be2b3d9343d4ddfeccc996bcb Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 27 Dec 2019 13:38:47 +0100 Subject: compiler: exclude output dir from input --- example/gallery.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'example/gallery.yaml') diff --git a/example/gallery.yaml b/example/gallery.yaml index fc4bdf9..0a16e59 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -1,2 +1,6 @@ -compiler: {} +compiler: + pictureMaxResolution: + width: 1024 + height: 768 + viewer: {} -- cgit v1.2.3 From 538996dc84b03eab1429ddd693334673b857c005 Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 28 Dec 2019 19:04:54 +0100 Subject: compiler: parameterise gallery name --- example/gallery.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'example/gallery.yaml') diff --git a/example/gallery.yaml b/example/gallery.yaml index 0a16e59..85b1edd 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -1,6 +1,13 @@ compiler: + galleryName: Example gallery + + #thumbnailResolution: + # width: 400 # default + # height: 400 # default + pictureMaxResolution: width: 1024 height: 768 + viewer: {} -- cgit v1.2.3 From 7ef9f09c0f3be1cd5e1f38c9abc845abc9ed3639 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 31 Dec 2019 01:39:23 +0100 Subject: compiler: add option to add implicit directory tags GitHub: closes #7 --- example/gallery.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example/gallery.yaml') diff --git a/example/gallery.yaml b/example/gallery.yaml index 85b1edd..3fd2265 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -1,6 +1,8 @@ compiler: galleryName: Example gallery + #implicitDirectoryTag: false # default + #thumbnailResolution: # width: 400 # default # height: 400 # default -- cgit v1.2.3 From 6691b14cf4e867a9018f38c174fa98f1ada19f82 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 31 Dec 2019 08:38:15 +0100 Subject: compiler: add option to ignore files matching a regex GitHub: closes #10 --- example/gallery.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'example/gallery.yaml') diff --git a/example/gallery.yaml b/example/gallery.yaml index 3fd2265..fb25161 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -1,11 +1,11 @@ compiler: galleryName: Example gallery + ignoreFiles: .*\.md + implicitDirectoryTag: false # default - #implicitDirectoryTag: false # default - - #thumbnailResolution: - # width: 400 # default - # height: 400 # default + thumbnailResolution: + width: 400 # default + height: 400 # default pictureMaxResolution: width: 1024 -- cgit v1.2.3 From 5367781f0c7fd1ce274492ba91895fef9d44dab3 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 5 Jan 2020 10:43:48 +0100 Subject: add manual --- example/gallery.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/gallery.yaml') diff --git a/example/gallery.yaml b/example/gallery.yaml index fb25161..53e1448 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -3,7 +3,7 @@ compiler: ignoreFiles: .*\.md implicitDirectoryTag: false # default - thumbnailResolution: + thumbnailMaxResolution: width: 400 # default height: 400 # default -- cgit v1.2.3 From 2ad60869c2e8d0846672ccb18b2de99c9cf33671 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 5 Jan 2020 19:24:50 +0100 Subject: compiler: add option to add tags from n parent directories GitHub: closes #15 --- example/gallery.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example/gallery.yaml') diff --git a/example/gallery.yaml b/example/gallery.yaml index 53e1448..5da7328 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -1,7 +1,8 @@ compiler: galleryName: Example gallery ignoreFiles: .*\.md - implicitDirectoryTag: false # default + + tagsFromDirectories: 0 # default thumbnailMaxResolution: width: 400 # default -- cgit v1.2.3 From 1e3a0e39cb6cdc86a6ba6b570c72c44931cf1c3b Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 5 Jan 2020 20:40:41 +0100 Subject: compiler: replace file filter with inclusino and exclusion glob lists GitHub: closes #16 --- example/gallery.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'example/gallery.yaml') diff --git a/example/gallery.yaml b/example/gallery.yaml index 5da7328..ccdb16b 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -1,6 +1,11 @@ compiler: galleryName: Example gallery - ignoreFiles: .*\.md + + includeFiles: + - "*.jpg" + + #excludeFiles: + #- "*.md" tagsFromDirectories: 0 # default -- cgit v1.2.3