From 509c4ce9d677761815d80f73f42dc43f3aff9963 Mon Sep 17 00:00:00 2001 From: Dumitru UNGUREANU Date: Wed, 21 Apr 2021 18:54:25 +0300 Subject: [PATCH] a BIG picture, samples --- README.md | 10 +++++----- .../fragfrag-a-picture.png | Bin .../fragfrag-concept.png | Bin .../fragfrag-gui-files.png | Bin fragfrag-gui.png => screens/fragfrag-gui.png | Bin screens/fragfrag-logo.png | Bin 0 -> 5073 bytes 6 files changed, 5 insertions(+), 5 deletions(-) rename fragfrag-a-picture.png => screens/fragfrag-a-picture.png (100%) rename fragfrag-concept.png => screens/fragfrag-concept.png (100%) rename fragfrag-gui-files.png => screens/fragfrag-gui-files.png (100%) rename fragfrag-gui.png => screens/fragfrag-gui.png (100%) create mode 100644 screens/fragfrag-logo.png diff --git a/README.md b/README.md index f288d00..6d2f22f 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ -![fragfrag logo](fragfrag-logo.png "fragfrag logo") +![fragfrag logo](screens/fragfrag-logo.png "fragfrag logo") # fragfrag ## The problem How do I break a template file into pieces and use those pieces to assemble other files? ## A picture before a thousand words -![A picture](fragfrag-a-picture.png "A picture") +![A picture](screens/fragfrag-a-picture.png "A picture") Check the `samples` directory. ## The workflow Split a file into fragments. Copy some of those fragments to a new location and modify them. Reassemble original fragments and modified fragments into a new file at the new location. Repeat to create as many files are needed using the template fragments. -![Concept](fragfrag-concept.png "Concept") +![Concept](screens/fragfrag-concept.png "Concept") ## How to organize the files Create a new directory, e.g. `project`, with a `template` subdirectory in it and a `files\src` subdirectory structure as well. Copy your `index.html` template file in the `template` subdirectory. @@ -37,7 +37,7 @@ Run `AutoHotkeyU32.exe c:\fragfrag\template.ahk c:\project` to generate a `c:\pr You can also run `AutoHotkeyU32.exe c:\fragfrag\gui.ahk`, choose the working `c:\project` directory path, select the `template` option from the script list and press the `Run` button. You can also copy `AutoHotkeyU32.exe` as `c:\fragfrag\gui.exe` and duble click `gui.exe`. It will run `gui.ahk` by default. -![fragfrag gui](fragfrag-gui.png "fragfrag gui") +![fragfrag gui](screens/fragfrag-gui.png "fragfrag gui") ### U64 You can use `AutoHotkeyU64.exe` instead, if you want. @@ -54,4 +54,4 @@ Optionally, add new numbered fragments in between the existing fragments, if the ### Reassemble Run `AutoHotkeyU32.exe c:\fragfrag\files.ahk c:\project` to generate a `dist` directory and new `index.html` files, using the template fragments, and the modified or added fragments in the `_fragfrag` directory from each subdirectory in `c:\project\files\src`. -![fragfrag gui](fragfrag-gui-files.png "fragfrag gui") +![fragfrag gui](screens/fragfrag-gui-files.png "fragfrag gui") diff --git a/fragfrag-a-picture.png b/screens/fragfrag-a-picture.png similarity index 100% rename from fragfrag-a-picture.png rename to screens/fragfrag-a-picture.png diff --git a/fragfrag-concept.png b/screens/fragfrag-concept.png similarity index 100% rename from fragfrag-concept.png rename to screens/fragfrag-concept.png diff --git a/fragfrag-gui-files.png b/screens/fragfrag-gui-files.png similarity index 100% rename from fragfrag-gui-files.png rename to screens/fragfrag-gui-files.png diff --git a/fragfrag-gui.png b/screens/fragfrag-gui.png similarity index 100% rename from fragfrag-gui.png rename to screens/fragfrag-gui.png diff --git a/screens/fragfrag-logo.png b/screens/fragfrag-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..02cb22931e1e481489bc5316be5eca50c7e64b2e GIT binary patch literal 5073 zcmeI0`BPI_7RN7cs5HzlOb<&yP$6`bMOhn&vQ$Y4&#QAj-|x9UJd%f- zqx?~|qW}PTjFTM}fcf zO(0&u;{cIJG>C|eA_QN#hBJu6htb#2@H0w*7&{xUM8@h|T20_}4cSkUq_r-~!5h_d z)bfNKjlZUqHgU94-PmT^=4<&Oa_{+9rK2ZKP&e->+Ixui`)b`C)l~IM^E#2C`kh$L zt8A{{|7ig&B7z=mDJqUj)06Lzv=KUlXkoNu^X>+hkZ4`PmHaN5-#I6w!V2L^2r&IP zu#Dgwp;D7hu}CNDs?EIfbag56+2Uu)GYtm;_#0i&gy8rtu+=MF9VodJV{v{;>#8LH zm(Qxrg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