diff --git a/.gitignore b/.gitignore --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,8 @@ ################### *.directory *.bak -*thumbs.db \ No newline at end of file +*thumbs.db + +# data for web page +.breeze.txt +.breeze-dark.txt diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,6 +84,11 @@ endif() endif() +# Generate data for web page +add_custom_target(generate-web ALL + COMMAND ${CMAKE_SOURCE_DIR}/generate_web_data.sh +) + add_subdirectory(autotests) add_subdirectory(icons) add_subdirectory(icons-dark) diff --git a/generate_web_data.sh b/generate_web_data.sh new file mode 100755 --- /dev/null +++ b/generate_web_data.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +DIR=$(realpath $(dirname "$0")) + +echo "1/2 Indexing Breeze icons..." +cd $DIR/icons +find . -name '*.svg' > $DIR/.breeze.txt +echo "1/2 Done." + +echo "2/2 Indexing Breeze Dark icons..." +cd $DIR/icons-dark +find . -name '*.svg' > $DIR/.breeze-dark.txt +echo "2/2 Done." + +echo "Please open index.html in web browser." diff --git a/index.html b/index.html new file mode 100644 --- /dev/null +++ b/index.html @@ -0,0 +1,169 @@ + + + + + Breeze Icons Cheatsheet + + + +
+
+ Breeze Icons Cheatsheet + Category: + + + {{ page }}/{{ getPages() }} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Name162224324864128256symbolic
{{ name }}
+
+ + + + + +