From a177b21e850299cefe643e80a30ac5843f437c24 Mon Sep 17 00:00:00 2001 From: David Evans Date: Sat, 5 May 2018 01:29:39 +0100 Subject: [PATCH] Move favicons into web/resources to keep base directory clean --- bin/generate-screenshots.js | 2 +- bin/server.js | 3 +-- index.html | 4 ++-- library.htm | 4 ++-- .../resources/apple-touch-icon.png | Bin favicon.png => web/resources/favicon.png | Bin 6 files changed, 6 insertions(+), 7 deletions(-) rename apple-touch-icon.png => web/resources/apple-touch-icon.png (100%) rename favicon.png => web/resources/favicon.png (100%) diff --git a/bin/generate-screenshots.js b/bin/generate-screenshots.js index ba66a19..d95ffc3 100755 --- a/bin/generate-screenshots.js +++ b/bin/generate-screenshots.js @@ -79,7 +79,7 @@ function findSamples(content) { * 'B -> A\n' + * 'terminators fade' * ), - * file: 'favicon.png', + * file: 'web/resources/favicon.png', * size: {height: 16, width: 16}, * }); */ diff --git a/bin/server.js b/bin/server.js index 350e1fc..a042ac4 100755 --- a/bin/server.js +++ b/bin/server.js @@ -52,9 +52,8 @@ statics 'library.htm', 'lib', 'web/lib', + 'web/resources', 'web/styles', - 'favicon.png', - 'apple-touch-icon.png', ], devMapper); if(DEV) { diff --git a/index.html b/index.html index 52c1ce0..4b2bbf7 100644 --- a/index.html +++ b/index.html @@ -16,8 +16,8 @@ "> Sequence Diagram - - + + Sequence Diagram Library - - + +