From 36601bbee1f7d4d2c1d6d554091b201d9a048856 Mon Sep 17 00:00:00 2001 From: vosaul Date: Sat, 7 Nov 2020 21:10:06 +0200 Subject: [PATCH 01/19] new categories structure --- .gitignore | 1 + {categories => _cats}/.DS_Store | Bin _cats/ac_android-frameworks.md | 7 +++ _cats/ac_android-specific.md | 7 +++ _cats/ac_android.md | 7 +++ _cats/ac_platform.md | 7 +++ _cats/ac_web-frameworks.md | 6 +++ _cats/ac_web-tools.md | 7 +++ _cats/ac_web.md | 6 +++ _cats/android-frameworks-appium.md | 20 +++++++++ .../android-frameworks-barista.md | 3 +- .../android-frameworks-compose-testing.md | 3 +- .../android-frameworks-espresso.md | 3 +- ...android-frameworks-framework-comparison.md | 3 +- .../android-frameworks-kakao.md | 3 +- .../android-frameworks-kaspresso.md | 3 +- .../android-frameworks-kautomator.md | 3 +- .../android-frameworks-uiautomator.md | 5 ++- .../android-specific-adb-commands.md | 3 +- .../android-specific-best-practices.md | 3 +- {categories => _cats}/android-specific-dsl.md | 3 +- ...droid-specific-installing-apk-to-device.md | 3 +- ...pecific-local-and-instrumentation-tests.md | 4 +- .../android-specific-tools.md | 3 +- {categories => _cats}/basics.md | 6 +-- {categories => _cats}/content.md | 5 ++- {categories => _cats}/development.md | 5 ++- {categories => _cats}/features.md | 5 ++- .../general-good-practices.md | 2 +- {categories => _cats}/general-naming.md | 5 ++- {categories => _cats}/general-ui-testing.md | 5 ++- {categories => _cats}/help.md | 5 ++- {categories => _cats}/translation.md | 3 +- _cats/web-frameworks-new.md | 19 ++++++++ _cats/web-tools-new.md | 18 ++++++++ _config.yml | 10 +++++ _data/home_categories.yml | 5 +++ _includes/breadcrumbs.html | 12 +++++ _layouts/common.html | 42 ++++++++++++++++++ _layouts/post.html | 20 +-------- platform/android.md => android.md | 0 categories/android-frameworks-appium.md | 15 ------- categories/android-frameworks.md | 13 ------ categories/android-specific.md | 14 ------ index.markdown | 6 --- 45 files changed, 229 insertions(+), 99 deletions(-) rename {categories => _cats}/.DS_Store (100%) create mode 100644 _cats/ac_android-frameworks.md create mode 100644 _cats/ac_android-specific.md create mode 100644 _cats/ac_android.md create mode 100644 _cats/ac_platform.md create mode 100644 _cats/ac_web-frameworks.md create mode 100644 _cats/ac_web-tools.md create mode 100644 _cats/ac_web.md create mode 100644 _cats/android-frameworks-appium.md rename {categories => _cats}/android-frameworks-barista.md (76%) rename {categories => _cats}/android-frameworks-compose-testing.md (76%) rename {categories => _cats}/android-frameworks-espresso.md (76%) rename {categories => _cats}/android-frameworks-framework-comparison.md (75%) rename {categories => _cats}/android-frameworks-kakao.md (77%) rename {categories => _cats}/android-frameworks-kaspresso.md (76%) rename {categories => _cats}/android-frameworks-kautomator.md (76%) rename {categories => _cats}/android-frameworks-uiautomator.md (70%) rename {categories => _cats}/android-specific-adb-commands.md (76%) rename {categories => _cats}/android-specific-best-practices.md (75%) rename {categories => _cats}/android-specific-dsl.md (77%) rename {categories => _cats}/android-specific-installing-apk-to-device.md (75%) rename {categories => _cats}/android-specific-local-and-instrumentation-tests.md (74%) rename {categories => _cats}/android-specific-tools.md (77%) rename {categories => _cats}/basics.md (75%) rename {categories => _cats}/content.md (69%) rename {categories => _cats}/development.md (69%) rename {categories => _cats}/features.md (69%) rename {categories => _cats}/general-good-practices.md (91%) rename {categories => _cats}/general-naming.md (69%) rename {categories => _cats}/general-ui-testing.md (69%) rename {categories => _cats}/help.md (68%) rename {categories => _cats}/translation.md (78%) create mode 100644 _cats/web-frameworks-new.md create mode 100644 _cats/web-tools-new.md create mode 100644 _includes/breadcrumbs.html create mode 100644 _layouts/common.html rename platform/android.md => android.md (100%) delete mode 100644 categories/android-frameworks-appium.md delete mode 100644 categories/android-frameworks.md delete mode 100644 categories/android-specific.md delete mode 100644 index.markdown diff --git a/.gitignore b/.gitignore index 74c4182..792353d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ _site Gemfile.lock vendor /docs/ +_draft ### Gulp ### package.json diff --git a/categories/.DS_Store b/_cats/.DS_Store similarity index 100% rename from categories/.DS_Store rename to _cats/.DS_Store diff --git a/_cats/ac_android-frameworks.md b/_cats/ac_android-frameworks.md new file mode 100644 index 0000000..05e10e9 --- /dev/null +++ b/_cats/ac_android-frameworks.md @@ -0,0 +1,7 @@ +--- +title: Android Framework +layout: common +category: [platform, android, frameworks] +permalink: "/:categories/" +--- + diff --git a/_cats/ac_android-specific.md b/_cats/ac_android-specific.md new file mode 100644 index 0000000..6065f3c --- /dev/null +++ b/_cats/ac_android-specific.md @@ -0,0 +1,7 @@ +--- +title: Android Specific +layout: common +category: [platform, android, specific] +permalink: "/:categories/" +--- + diff --git a/_cats/ac_android.md b/_cats/ac_android.md new file mode 100644 index 0000000..05e46b0 --- /dev/null +++ b/_cats/ac_android.md @@ -0,0 +1,7 @@ +--- +title: Android +layout: common +category: [platform, android] +permalink: "/:categories/" +--- + diff --git a/_cats/ac_platform.md b/_cats/ac_platform.md new file mode 100644 index 0000000..02d6600 --- /dev/null +++ b/_cats/ac_platform.md @@ -0,0 +1,7 @@ +--- +title: Platform +layout: common +category: [platform] +permalink: "/:categories/" +--- + diff --git a/_cats/ac_web-frameworks.md b/_cats/ac_web-frameworks.md new file mode 100644 index 0000000..12003e1 --- /dev/null +++ b/_cats/ac_web-frameworks.md @@ -0,0 +1,6 @@ +--- +title: WEB Frameworks +layout: common +category: [platform, web, frameworks] +permalink: "/:categories/" +--- diff --git a/_cats/ac_web-tools.md b/_cats/ac_web-tools.md new file mode 100644 index 0000000..f6487e2 --- /dev/null +++ b/_cats/ac_web-tools.md @@ -0,0 +1,7 @@ +--- +title: WEB tools +description: Freelancers, businesses, and professionals all use a range of web tools and services to get their job done. The landscape changes every year, so today’ we’ve collected 45 varied and versatile choices to help you in your job. +layout: common +category: [platform, web, tools] +permalink: "/:categories/" +--- diff --git a/_cats/ac_web.md b/_cats/ac_web.md new file mode 100644 index 0000000..93b9f4d --- /dev/null +++ b/_cats/ac_web.md @@ -0,0 +1,6 @@ +--- +title: WEB +layout: common +category: [platform, web] +permalink: "/:categories/" +--- diff --git a/_cats/android-frameworks-appium.md b/_cats/android-frameworks-appium.md new file mode 100644 index 0000000..399e038 --- /dev/null +++ b/_cats/android-frameworks-appium.md @@ -0,0 +1,20 @@ +--- +title: Appium +layout: post +permalink: /platform/android/frameworks/appium/ +pagination: + enabled: true + permalink: /:num/ + categories: + values: + - platform + - android + - frameworks + - appium + matching: all +categories: [platform, android, frameworks, appium] +--- + +## Appium Philosophy + +Appium is built on the idea that testing native apps shouldn't require including an SDK or recompiling your app. And that you should be able to use your preferred test practices, frameworks, and tools. Appium is an open source project and has made design and tool decisions to encourage a vibrant contributing community. \ No newline at end of file diff --git a/categories/android-frameworks-barista.md b/_cats/android-frameworks-barista.md similarity index 76% rename from categories/android-frameworks-barista.md rename to _cats/android-frameworks-barista.md index f03c8e8..6af5a97 100644 --- a/categories/android-frameworks-barista.md +++ b/_cats/android-frameworks-barista.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/frameworks/barista/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - barista matching: all +categories: [platform, android, frameworks, barista] --- diff --git a/categories/android-frameworks-compose-testing.md b/_cats/android-frameworks-compose-testing.md similarity index 76% rename from categories/android-frameworks-compose-testing.md rename to _cats/android-frameworks-compose-testing.md index 8815e15..d625c9e 100644 --- a/categories/android-frameworks-compose-testing.md +++ b/_cats/android-frameworks-compose-testing.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/frameworks/compose-testing/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - compose-testing matching: all +categories: [platform, android, frameworks, compose-testing] --- diff --git a/categories/android-frameworks-espresso.md b/_cats/android-frameworks-espresso.md similarity index 76% rename from categories/android-frameworks-espresso.md rename to _cats/android-frameworks-espresso.md index 29330f3..733a0f3 100644 --- a/categories/android-frameworks-espresso.md +++ b/_cats/android-frameworks-espresso.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/frameworks/espresso/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - espresso matching: all +categories: [platform, android, frameworks, espresso] --- diff --git a/categories/android-frameworks-framework-comparison.md b/_cats/android-frameworks-framework-comparison.md similarity index 75% rename from categories/android-frameworks-framework-comparison.md rename to _cats/android-frameworks-framework-comparison.md index 705ff42..1627b65 100644 --- a/categories/android-frameworks-framework-comparison.md +++ b/_cats/android-frameworks-framework-comparison.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/frameworks/framework-comparison/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - framework-comparison matching: all +categories: [platform, android, frameworks, framework-comparison] --- diff --git a/categories/android-frameworks-kakao.md b/_cats/android-frameworks-kakao.md similarity index 77% rename from categories/android-frameworks-kakao.md rename to _cats/android-frameworks-kakao.md index 9f4bf3a..916f858 100644 --- a/categories/android-frameworks-kakao.md +++ b/_cats/android-frameworks-kakao.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/frameworks/kakao/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - kakao matching: all +categories: [platform, android, frameworks, kakao] --- diff --git a/categories/android-frameworks-kaspresso.md b/_cats/android-frameworks-kaspresso.md similarity index 76% rename from categories/android-frameworks-kaspresso.md rename to _cats/android-frameworks-kaspresso.md index 25a632a..6afe819 100644 --- a/categories/android-frameworks-kaspresso.md +++ b/_cats/android-frameworks-kaspresso.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/frameworks/kaspresso/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - kaspresso matching: all +categories: [platform, android, frameworks, kaspresso] --- diff --git a/categories/android-frameworks-kautomator.md b/_cats/android-frameworks-kautomator.md similarity index 76% rename from categories/android-frameworks-kautomator.md rename to _cats/android-frameworks-kautomator.md index df07bab..a46fb35 100644 --- a/categories/android-frameworks-kautomator.md +++ b/_cats/android-frameworks-kautomator.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/frameworks/kautomator/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - kautomator matching: all +categories: [platform, android, frameworks, kautomator] --- diff --git a/categories/android-frameworks-uiautomator.md b/_cats/android-frameworks-uiautomator.md similarity index 70% rename from categories/android-frameworks-uiautomator.md rename to _cats/android-frameworks-uiautomator.md index 096ccb0..475806c 100644 --- a/categories/android-frameworks-uiautomator.md +++ b/_cats/android-frameworks-uiautomator.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/frameworks/uiautomator/ pagination: enabled: true @@ -10,6 +10,7 @@ pagination: - android - frameworks - uiautomator - matching: all + matching: all +categories: [platform, android, frameworks, uiautomator] --- diff --git a/categories/android-specific-adb-commands.md b/_cats/android-specific-adb-commands.md similarity index 76% rename from categories/android-specific-adb-commands.md rename to _cats/android-specific-adb-commands.md index 03303d7..7bf0d38 100644 --- a/categories/android-specific-adb-commands.md +++ b/_cats/android-specific-adb-commands.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/specific/adb-commands/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - adb-commands matching: all +categories: [platform, android, frameworks, adb-commands] --- diff --git a/categories/android-specific-best-practices.md b/_cats/android-specific-best-practices.md similarity index 75% rename from categories/android-specific-best-practices.md rename to _cats/android-specific-best-practices.md index bf8d553..9f59d3e 100644 --- a/categories/android-specific-best-practices.md +++ b/_cats/android-specific-best-practices.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/specific/best-practices/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - best-practices matching: all +categories: [platform, android, frameworks, best-practices] --- diff --git a/categories/android-specific-dsl.md b/_cats/android-specific-dsl.md similarity index 77% rename from categories/android-specific-dsl.md rename to _cats/android-specific-dsl.md index 55ee50b..dc2080c 100644 --- a/categories/android-specific-dsl.md +++ b/_cats/android-specific-dsl.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/specific/dsl/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - dsl matching: all +categories: [platform, android, specific, dsl] --- diff --git a/categories/android-specific-installing-apk-to-device.md b/_cats/android-specific-installing-apk-to-device.md similarity index 75% rename from categories/android-specific-installing-apk-to-device.md rename to _cats/android-specific-installing-apk-to-device.md index 24f439a..ecc87d3 100644 --- a/categories/android-specific-installing-apk-to-device.md +++ b/_cats/android-specific-installing-apk-to-device.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/specific/installing-apk-to-device/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - installing-apk-to-device matching: all +categories: [platform, android, specific, installing-apk-to-device] --- diff --git a/categories/android-specific-local-and-instrumentation-tests.md b/_cats/android-specific-local-and-instrumentation-tests.md similarity index 74% rename from categories/android-specific-local-and-instrumentation-tests.md rename to _cats/android-specific-local-and-instrumentation-tests.md index 5381331..7936492 100644 --- a/categories/android-specific-local-and-instrumentation-tests.md +++ b/_cats/android-specific-local-and-instrumentation-tests.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/specific/local-and-instrumentation-tests/ pagination: enabled: true @@ -11,5 +11,7 @@ pagination: - specific - local-and-instrumentation-tests matching: all +categories: [platform, android, specific, local-and-instrumentation-tests] + --- diff --git a/categories/android-specific-tools.md b/_cats/android-specific-tools.md similarity index 77% rename from categories/android-specific-tools.md rename to _cats/android-specific-tools.md index c4e1a6d..e0d53e4 100644 --- a/categories/android-specific-tools.md +++ b/_cats/android-specific-tools.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /platform/android/specific/tools/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - tools matching: all +categories: [platform, android, specific, tools] --- diff --git a/categories/basics.md b/_cats/basics.md similarity index 75% rename from categories/basics.md rename to _cats/basics.md index 0906b5a..a5a2f31 100644 --- a/categories/basics.md +++ b/_cats/basics.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /setup/basics/ pagination: enabled: true @@ -8,8 +8,8 @@ pagination: values: - setup - basics - matching: all + matching: all +categories: [setup, basics] # sort_field: 'title' # sort_reverse: false --- - diff --git a/categories/content.md b/_cats/content.md similarity index 69% rename from categories/content.md rename to _cats/content.md index 08ba00e..415e511 100644 --- a/categories/content.md +++ b/_cats/content.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /setup/content/ pagination: enabled: true @@ -8,6 +8,7 @@ pagination: values: - setup - content - matching: all + matching: all +categories: [setup, content] --- diff --git a/categories/development.md b/_cats/development.md similarity index 69% rename from categories/development.md rename to _cats/development.md index 6477476..55d7bf3 100644 --- a/categories/development.md +++ b/_cats/development.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /customization/development/ pagination: enabled: true @@ -8,6 +8,7 @@ pagination: values: - customization - development - matching: all + matching: all +categories: [customization, development] --- diff --git a/categories/features.md b/_cats/features.md similarity index 69% rename from categories/features.md rename to _cats/features.md index 861d05b..eabc82b 100644 --- a/categories/features.md +++ b/_cats/features.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /setup/features/ pagination: enabled: true @@ -8,6 +8,7 @@ pagination: values: - setup - features - matching: all + matching: all +categories: [setup, features] --- diff --git a/categories/general-good-practices.md b/_cats/general-good-practices.md similarity index 91% rename from categories/general-good-practices.md rename to _cats/general-good-practices.md index 3eb8634..01c142c 100644 --- a/categories/general-good-practices.md +++ b/_cats/general-good-practices.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /general/good-practices/ pagination: enabled: true diff --git a/categories/general-naming.md b/_cats/general-naming.md similarity index 69% rename from categories/general-naming.md rename to _cats/general-naming.md index e75e3b1..227db84 100644 --- a/categories/general-naming.md +++ b/_cats/general-naming.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /general/naming/ pagination: enabled: true @@ -8,6 +8,7 @@ pagination: values: - general - naming - matching: all + matching: all +categories: [general, naming] --- diff --git a/categories/general-ui-testing.md b/_cats/general-ui-testing.md similarity index 69% rename from categories/general-ui-testing.md rename to _cats/general-ui-testing.md index 16a4b1d..91e2d40 100644 --- a/categories/general-ui-testing.md +++ b/_cats/general-ui-testing.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /general/ui-testing/ pagination: enabled: true @@ -8,6 +8,7 @@ pagination: values: - general - ui-testing - matching: all + matching: all +categories: [general, ui-testing] --- diff --git a/categories/help.md b/_cats/help.md similarity index 68% rename from categories/help.md rename to _cats/help.md index e803252..8f962f4 100644 --- a/categories/help.md +++ b/_cats/help.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /customization/help/ pagination: enabled: true @@ -8,5 +8,6 @@ pagination: values: - customization - help - matching: all + matching: all +categories: [customization, help] --- \ No newline at end of file diff --git a/categories/translation.md b/_cats/translation.md similarity index 78% rename from categories/translation.md rename to _cats/translation.md index af195df..c52ef12 100644 --- a/categories/translation.md +++ b/_cats/translation.md @@ -1,5 +1,5 @@ --- -layout: category +layout: post permalink: /setup/translation/ pagination: enabled: true @@ -9,5 +9,6 @@ pagination: - setup - translation matching: all +categories: [setup, translation] --- diff --git a/_cats/web-frameworks-new.md b/_cats/web-frameworks-new.md new file mode 100644 index 0000000..80d5fdd --- /dev/null +++ b/_cats/web-frameworks-new.md @@ -0,0 +1,19 @@ +--- +title: Express +layout: post +permalink: /platform/web/frameworks/express/ +pagination: + enabled: true + permalink: /:num/ + categories: + values: + - platform + - web + - tools + - workbox + matching: all +categories: [platform, web, frameworks, express] +--- + +Frameworks have become an essential part of web development, as the standards of web applications are always rising, so does the complexity of the technology needed. It’s completely unreasonable to reinvent the wheel for such sophisticated techniques -assuming that you can reinvent all that. That’s why using frameworks endorsed by thousands of developers around the world is a very sensible approach for building rich and interactive web applications. A web app has a backend (server-side) and a frontend (client-side), so we discuss both best Backend frameworks as well as frontend frameworks. Here goes the list of best web development frameworks in 2020: + diff --git a/_cats/web-tools-new.md b/_cats/web-tools-new.md new file mode 100644 index 0000000..73ba6b8 --- /dev/null +++ b/_cats/web-tools-new.md @@ -0,0 +1,18 @@ +--- +title: Workbox +layout: post +permalink: /platform/web/tools/workbox/ +pagination: + enabled: true + permalink: /:num/ + categories: + values: + - platform + - web + - tools + - workbox + matching: all +categories: [platform, web, tools, workbox] +--- + +Workbox is a set of service worker libraries and tools that make it easy to build an offline PWA and take advantage of the service worker APIs. \ No newline at end of file diff --git a/_config.yml b/_config.yml index ee4cb02..480ba60 100644 --- a/_config.yml +++ b/_config.yml @@ -123,6 +123,11 @@ collections: output: false changelogs: output: false + common: + output: true + layout: common + cats: + output: true # Defaults defaults: @@ -138,3 +143,8 @@ defaults: type: pages values: layout: page + - scope: + path: "/:categories/" + type: commons + values: + layout: common diff --git a/_data/home_categories.yml b/_data/home_categories.yml index 3f630af..38fd6a3 100644 --- a/_data/home_categories.yml +++ b/_data/home_categories.yml @@ -24,6 +24,11 @@ desc: Good practices which can be applied to UI testing. icon: star + - permalink: /platform/ + title: Platforms + desc: Web, Android, etc. + icon: cog + # - title: Platforms # subtitle: # category: platform diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html new file mode 100644 index 0000000..c5a4a84 --- /dev/null +++ b/_includes/breadcrumbs.html @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/_layouts/common.html b/_layouts/common.html new file mode 100644 index 0000000..cc2da1f --- /dev/null +++ b/_layouts/common.html @@ -0,0 +1,42 @@ +--- +layout: default +parent: +--- + +
+
+ + {%- include breadcrumbs.html -%} + +

{{page.title}}

+

{{page.description}}

+ {{content}} + {% assign cats = site.cats %} + {% assign i = page.categories.size | minus: 1 %} +
    + + {% for p in cats %} + + {% assign k1 = p.categories.size %} + {% assign k2 =i | plus: 2 %} + + {% if k1 == k2 %} + + {%- assign s1 = "" -%} + {%- for l in (0..i) -%} + {%- assign s1 = s1 | append: p.categories[l] -%} + {%- endfor -%} + + {%- assign s2 = page.categories | join: "" -%} + {% if s1 == s2 %} + +
  • {{p.title}}
  • + + {% endif %} + + {% endif %} + + {% endfor %} +
+
+
\ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index 180e2d9..0571214 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,25 +4,7 @@
- {% for section in site.data.home_categories %} - {% for item in section.categories %} - {% if page.url contains item.permalink %} - - {% break %} - {% endif %} - {% endfor %} - {% endfor %} + {%- include breadcrumbs.html -%}
diff --git a/platform/android.md b/android.md similarity index 100% rename from platform/android.md rename to android.md diff --git a/categories/android-frameworks-appium.md b/categories/android-frameworks-appium.md deleted file mode 100644 index 62699dc..0000000 --- a/categories/android-frameworks-appium.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -layout: category -permalink: /platform/android/frameworks/appium/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - platform - - android - - frameworks - - appium - matching: all ---- - diff --git a/categories/android-frameworks.md b/categories/android-frameworks.md deleted file mode 100644 index ab3a6c5..0000000 --- a/categories/android-frameworks.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: category -permalink: /android/frameworks/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - android - - frameworks - matching: all ---- - diff --git a/categories/android-specific.md b/categories/android-specific.md deleted file mode 100644 index 8b182f3..0000000 --- a/categories/android-specific.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: category -permalink: /platform/android/specific/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - platform - - android - - specific - matching: all ---- - diff --git a/index.markdown b/index.markdown deleted file mode 100644 index 0671507..0000000 --- a/index.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -# Feel free to add content and custom Front Matter to this file. -# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults - -layout: home ---- From faf5e706ea23b00f06ad1c8a3793b2c92457bbb4 Mon Sep 17 00:00:00 2001 From: vosaul Date: Sat, 7 Nov 2020 21:20:39 +0200 Subject: [PATCH 02/19] config --- _config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 480ba60..4927e96 100644 --- a/_config.yml +++ b/_config.yml @@ -10,13 +10,13 @@ description: UI Testing related content lang: en # Site subpath, e.g. /blog -baseurl: "" +baseurl: "ui-testing/" # Permalink URLs structure, for permalink style options see: https://jekyllrb.com/docs/permalinks/ permalink: /:categories/:title/ # Site base hostname & protocol, e.g. http://example.com -url: "https://ui-testing.academy" +url: "https://vosaul.github.io/" # Site logo # e.g. logo.png, upload logo image file to /uploads/ folder logo: logo.svg From 4f294635ebe64104f93ed5a379dba800f39ce07b Mon Sep 17 00:00:00 2001 From: vosaul Date: Sat, 7 Nov 2020 21:24:34 +0200 Subject: [PATCH 03/19] config --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 4927e96..44cdcac 100644 --- a/_config.yml +++ b/_config.yml @@ -16,7 +16,7 @@ baseurl: "ui-testing/" permalink: /:categories/:title/ # Site base hostname & protocol, e.g. http://example.com -url: "https://vosaul.github.io/" +url: # Site logo # e.g. logo.png, upload logo image file to /uploads/ folder logo: logo.svg From 2b267ac7149ccb7b3c261abd5d7133dcca9fbfbd Mon Sep 17 00:00:00 2001 From: vosaul Date: Sat, 7 Nov 2020 21:28:32 +0200 Subject: [PATCH 04/19] layout --- _layouts/common.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/common.html b/_layouts/common.html index cc2da1f..7f33274 100644 --- a/_layouts/common.html +++ b/_layouts/common.html @@ -30,7 +30,7 @@

{{page.title}}

{%- assign s2 = page.categories | join: "" -%} {% if s1 == s2 %} -
  • {{p.title}}
  • +
  • {{p.title}}
  • {% endif %} From 784dc5da1459750a7fd4e22a86f2bbbc8b8511dc Mon Sep 17 00:00:00 2001 From: vosaul Date: Sat, 7 Nov 2020 21:33:42 +0200 Subject: [PATCH 05/19] breadcrumbs --- _includes/breadcrumbs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html index c5a4a84..69d8aa1 100644 --- a/_includes/breadcrumbs.html +++ b/_includes/breadcrumbs.html @@ -6,7 +6,7 @@ / {{ page.title }} {% else %} / {{ crumb | replace:'-',' ' | remove:'.html' | capitalize }} + href="{{site.baseurl}}{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }} {% endif %} {% endfor %}
    \ No newline at end of file From f5e42926954ce4dadf2bdfed9eaa010911840b4c Mon Sep 17 00:00:00 2001 From: vosaul Date: Sat, 7 Nov 2020 21:39:35 +0200 Subject: [PATCH 06/19] breadcrambs --- _includes/breadcrumbs.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html index 69d8aa1..31a97b6 100644 --- a/_includes/breadcrumbs.html +++ b/_includes/breadcrumbs.html @@ -1,6 +1,6 @@ -
    \ No newline at end of file +
    From 16e02397fd9d563db8139faaabd40e2fd13e533c Mon Sep 17 00:00:00 2001 From: vosaul Date: Sun, 8 Nov 2020 18:30:59 +0200 Subject: [PATCH 09/19] restructured --- {_cats => _articles}/.DS_Store | Bin {_cats => _articles}/ac_android-frameworks.md | 0 {_cats => _articles}/ac_android-specific.md | 0 {_cats => _articles}/ac_android.md | 0 {_cats => _articles}/ac_platform.md | 0 {_cats => _articles}/ac_web-frameworks.md | 0 {_cats => _articles}/ac_web-tools.md | 0 {_cats => _articles}/ac_web.md | 0 {_cats => _articles}/android-frameworks-appium.md | 0 {_cats => _articles}/android-frameworks-barista.md | 0 .../android-frameworks-compose-testing.md | 0 {_cats => _articles}/android-frameworks-espresso.md | 0 .../android-frameworks-framework-comparison.md | 0 {_cats => _articles}/android-frameworks-kakao.md | 0 .../android-frameworks-kaspresso.md | 0 .../android-frameworks-kautomator.md | 0 .../android-frameworks-uiautomator.md | 0 .../android-specific-adb-commands.md | 0 .../android-specific-best-practices.md | 0 {_cats => _articles}/android-specific-dsl.md | 0 .../android-specific-installing-apk-to-device.md | 0 ...roid-specific-local-and-instrumentation-tests.md | 0 {_cats => _articles}/android-specific-tools.md | 0 {_cats => _articles}/basics.md | 0 {_cats => _articles}/content.md | 0 {_cats => _articles}/development.md | 0 {_cats => _articles}/features.md | 0 {_cats => _articles}/general-good-practices.md | 0 {_cats => _articles}/general-naming.md | 0 {_cats => _articles}/general-ui-testing.md | 0 {_cats => _articles}/help.md | 0 {_cats => _articles}/translation.md | 0 {_cats => _articles}/web-frameworks-new.md | 0 {_cats => _articles}/web-tools-new.md | 0 _config.yml | 7 +------ _layouts/common.html | 4 ++-- 36 files changed, 3 insertions(+), 8 deletions(-) rename {_cats => _articles}/.DS_Store (100%) rename {_cats => _articles}/ac_android-frameworks.md (100%) rename {_cats => _articles}/ac_android-specific.md (100%) rename {_cats => _articles}/ac_android.md (100%) rename {_cats => _articles}/ac_platform.md (100%) rename {_cats => _articles}/ac_web-frameworks.md (100%) rename {_cats => _articles}/ac_web-tools.md (100%) rename {_cats => _articles}/ac_web.md (100%) rename {_cats => _articles}/android-frameworks-appium.md (100%) rename {_cats => _articles}/android-frameworks-barista.md (100%) rename {_cats => _articles}/android-frameworks-compose-testing.md (100%) rename {_cats => _articles}/android-frameworks-espresso.md (100%) rename {_cats => _articles}/android-frameworks-framework-comparison.md (100%) rename {_cats => _articles}/android-frameworks-kakao.md (100%) rename {_cats => _articles}/android-frameworks-kaspresso.md (100%) rename {_cats => _articles}/android-frameworks-kautomator.md (100%) rename {_cats => _articles}/android-frameworks-uiautomator.md (100%) rename {_cats => _articles}/android-specific-adb-commands.md (100%) rename {_cats => _articles}/android-specific-best-practices.md (100%) rename {_cats => _articles}/android-specific-dsl.md (100%) rename {_cats => _articles}/android-specific-installing-apk-to-device.md (100%) rename {_cats => _articles}/android-specific-local-and-instrumentation-tests.md (100%) rename {_cats => _articles}/android-specific-tools.md (100%) rename {_cats => _articles}/basics.md (100%) rename {_cats => _articles}/content.md (100%) rename {_cats => _articles}/development.md (100%) rename {_cats => _articles}/features.md (100%) rename {_cats => _articles}/general-good-practices.md (100%) rename {_cats => _articles}/general-naming.md (100%) rename {_cats => _articles}/general-ui-testing.md (100%) rename {_cats => _articles}/help.md (100%) rename {_cats => _articles}/translation.md (100%) rename {_cats => _articles}/web-frameworks-new.md (100%) rename {_cats => _articles}/web-tools-new.md (100%) diff --git a/_cats/.DS_Store b/_articles/.DS_Store similarity index 100% rename from _cats/.DS_Store rename to _articles/.DS_Store diff --git a/_cats/ac_android-frameworks.md b/_articles/ac_android-frameworks.md similarity index 100% rename from _cats/ac_android-frameworks.md rename to _articles/ac_android-frameworks.md diff --git a/_cats/ac_android-specific.md b/_articles/ac_android-specific.md similarity index 100% rename from _cats/ac_android-specific.md rename to _articles/ac_android-specific.md diff --git a/_cats/ac_android.md b/_articles/ac_android.md similarity index 100% rename from _cats/ac_android.md rename to _articles/ac_android.md diff --git a/_cats/ac_platform.md b/_articles/ac_platform.md similarity index 100% rename from _cats/ac_platform.md rename to _articles/ac_platform.md diff --git a/_cats/ac_web-frameworks.md b/_articles/ac_web-frameworks.md similarity index 100% rename from _cats/ac_web-frameworks.md rename to _articles/ac_web-frameworks.md diff --git a/_cats/ac_web-tools.md b/_articles/ac_web-tools.md similarity index 100% rename from _cats/ac_web-tools.md rename to _articles/ac_web-tools.md diff --git a/_cats/ac_web.md b/_articles/ac_web.md similarity index 100% rename from _cats/ac_web.md rename to _articles/ac_web.md diff --git a/_cats/android-frameworks-appium.md b/_articles/android-frameworks-appium.md similarity index 100% rename from _cats/android-frameworks-appium.md rename to _articles/android-frameworks-appium.md diff --git a/_cats/android-frameworks-barista.md b/_articles/android-frameworks-barista.md similarity index 100% rename from _cats/android-frameworks-barista.md rename to _articles/android-frameworks-barista.md diff --git a/_cats/android-frameworks-compose-testing.md b/_articles/android-frameworks-compose-testing.md similarity index 100% rename from _cats/android-frameworks-compose-testing.md rename to _articles/android-frameworks-compose-testing.md diff --git a/_cats/android-frameworks-espresso.md b/_articles/android-frameworks-espresso.md similarity index 100% rename from _cats/android-frameworks-espresso.md rename to _articles/android-frameworks-espresso.md diff --git a/_cats/android-frameworks-framework-comparison.md b/_articles/android-frameworks-framework-comparison.md similarity index 100% rename from _cats/android-frameworks-framework-comparison.md rename to _articles/android-frameworks-framework-comparison.md diff --git a/_cats/android-frameworks-kakao.md b/_articles/android-frameworks-kakao.md similarity index 100% rename from _cats/android-frameworks-kakao.md rename to _articles/android-frameworks-kakao.md diff --git a/_cats/android-frameworks-kaspresso.md b/_articles/android-frameworks-kaspresso.md similarity index 100% rename from _cats/android-frameworks-kaspresso.md rename to _articles/android-frameworks-kaspresso.md diff --git a/_cats/android-frameworks-kautomator.md b/_articles/android-frameworks-kautomator.md similarity index 100% rename from _cats/android-frameworks-kautomator.md rename to _articles/android-frameworks-kautomator.md diff --git a/_cats/android-frameworks-uiautomator.md b/_articles/android-frameworks-uiautomator.md similarity index 100% rename from _cats/android-frameworks-uiautomator.md rename to _articles/android-frameworks-uiautomator.md diff --git a/_cats/android-specific-adb-commands.md b/_articles/android-specific-adb-commands.md similarity index 100% rename from _cats/android-specific-adb-commands.md rename to _articles/android-specific-adb-commands.md diff --git a/_cats/android-specific-best-practices.md b/_articles/android-specific-best-practices.md similarity index 100% rename from _cats/android-specific-best-practices.md rename to _articles/android-specific-best-practices.md diff --git a/_cats/android-specific-dsl.md b/_articles/android-specific-dsl.md similarity index 100% rename from _cats/android-specific-dsl.md rename to _articles/android-specific-dsl.md diff --git a/_cats/android-specific-installing-apk-to-device.md b/_articles/android-specific-installing-apk-to-device.md similarity index 100% rename from _cats/android-specific-installing-apk-to-device.md rename to _articles/android-specific-installing-apk-to-device.md diff --git a/_cats/android-specific-local-and-instrumentation-tests.md b/_articles/android-specific-local-and-instrumentation-tests.md similarity index 100% rename from _cats/android-specific-local-and-instrumentation-tests.md rename to _articles/android-specific-local-and-instrumentation-tests.md diff --git a/_cats/android-specific-tools.md b/_articles/android-specific-tools.md similarity index 100% rename from _cats/android-specific-tools.md rename to _articles/android-specific-tools.md diff --git a/_cats/basics.md b/_articles/basics.md similarity index 100% rename from _cats/basics.md rename to _articles/basics.md diff --git a/_cats/content.md b/_articles/content.md similarity index 100% rename from _cats/content.md rename to _articles/content.md diff --git a/_cats/development.md b/_articles/development.md similarity index 100% rename from _cats/development.md rename to _articles/development.md diff --git a/_cats/features.md b/_articles/features.md similarity index 100% rename from _cats/features.md rename to _articles/features.md diff --git a/_cats/general-good-practices.md b/_articles/general-good-practices.md similarity index 100% rename from _cats/general-good-practices.md rename to _articles/general-good-practices.md diff --git a/_cats/general-naming.md b/_articles/general-naming.md similarity index 100% rename from _cats/general-naming.md rename to _articles/general-naming.md diff --git a/_cats/general-ui-testing.md b/_articles/general-ui-testing.md similarity index 100% rename from _cats/general-ui-testing.md rename to _articles/general-ui-testing.md diff --git a/_cats/help.md b/_articles/help.md similarity index 100% rename from _cats/help.md rename to _articles/help.md diff --git a/_cats/translation.md b/_articles/translation.md similarity index 100% rename from _cats/translation.md rename to _articles/translation.md diff --git a/_cats/web-frameworks-new.md b/_articles/web-frameworks-new.md similarity index 100% rename from _cats/web-frameworks-new.md rename to _articles/web-frameworks-new.md diff --git a/_cats/web-tools-new.md b/_articles/web-tools-new.md similarity index 100% rename from _cats/web-tools-new.md rename to _articles/web-tools-new.md diff --git a/_config.yml b/_config.yml index 7602e51..a284cb0 100644 --- a/_config.yml +++ b/_config.yml @@ -126,7 +126,7 @@ collections: common: output: true layout: common - cats: + articles: output: true # Defaults @@ -143,8 +143,3 @@ defaults: type: pages values: layout: page - - scope: - path: "/:categories/" - type: commons - values: - layout: common diff --git a/_layouts/common.html b/_layouts/common.html index 0f9e214..b169b7f 100644 --- a/_layouts/common.html +++ b/_layouts/common.html @@ -11,12 +11,12 @@

    {{page.title}}

    {{page.description}}

    {{content}} - {% assign cats = site.cats %} + {% assign articles = site.articles %} {% assign i = page.categories.size | minus: 1 %}
    - {% for p in cats %} + {% for p in articles %} {% assign k1 = p.categories.size %} {% assign k2 =i | plus: 2 %} From ba2f91a9ce6d791e3c3dea41101771630af85e1e Mon Sep 17 00:00:00 2001 From: vosaul Date: Sun, 8 Nov 2020 23:50:08 +0200 Subject: [PATCH 10/19] change structure --- _articles/ac_android-frameworks.md | 2 +- _articles/ac_android-specific.md | 2 +- _articles/ac_android.md | 2 +- _articles/ac_good-practices.md | 9 ++++ _articles/ac_naming.md | 9 ++++ _articles/ac_platform.md | 2 +- _articles/ac_ui-testing.md | 9 ++++ _articles/ac_web-frameworks.md | 2 +- _articles/ac_web-tools.md | 2 +- _articles/ac_web.md | 2 +- _articles/android-frameworks-appium.md | 2 +- _articles/android-frameworks-barista.md | 2 +- .../android-frameworks-compose-testing.md | 2 +- _articles/android-frameworks-espresso.md | 2 +- ...android-frameworks-framework-comparison.md | 2 +- _articles/android-frameworks-kakao.md | 2 +- _articles/android-frameworks-kaspresso.md | 2 +- _articles/android-frameworks-kautomator.md | 2 +- _articles/android-frameworks-uiautomator.md | 2 +- _articles/android-specific-adb-commands.md | 2 +- _articles/android-specific-best-practices.md | 2 +- _articles/android-specific-dsl.md | 2 +- ...droid-specific-installing-apk-to-device.md | 2 +- ...pecific-local-and-instrumentation-tests.md | 2 +- _articles/android-specific-tools.md | 2 +- _articles/basics.md | 2 +- _articles/content.md | 2 +- _articles/development.md | 2 +- _articles/features.md | 2 +- _articles/general-good-practices.md | 13 ----- _articles/general-naming.md | 14 ----- _articles/general-ui-testing.md | 14 ----- _articles/help.md | 2 +- _articles/translation.md | 2 +- _articles/web-frameworks-new.md | 2 +- _articles/web-tools-new.md | 2 +- _data/home_categories.yml | 8 +-- ...epost-propose-improvement-request-topic.md | 2 +- _layouts/common.html | 52 +++++++++++-------- ...06-all-test-cases-should-be-independent.md | 2 +- _posts/2020-09-06-approaches-of-ui-testing.md | 2 +- ...09-06-naming-conventions-for-test-cases.md | 2 +- ...ests-from-the-test-automation-framework.md | 2 +- ...2020-09-20-never-use-sleep-in-test-code.md | 2 +- index.md | 13 +++-- 45 files changed, 102 insertions(+), 111 deletions(-) create mode 100644 _articles/ac_good-practices.md create mode 100644 _articles/ac_naming.md create mode 100644 _articles/ac_ui-testing.md delete mode 100644 _articles/general-good-practices.md delete mode 100644 _articles/general-naming.md delete mode 100644 _articles/general-ui-testing.md diff --git a/_articles/ac_android-frameworks.md b/_articles/ac_android-frameworks.md index ded61fa..0a4d4c4 100644 --- a/_articles/ac_android-frameworks.md +++ b/_articles/ac_android-frameworks.md @@ -3,7 +3,7 @@ title: Android Framework description: Android frameworks, etc icon: cog layout: common -category: [platform, android, frameworks] +categories: [ platform, android, frameworks] permalink: "/:categories/" --- diff --git a/_articles/ac_android-specific.md b/_articles/ac_android-specific.md index 955eaf7..2dace8a 100644 --- a/_articles/ac_android-specific.md +++ b/_articles/ac_android-specific.md @@ -3,7 +3,7 @@ title: Android Specific layout: common description: Android Specific, etc icon: code -category: [platform, android, specific] +categories: [ platform, android, specific] permalink: "/:categories/" --- diff --git a/_articles/ac_android.md b/_articles/ac_android.md index d3e585b..4958c61 100644 --- a/_articles/ac_android.md +++ b/_articles/ac_android.md @@ -3,7 +3,7 @@ title: Android layout: common description: Android Specific, platform etc icon: file-text -category: [platform, android] +categories: [ platform, android] permalink: "/:categories/" --- diff --git a/_articles/ac_good-practices.md b/_articles/ac_good-practices.md new file mode 100644 index 0000000..f62fe77 --- /dev/null +++ b/_articles/ac_good-practices.md @@ -0,0 +1,9 @@ +--- +title: Good Practices +layout: common +description: Good practices which can be applied to UI testing. +icon: star +categories: [ good-practices] +permalink: "/:categories/" +--- + diff --git a/_articles/ac_naming.md b/_articles/ac_naming.md new file mode 100644 index 0000000..c4ce1a3 --- /dev/null +++ b/_articles/ac_naming.md @@ -0,0 +1,9 @@ +--- +title: Naming +layout: common +description: Naming conventions for test cases. +icon: bold +categories: [ naming] +permalink: "/:categories/" +--- + diff --git a/_articles/ac_platform.md b/_articles/ac_platform.md index ca976b8..35b8cda 100644 --- a/_articles/ac_platform.md +++ b/_articles/ac_platform.md @@ -3,7 +3,7 @@ title: Platform layout: common description: Android WEB, etc icon: code -category: [platform] +categories: [ platform] permalink: "/:categories/" --- diff --git a/_articles/ac_ui-testing.md b/_articles/ac_ui-testing.md new file mode 100644 index 0000000..e8924cb --- /dev/null +++ b/_articles/ac_ui-testing.md @@ -0,0 +1,9 @@ +--- +title: UI testing +layout: common +description: General topics connected with UI testing. +icon: file-text +categories: [ ui-testing] +permalink: "/:categories/" +--- + diff --git a/_articles/ac_web-frameworks.md b/_articles/ac_web-frameworks.md index 7744aad..6eb1c93 100644 --- a/_articles/ac_web-frameworks.md +++ b/_articles/ac_web-frameworks.md @@ -3,6 +3,6 @@ title: WEB Frameworks layout: common description: WEB Specific, Frameworks, etc icon: settings -category: [platform, web, frameworks] +categories: [ platform, web, frameworks] permalink: "/:categories/" --- diff --git a/_articles/ac_web-tools.md b/_articles/ac_web-tools.md index a855d93..43ac563 100644 --- a/_articles/ac_web-tools.md +++ b/_articles/ac_web-tools.md @@ -3,6 +3,6 @@ title: WEB tools description: Freelancers, businesses, and professionals all use a range of web tools and services to get their job done. The landscape changes every year, so today’ we’ve collected 45 varied and versatile choices to help you in your job. layout: common icon: settings -category: [platform, web, tools] +categories: [ platform, web, tools] permalink: "/:categories/" --- diff --git a/_articles/ac_web.md b/_articles/ac_web.md index 3569a3a..bf300b8 100644 --- a/_articles/ac_web.md +++ b/_articles/ac_web.md @@ -3,6 +3,6 @@ title: WEB layout: common description: WEB tools, Frameworks, Specific, etc icon: code -category: [platform, web] +categories: [ platform, web] permalink: "/:categories/" --- diff --git a/_articles/android-frameworks-appium.md b/_articles/android-frameworks-appium.md index 399e038..5d1660d 100644 --- a/_articles/android-frameworks-appium.md +++ b/_articles/android-frameworks-appium.md @@ -12,7 +12,7 @@ pagination: - frameworks - appium matching: all -categories: [platform, android, frameworks, appium] +categories: [ platform, android, frameworks, appium] --- ## Appium Philosophy diff --git a/_articles/android-frameworks-barista.md b/_articles/android-frameworks-barista.md index 6af5a97..6caaab7 100644 --- a/_articles/android-frameworks-barista.md +++ b/_articles/android-frameworks-barista.md @@ -11,6 +11,6 @@ pagination: - frameworks - barista matching: all -categories: [platform, android, frameworks, barista] +categories: [ platform, android, frameworks, barista] --- diff --git a/_articles/android-frameworks-compose-testing.md b/_articles/android-frameworks-compose-testing.md index d625c9e..f1e9e13 100644 --- a/_articles/android-frameworks-compose-testing.md +++ b/_articles/android-frameworks-compose-testing.md @@ -11,6 +11,6 @@ pagination: - frameworks - compose-testing matching: all -categories: [platform, android, frameworks, compose-testing] +categories: [ platform, android, frameworks, compose-testing] --- diff --git a/_articles/android-frameworks-espresso.md b/_articles/android-frameworks-espresso.md index 733a0f3..e3516c0 100644 --- a/_articles/android-frameworks-espresso.md +++ b/_articles/android-frameworks-espresso.md @@ -11,6 +11,6 @@ pagination: - frameworks - espresso matching: all -categories: [platform, android, frameworks, espresso] +categories: [ platform, android, frameworks, espresso] --- diff --git a/_articles/android-frameworks-framework-comparison.md b/_articles/android-frameworks-framework-comparison.md index 1627b65..b981911 100644 --- a/_articles/android-frameworks-framework-comparison.md +++ b/_articles/android-frameworks-framework-comparison.md @@ -11,6 +11,6 @@ pagination: - frameworks - framework-comparison matching: all -categories: [platform, android, frameworks, framework-comparison] +categories: [ platform, android, frameworks, framework-comparison] --- diff --git a/_articles/android-frameworks-kakao.md b/_articles/android-frameworks-kakao.md index 916f858..2fa1b20 100644 --- a/_articles/android-frameworks-kakao.md +++ b/_articles/android-frameworks-kakao.md @@ -11,6 +11,6 @@ pagination: - frameworks - kakao matching: all -categories: [platform, android, frameworks, kakao] +categories: [ platform, android, frameworks, kakao] --- diff --git a/_articles/android-frameworks-kaspresso.md b/_articles/android-frameworks-kaspresso.md index 6afe819..f41fe70 100644 --- a/_articles/android-frameworks-kaspresso.md +++ b/_articles/android-frameworks-kaspresso.md @@ -11,6 +11,6 @@ pagination: - frameworks - kaspresso matching: all -categories: [platform, android, frameworks, kaspresso] +categories: [ platform, android, frameworks, kaspresso] --- diff --git a/_articles/android-frameworks-kautomator.md b/_articles/android-frameworks-kautomator.md index a46fb35..3402cc1 100644 --- a/_articles/android-frameworks-kautomator.md +++ b/_articles/android-frameworks-kautomator.md @@ -11,6 +11,6 @@ pagination: - frameworks - kautomator matching: all -categories: [platform, android, frameworks, kautomator] +categories: [ platform, android, frameworks, kautomator] --- diff --git a/_articles/android-frameworks-uiautomator.md b/_articles/android-frameworks-uiautomator.md index 475806c..6dd0b05 100644 --- a/_articles/android-frameworks-uiautomator.md +++ b/_articles/android-frameworks-uiautomator.md @@ -11,6 +11,6 @@ pagination: - frameworks - uiautomator matching: all -categories: [platform, android, frameworks, uiautomator] +categories: [ platform, android, frameworks, uiautomator] --- diff --git a/_articles/android-specific-adb-commands.md b/_articles/android-specific-adb-commands.md index 7bf0d38..c886514 100644 --- a/_articles/android-specific-adb-commands.md +++ b/_articles/android-specific-adb-commands.md @@ -11,6 +11,6 @@ pagination: - specific - adb-commands matching: all -categories: [platform, android, frameworks, adb-commands] +categories: [ platform, android, frameworks, adb-commands] --- diff --git a/_articles/android-specific-best-practices.md b/_articles/android-specific-best-practices.md index 9f59d3e..1fdd750 100644 --- a/_articles/android-specific-best-practices.md +++ b/_articles/android-specific-best-practices.md @@ -11,6 +11,6 @@ pagination: - specific - best-practices matching: all -categories: [platform, android, frameworks, best-practices] +categories: [ platform, android, frameworks, best-practices] --- diff --git a/_articles/android-specific-dsl.md b/_articles/android-specific-dsl.md index dc2080c..877cefe 100644 --- a/_articles/android-specific-dsl.md +++ b/_articles/android-specific-dsl.md @@ -11,6 +11,6 @@ pagination: - specific - dsl matching: all -categories: [platform, android, specific, dsl] +categories: [ platform, android, specific, dsl] --- diff --git a/_articles/android-specific-installing-apk-to-device.md b/_articles/android-specific-installing-apk-to-device.md index ecc87d3..4dbdc9d 100644 --- a/_articles/android-specific-installing-apk-to-device.md +++ b/_articles/android-specific-installing-apk-to-device.md @@ -11,6 +11,6 @@ pagination: - specific - installing-apk-to-device matching: all -categories: [platform, android, specific, installing-apk-to-device] +categories: [ platform, android, specific, installing-apk-to-device] --- diff --git a/_articles/android-specific-local-and-instrumentation-tests.md b/_articles/android-specific-local-and-instrumentation-tests.md index 7936492..77b654c 100644 --- a/_articles/android-specific-local-and-instrumentation-tests.md +++ b/_articles/android-specific-local-and-instrumentation-tests.md @@ -11,7 +11,7 @@ pagination: - specific - local-and-instrumentation-tests matching: all -categories: [platform, android, specific, local-and-instrumentation-tests] +categories: [ platform, android, specific, local-and-instrumentation-tests] --- diff --git a/_articles/android-specific-tools.md b/_articles/android-specific-tools.md index e0d53e4..ca49590 100644 --- a/_articles/android-specific-tools.md +++ b/_articles/android-specific-tools.md @@ -11,6 +11,6 @@ pagination: - specific - tools matching: all -categories: [platform, android, specific, tools] +categories: [ platform, android, specific, tools] --- diff --git a/_articles/basics.md b/_articles/basics.md index a5a2f31..ccc39f7 100644 --- a/_articles/basics.md +++ b/_articles/basics.md @@ -9,7 +9,7 @@ pagination: - setup - basics matching: all -categories: [setup, basics] +categories: [ setup, basics] # sort_field: 'title' # sort_reverse: false --- diff --git a/_articles/content.md b/_articles/content.md index 415e511..ff0651e 100644 --- a/_articles/content.md +++ b/_articles/content.md @@ -9,6 +9,6 @@ pagination: - setup - content matching: all -categories: [setup, content] +categories: [ setup, content] --- diff --git a/_articles/development.md b/_articles/development.md index e5bcef4..e42ca50 100644 --- a/_articles/development.md +++ b/_articles/development.md @@ -9,5 +9,5 @@ pagination: - customization - development matching: all -categories: [customization, development] +categories: [ customization, development] --- diff --git a/_articles/features.md b/_articles/features.md index eabc82b..779518e 100644 --- a/_articles/features.md +++ b/_articles/features.md @@ -9,6 +9,6 @@ pagination: - setup - features matching: all -categories: [setup, features] +categories: [ setup, features] --- diff --git a/_articles/general-good-practices.md b/_articles/general-good-practices.md deleted file mode 100644 index 01c142c..0000000 --- a/_articles/general-good-practices.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: post -permalink: /general/good-practices/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - general - - good-practices - matching: all ---- - diff --git a/_articles/general-naming.md b/_articles/general-naming.md deleted file mode 100644 index 227db84..0000000 --- a/_articles/general-naming.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: post -permalink: /general/naming/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - general - - naming - matching: all -categories: [general, naming] ---- - diff --git a/_articles/general-ui-testing.md b/_articles/general-ui-testing.md deleted file mode 100644 index 91e2d40..0000000 --- a/_articles/general-ui-testing.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: post -permalink: /general/ui-testing/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - general - - ui-testing - matching: all -categories: [general, ui-testing] ---- - diff --git a/_articles/help.md b/_articles/help.md index 8f962f4..f7b8e7a 100644 --- a/_articles/help.md +++ b/_articles/help.md @@ -9,5 +9,5 @@ pagination: - customization - help matching: all -categories: [customization, help] +categories: [ customization, help] --- \ No newline at end of file diff --git a/_articles/translation.md b/_articles/translation.md index c52ef12..e123101 100644 --- a/_articles/translation.md +++ b/_articles/translation.md @@ -9,6 +9,6 @@ pagination: - setup - translation matching: all -categories: [setup, translation] +categories: [ setup, translation] --- diff --git a/_articles/web-frameworks-new.md b/_articles/web-frameworks-new.md index 80d5fdd..b414934 100644 --- a/_articles/web-frameworks-new.md +++ b/_articles/web-frameworks-new.md @@ -12,7 +12,7 @@ pagination: - tools - workbox matching: all -categories: [platform, web, frameworks, express] +categories: [ platform, web, frameworks, express] --- Frameworks have become an essential part of web development, as the standards of web applications are always rising, so does the complexity of the technology needed. It’s completely unreasonable to reinvent the wheel for such sophisticated techniques -assuming that you can reinvent all that. That’s why using frameworks endorsed by thousands of developers around the world is a very sensible approach for building rich and interactive web applications. A web app has a backend (server-side) and a frontend (client-side), so we discuss both best Backend frameworks as well as frontend frameworks. Here goes the list of best web development frameworks in 2020: diff --git a/_articles/web-tools-new.md b/_articles/web-tools-new.md index 73ba6b8..cc56c13 100644 --- a/_articles/web-tools-new.md +++ b/_articles/web-tools-new.md @@ -12,7 +12,7 @@ pagination: - tools - workbox matching: all -categories: [platform, web, tools, workbox] +categories: [ platform, web, tools, workbox] --- Workbox is a set of service worker libraries and tools that make it easy to build an offline PWA and take advantage of the service worker APIs. \ No newline at end of file diff --git a/_data/home_categories.yml b/_data/home_categories.yml index 38fd6a3..726a402 100644 --- a/_data/home_categories.yml +++ b/_data/home_categories.yml @@ -4,22 +4,22 @@ category: general categories: - - permalink: /general/ui-testing/ + - permalink: /ui-testing/ title: UI testing desc: General topics connected with UI testing. icon: file-text - - permalink: /general/naming/ + - permalink: /naming/ title: Naming desc: Naming conventions for test cases. icon: bold -# - permalink: /general/dsl/ +# - permalink: /dsl/ # title: Domain Specific Language # desc: Description for "Domain Specific Language (DSL)" # icon: album - - permalink: /general/good-practices/ + - permalink: /good-practices/ title: Good Practices desc: Good practices which can be applied to UI testing. icon: star diff --git a/_faqs/bug-repost-propose-improvement-request-topic.md b/_faqs/bug-repost-propose-improvement-request-topic.md index 1343e6b..9f86151 100644 --- a/_faqs/bug-repost-propose-improvement-request-topic.md +++ b/_faqs/bug-repost-propose-improvement-request-topic.md @@ -1,6 +1,6 @@ --- title: How to send a bug report/improvement proposal/request a topic? -categories: [faq] +categories: [ faq] --- We want to grow and improve the project. If you found any issue in our project and you know how to improve the project, or you want to see more topic, please share your feedback with us via [GitHub issues](https://github.com/AlexZhukovich/ui-testing.academy/issues/){:target="_blank"} or [Contact form](/contact/). \ No newline at end of file diff --git a/_layouts/common.html b/_layouts/common.html index b169b7f..f4f6ce5 100644 --- a/_layouts/common.html +++ b/_layouts/common.html @@ -1,55 +1,58 @@ --- layout: default -parent: ---
    + {%- if page.header.list_title -%} +

    {{page.header.list_title}}

    + {%- else -%} {%- include breadcrumbs.html -%}

    {{page.title}}

    {{page.description}}

    - {{content}} + {%- endif -%} + {% assign articles = site.articles %} {% assign i = page.categories.size | minus: 1 %}
    - + {% for p in articles %} - + {% assign k1 = p.categories.size %} {% assign k2 =i | plus: 2 %} - - {% if k1 == k2 %} + {% if k1 == k2 %} {%- assign s1 = "" -%} {%- for l in (0..i) -%} - {%- assign s1 = s1 | append: p.categories[l] -%} + {%- assign s1 = s1 | append: p.categories[l] -%} {%- endfor -%} {%- assign s2 = page.categories | join: "" -%} {% if s1 == s2 %}
    -
    - -
    -
    - - - - -
    -
    -

    {{p.title}}

    - -

    {{p.description}}

    - +
    + +
    +
    + + + + +
    +
    +

    {{p.title}}

    + +

    {{p.description}}

    + +
    -
    {% endif %} @@ -57,5 +60,8 @@

    {{p.title}}

    {% endfor %}
    + + {{content}} +
    -
    +
    \ No newline at end of file diff --git a/_posts/2020-09-06-all-test-cases-should-be-independent.md b/_posts/2020-09-06-all-test-cases-should-be-independent.md index e8f6c91..6f79a83 100644 --- a/_posts/2020-09-06-all-test-cases-should-be-independent.md +++ b/_posts/2020-09-06-all-test-cases-should-be-independent.md @@ -1,7 +1,7 @@ --- title: 'All test cases should be independent' description: 'We will explore why independent tests is a good practice and how to achieve this.' -categories: [general, good-practices] +categories: [ good-practices] author: alex_zhukovich --- diff --git a/_posts/2020-09-06-approaches-of-ui-testing.md b/_posts/2020-09-06-approaches-of-ui-testing.md index d8cd619..2e0ee7a 100644 --- a/_posts/2020-09-06-approaches-of-ui-testing.md +++ b/_posts/2020-09-06-approaches-of-ui-testing.md @@ -1,7 +1,7 @@ --- title: 'Approaches of UI testing' description: 'Different ways of UI testing can be done: manual testing, record-and-replay testing, and model-based testing. We will explore the pros and cons of each approach.' -categories: [general, ui-testing] +categories: [ ui-testing] author: alex_zhukovich --- diff --git a/_posts/2020-09-06-naming-conventions-for-test-cases.md b/_posts/2020-09-06-naming-conventions-for-test-cases.md index 7b93c03..919f984 100644 --- a/_posts/2020-09-06-naming-conventions-for-test-cases.md +++ b/_posts/2020-09-06-naming-conventions-for-test-cases.md @@ -1,7 +1,7 @@ --- title: 'Naming conventions for test cases' description: 'We will explore different naming conventions for test cases.' -categories: [general, naming] +categories: [ naming] author: alex_zhukovich --- A name is an essential part of a test suite and each test scenario. When analyzing test reports, all you see are the names of the test cases. The right name of the test case provides information about the scenario, and often, it's enough information for understanding the main idea. diff --git a/_posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md b/_posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md index 62873ee..5275aae 100644 --- a/_posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md +++ b/_posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md @@ -1,7 +1,7 @@ --- title: 'Separate your tests from the test automation framework' description: 'We will explore reasons for separating test cases from the test automation framework.' -categories: [general, good-practices] +categories: [ good-practices] author: alex_zhukovich --- The testing framework has a significant impact on the test cases in a project because each framework has its own approach for handling similar situations and issues. Even if you are happy with the framework, chances are that you will change it in the future. diff --git a/_posts/2020-09-20-never-use-sleep-in-test-code.md b/_posts/2020-09-20-never-use-sleep-in-test-code.md index bfd3791..d7894b3 100644 --- a/_posts/2020-09-20-never-use-sleep-in-test-code.md +++ b/_posts/2020-09-20-never-use-sleep-in-test-code.md @@ -1,7 +1,7 @@ --- title: 'Never use sleep in test code' description: 'We will explore approaches for replacing a sleep method in test cases.' -categories: [general, good-practices] +categories: [ good-practices] author: alex_zhukovich --- Almost every application performs long-running operations, and automated UI test cases should wait until this operation is finished. Often we should wait in the following scenarios: diff --git a/index.md b/index.md index 1a199ef..ddd5034 100644 --- a/index.md +++ b/index.md @@ -5,15 +5,14 @@ header: # background: "rgba(0, 0, 0, 0.5)" # color: light title: Here you learn more about UI testing - subtitle: - # search: true + subtitle: + list_title: General information +description: Android frameworks, WEB, Naming, etc +icon: +layout: common +categories: [] --- -{% include categories.html - columns="3" - section="muted" -%} - {% include faqs.html multiple="true" title="Frequently asked questions" From 9b12f7ea713e9b8e5cd7a373c08f0779de7f71fb Mon Sep 17 00:00:00 2001 From: vosaul Date: Mon, 9 Nov 2020 08:27:12 +0200 Subject: [PATCH 11/19] frontmatter --- _articles/basics.md | 2 +- _articles/content.md | 2 +- _articles/features.md | 2 +- _articles/help.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_articles/basics.md b/_articles/basics.md index ccc39f7..22331f2 100644 --- a/_articles/basics.md +++ b/_articles/basics.md @@ -8,7 +8,7 @@ pagination: values: - setup - basics - matching: all + matching: all categories: [ setup, basics] # sort_field: 'title' # sort_reverse: false diff --git a/_articles/content.md b/_articles/content.md index ff0651e..ad7f55c 100644 --- a/_articles/content.md +++ b/_articles/content.md @@ -8,7 +8,7 @@ pagination: values: - setup - content - matching: all + matching: all categories: [ setup, content] --- diff --git a/_articles/features.md b/_articles/features.md index 779518e..31f49c6 100644 --- a/_articles/features.md +++ b/_articles/features.md @@ -8,7 +8,7 @@ pagination: values: - setup - features - matching: all + matching: all categories: [ setup, features] --- diff --git a/_articles/help.md b/_articles/help.md index f7b8e7a..2f0e11f 100644 --- a/_articles/help.md +++ b/_articles/help.md @@ -8,6 +8,6 @@ pagination: values: - customization - help - matching: all + matching: all categories: [ customization, help] --- \ No newline at end of file From f73c8bd6f60d4c492a194dbc2de722474638c64a Mon Sep 17 00:00:00 2001 From: Volodymyr Sauliak <3429638@gmail.com> Date: Mon, 9 Nov 2020 12:09:22 +0200 Subject: [PATCH 12/19] restructured articles --- 404.html | 25 ------------------- ...06-all-test-cases-should-be-independent.md | 2 ++ .../2020-09-06-approaches-of-ui-testing.md | 2 ++ ...09-06-naming-conventions-for-test-cases.md | 2 ++ ...ests-from-the-test-automation-framework.md | 2 ++ ...2020-09-20-never-use-sleep-in-test-code.md | 4 ++- _articles/android-frameworks-appium.md | 2 +- _articles/android-frameworks-barista.md | 16 ------------ .../nodes/ac_android-frameworks-appium.md | 6 +++++ .../{ => nodes}/ac_android-frameworks.md | 0 _articles/{ => nodes}/ac_android-specific.md | 0 _articles/{ => nodes}/ac_android.md | 0 _articles/{ => nodes}/ac_good-practices.md | 0 _articles/{ => nodes}/ac_naming.md | 0 _articles/{ => nodes}/ac_platform.md | 0 _articles/{ => nodes}/ac_ui-testing.md | 0 _articles/{ => nodes}/ac_web-frameworks.md | 0 _articles/{ => nodes}/ac_web-tools.md | 0 _articles/{ => nodes}/ac_web.md | 0 .../android-frameworks-compose-testing.md | 4 +-- .../android-frameworks-espresso.md | 2 +- ...android-frameworks-framework-comparison.md | 2 +- .../{ => nodes}/android-frameworks-kakao.md | 2 +- .../android-frameworks-kaspresso.md | 2 +- .../android-frameworks-kautomator.md | 2 +- .../android-frameworks-uiautomator.md | 2 +- .../android-specific-adb-commands.md | 2 +- .../android-specific-best-practices.md | 2 +- _articles/{ => nodes}/android-specific-dsl.md | 2 +- ...droid-specific-installing-apk-to-device.md | 2 +- ...pecific-local-and-instrumentation-tests.md | 2 +- .../{ => nodes}/android-specific-tools.md | 2 +- _articles/{ => nodes}/basics.md | 2 +- _articles/{ => nodes}/content.md | 2 +- _articles/{ => nodes}/development.md | 2 +- _articles/{ => nodes}/features.md | 2 +- _articles/{ => nodes}/help.md | 2 +- _articles/{ => nodes}/translation.md | 2 +- _articles/{ => nodes}/web-frameworks-new.md | 2 +- _articles/{ => nodes}/web-tools-new.md | 2 +- _config.yml | 3 +-- _layouts/common.html | 6 ++++- 42 files changed, 46 insertions(+), 68 deletions(-) delete mode 100644 404.html rename {_posts => _articles}/2020-09-06-all-test-cases-should-be-independent.md (97%) rename {_posts => _articles}/2020-09-06-approaches-of-ui-testing.md (98%) rename {_posts => _articles}/2020-09-06-naming-conventions-for-test-cases.md (97%) rename {_posts => _articles}/2020-09-19-separate-your-tests-from-the-test-automation-framework.md (98%) rename {_posts => _articles}/2020-09-20-never-use-sleep-in-test-code.md (97%) delete mode 100644 _articles/android-frameworks-barista.md create mode 100644 _articles/nodes/ac_android-frameworks-appium.md rename _articles/{ => nodes}/ac_android-frameworks.md (100%) rename _articles/{ => nodes}/ac_android-specific.md (100%) rename _articles/{ => nodes}/ac_android.md (100%) rename _articles/{ => nodes}/ac_good-practices.md (100%) rename _articles/{ => nodes}/ac_naming.md (100%) rename _articles/{ => nodes}/ac_platform.md (100%) rename _articles/{ => nodes}/ac_ui-testing.md (100%) rename _articles/{ => nodes}/ac_web-frameworks.md (100%) rename _articles/{ => nodes}/ac_web-tools.md (100%) rename _articles/{ => nodes}/ac_web.md (100%) rename _articles/{ => nodes}/android-frameworks-compose-testing.md (77%) rename _articles/{ => nodes}/android-frameworks-espresso.md (94%) rename _articles/{ => nodes}/android-frameworks-framework-comparison.md (95%) rename _articles/{ => nodes}/android-frameworks-kakao.md (94%) rename _articles/{ => nodes}/android-frameworks-kaspresso.md (94%) rename _articles/{ => nodes}/android-frameworks-kautomator.md (94%) rename _articles/{ => nodes}/android-frameworks-uiautomator.md (94%) rename _articles/{ => nodes}/android-specific-adb-commands.md (94%) rename _articles/{ => nodes}/android-specific-best-practices.md (95%) rename _articles/{ => nodes}/android-specific-dsl.md (94%) rename _articles/{ => nodes}/android-specific-installing-apk-to-device.md (95%) rename _articles/{ => nodes}/android-specific-local-and-instrumentation-tests.md (95%) rename _articles/{ => nodes}/android-specific-tools.md (94%) rename _articles/{ => nodes}/basics.md (93%) rename _articles/{ => nodes}/content.md (92%) rename _articles/{ => nodes}/development.md (93%) rename _articles/{ => nodes}/features.md (92%) rename _articles/{ => nodes}/help.md (93%) rename _articles/{ => nodes}/translation.md (93%) rename _articles/{ => nodes}/web-frameworks-new.md (98%) rename _articles/{ => nodes}/web-tools-new.md (96%) diff --git a/404.html b/404.html deleted file mode 100644 index 086a5c9..0000000 --- a/404.html +++ /dev/null @@ -1,25 +0,0 @@ ---- -permalink: /404.html -layout: default ---- - - - -
    -

    404

    - -

    Page not found :(

    -

    The requested page could not be found.

    -
    diff --git a/_posts/2020-09-06-all-test-cases-should-be-independent.md b/_articles/2020-09-06-all-test-cases-should-be-independent.md similarity index 97% rename from _posts/2020-09-06-all-test-cases-should-be-independent.md rename to _articles/2020-09-06-all-test-cases-should-be-independent.md index 6f79a83..8a41dc2 100644 --- a/_posts/2020-09-06-all-test-cases-should-be-independent.md +++ b/_articles/2020-09-06-all-test-cases-should-be-independent.md @@ -1,7 +1,9 @@ --- +layout: post title: 'All test cases should be independent' description: 'We will explore why independent tests is a good practice and how to achieve this.' categories: [ good-practices] +permalink: /:categories/:title/ author: alex_zhukovich --- diff --git a/_posts/2020-09-06-approaches-of-ui-testing.md b/_articles/2020-09-06-approaches-of-ui-testing.md similarity index 98% rename from _posts/2020-09-06-approaches-of-ui-testing.md rename to _articles/2020-09-06-approaches-of-ui-testing.md index 2e0ee7a..7134009 100644 --- a/_posts/2020-09-06-approaches-of-ui-testing.md +++ b/_articles/2020-09-06-approaches-of-ui-testing.md @@ -1,6 +1,8 @@ --- +layout: post title: 'Approaches of UI testing' description: 'Different ways of UI testing can be done: manual testing, record-and-replay testing, and model-based testing. We will explore the pros and cons of each approach.' +permalink: /:categories/:title/ categories: [ ui-testing] author: alex_zhukovich --- diff --git a/_posts/2020-09-06-naming-conventions-for-test-cases.md b/_articles/2020-09-06-naming-conventions-for-test-cases.md similarity index 97% rename from _posts/2020-09-06-naming-conventions-for-test-cases.md rename to _articles/2020-09-06-naming-conventions-for-test-cases.md index 919f984..2184a77 100644 --- a/_posts/2020-09-06-naming-conventions-for-test-cases.md +++ b/_articles/2020-09-06-naming-conventions-for-test-cases.md @@ -1,6 +1,8 @@ --- +layout: post title: 'Naming conventions for test cases' description: 'We will explore different naming conventions for test cases.' +permalink: /:categories/:title/ categories: [ naming] author: alex_zhukovich --- diff --git a/_posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md b/_articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md similarity index 98% rename from _posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md rename to _articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md index 5275aae..7ab7e5f 100644 --- a/_posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md +++ b/_articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md @@ -1,6 +1,8 @@ --- +layout: post title: 'Separate your tests from the test automation framework' description: 'We will explore reasons for separating test cases from the test automation framework.' +permalink: /:categories/:title/ categories: [ good-practices] author: alex_zhukovich --- diff --git a/_posts/2020-09-20-never-use-sleep-in-test-code.md b/_articles/2020-09-20-never-use-sleep-in-test-code.md similarity index 97% rename from _posts/2020-09-20-never-use-sleep-in-test-code.md rename to _articles/2020-09-20-never-use-sleep-in-test-code.md index d7894b3..dc9a474 100644 --- a/_posts/2020-09-20-never-use-sleep-in-test-code.md +++ b/_articles/2020-09-20-never-use-sleep-in-test-code.md @@ -1,7 +1,9 @@ --- +layout: post title: 'Never use sleep in test code' description: 'We will explore approaches for replacing a sleep method in test cases.' -categories: [ good-practices] +permalink: /:categories/:title/ +categories: [good-practices] author: alex_zhukovich --- Almost every application performs long-running operations, and automated UI test cases should wait until this operation is finished. Often we should wait in the following scenarios: diff --git a/_articles/android-frameworks-appium.md b/_articles/android-frameworks-appium.md index 5d1660d..e9c366f 100644 --- a/_articles/android-frameworks-appium.md +++ b/_articles/android-frameworks-appium.md @@ -1,7 +1,7 @@ --- title: Appium layout: post -permalink: /platform/android/frameworks/appium/ +permalink: /:categories/:title/ pagination: enabled: true permalink: /:num/ diff --git a/_articles/android-frameworks-barista.md b/_articles/android-frameworks-barista.md deleted file mode 100644 index 6caaab7..0000000 --- a/_articles/android-frameworks-barista.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -layout: post -permalink: /platform/android/frameworks/barista/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - platform - - android - - frameworks - - barista - matching: all -categories: [ platform, android, frameworks, barista] ---- - diff --git a/_articles/nodes/ac_android-frameworks-appium.md b/_articles/nodes/ac_android-frameworks-appium.md new file mode 100644 index 0000000..ab7961f --- /dev/null +++ b/_articles/nodes/ac_android-frameworks-appium.md @@ -0,0 +1,6 @@ +--- +title: Appium +layout: common +permalink: /:categories/ +categories: [ platform, android, frameworks, appium] +--- diff --git a/_articles/ac_android-frameworks.md b/_articles/nodes/ac_android-frameworks.md similarity index 100% rename from _articles/ac_android-frameworks.md rename to _articles/nodes/ac_android-frameworks.md diff --git a/_articles/ac_android-specific.md b/_articles/nodes/ac_android-specific.md similarity index 100% rename from _articles/ac_android-specific.md rename to _articles/nodes/ac_android-specific.md diff --git a/_articles/ac_android.md b/_articles/nodes/ac_android.md similarity index 100% rename from _articles/ac_android.md rename to _articles/nodes/ac_android.md diff --git a/_articles/ac_good-practices.md b/_articles/nodes/ac_good-practices.md similarity index 100% rename from _articles/ac_good-practices.md rename to _articles/nodes/ac_good-practices.md diff --git a/_articles/ac_naming.md b/_articles/nodes/ac_naming.md similarity index 100% rename from _articles/ac_naming.md rename to _articles/nodes/ac_naming.md diff --git a/_articles/ac_platform.md b/_articles/nodes/ac_platform.md similarity index 100% rename from _articles/ac_platform.md rename to _articles/nodes/ac_platform.md diff --git a/_articles/ac_ui-testing.md b/_articles/nodes/ac_ui-testing.md similarity index 100% rename from _articles/ac_ui-testing.md rename to _articles/nodes/ac_ui-testing.md diff --git a/_articles/ac_web-frameworks.md b/_articles/nodes/ac_web-frameworks.md similarity index 100% rename from _articles/ac_web-frameworks.md rename to _articles/nodes/ac_web-frameworks.md diff --git a/_articles/ac_web-tools.md b/_articles/nodes/ac_web-tools.md similarity index 100% rename from _articles/ac_web-tools.md rename to _articles/nodes/ac_web-tools.md diff --git a/_articles/ac_web.md b/_articles/nodes/ac_web.md similarity index 100% rename from _articles/ac_web.md rename to _articles/nodes/ac_web.md diff --git a/_articles/android-frameworks-compose-testing.md b/_articles/nodes/android-frameworks-compose-testing.md similarity index 77% rename from _articles/android-frameworks-compose-testing.md rename to _articles/nodes/android-frameworks-compose-testing.md index f1e9e13..03485c0 100644 --- a/_articles/android-frameworks-compose-testing.md +++ b/_articles/nodes/android-frameworks-compose-testing.md @@ -1,6 +1,6 @@ --- -layout: post -permalink: /platform/android/frameworks/compose-testing/ +layout: common +permalink: /:categories/:title/ pagination: enabled: true permalink: /:num/ diff --git a/_articles/android-frameworks-espresso.md b/_articles/nodes/android-frameworks-espresso.md similarity index 94% rename from _articles/android-frameworks-espresso.md rename to _articles/nodes/android-frameworks-espresso.md index e3516c0..fc00858 100644 --- a/_articles/android-frameworks-espresso.md +++ b/_articles/nodes/android-frameworks-espresso.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/frameworks/espresso/ pagination: enabled: true diff --git a/_articles/android-frameworks-framework-comparison.md b/_articles/nodes/android-frameworks-framework-comparison.md similarity index 95% rename from _articles/android-frameworks-framework-comparison.md rename to _articles/nodes/android-frameworks-framework-comparison.md index b981911..01b54c9 100644 --- a/_articles/android-frameworks-framework-comparison.md +++ b/_articles/nodes/android-frameworks-framework-comparison.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/frameworks/framework-comparison/ pagination: enabled: true diff --git a/_articles/android-frameworks-kakao.md b/_articles/nodes/android-frameworks-kakao.md similarity index 94% rename from _articles/android-frameworks-kakao.md rename to _articles/nodes/android-frameworks-kakao.md index 2fa1b20..7cd0ec6 100644 --- a/_articles/android-frameworks-kakao.md +++ b/_articles/nodes/android-frameworks-kakao.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/frameworks/kakao/ pagination: enabled: true diff --git a/_articles/android-frameworks-kaspresso.md b/_articles/nodes/android-frameworks-kaspresso.md similarity index 94% rename from _articles/android-frameworks-kaspresso.md rename to _articles/nodes/android-frameworks-kaspresso.md index f41fe70..a2a34f7 100644 --- a/_articles/android-frameworks-kaspresso.md +++ b/_articles/nodes/android-frameworks-kaspresso.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/frameworks/kaspresso/ pagination: enabled: true diff --git a/_articles/android-frameworks-kautomator.md b/_articles/nodes/android-frameworks-kautomator.md similarity index 94% rename from _articles/android-frameworks-kautomator.md rename to _articles/nodes/android-frameworks-kautomator.md index 3402cc1..f3f82ca 100644 --- a/_articles/android-frameworks-kautomator.md +++ b/_articles/nodes/android-frameworks-kautomator.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/frameworks/kautomator/ pagination: enabled: true diff --git a/_articles/android-frameworks-uiautomator.md b/_articles/nodes/android-frameworks-uiautomator.md similarity index 94% rename from _articles/android-frameworks-uiautomator.md rename to _articles/nodes/android-frameworks-uiautomator.md index 6dd0b05..92f9754 100644 --- a/_articles/android-frameworks-uiautomator.md +++ b/_articles/nodes/android-frameworks-uiautomator.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/frameworks/uiautomator/ pagination: enabled: true diff --git a/_articles/android-specific-adb-commands.md b/_articles/nodes/android-specific-adb-commands.md similarity index 94% rename from _articles/android-specific-adb-commands.md rename to _articles/nodes/android-specific-adb-commands.md index c886514..7c68589 100644 --- a/_articles/android-specific-adb-commands.md +++ b/_articles/nodes/android-specific-adb-commands.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/specific/adb-commands/ pagination: enabled: true diff --git a/_articles/android-specific-best-practices.md b/_articles/nodes/android-specific-best-practices.md similarity index 95% rename from _articles/android-specific-best-practices.md rename to _articles/nodes/android-specific-best-practices.md index 1fdd750..f4c1801 100644 --- a/_articles/android-specific-best-practices.md +++ b/_articles/nodes/android-specific-best-practices.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/specific/best-practices/ pagination: enabled: true diff --git a/_articles/android-specific-dsl.md b/_articles/nodes/android-specific-dsl.md similarity index 94% rename from _articles/android-specific-dsl.md rename to _articles/nodes/android-specific-dsl.md index 877cefe..8359369 100644 --- a/_articles/android-specific-dsl.md +++ b/_articles/nodes/android-specific-dsl.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/specific/dsl/ pagination: enabled: true diff --git a/_articles/android-specific-installing-apk-to-device.md b/_articles/nodes/android-specific-installing-apk-to-device.md similarity index 95% rename from _articles/android-specific-installing-apk-to-device.md rename to _articles/nodes/android-specific-installing-apk-to-device.md index 4dbdc9d..e92d6c7 100644 --- a/_articles/android-specific-installing-apk-to-device.md +++ b/_articles/nodes/android-specific-installing-apk-to-device.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/specific/installing-apk-to-device/ pagination: enabled: true diff --git a/_articles/android-specific-local-and-instrumentation-tests.md b/_articles/nodes/android-specific-local-and-instrumentation-tests.md similarity index 95% rename from _articles/android-specific-local-and-instrumentation-tests.md rename to _articles/nodes/android-specific-local-and-instrumentation-tests.md index 77b654c..ee639a1 100644 --- a/_articles/android-specific-local-and-instrumentation-tests.md +++ b/_articles/nodes/android-specific-local-and-instrumentation-tests.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/specific/local-and-instrumentation-tests/ pagination: enabled: true diff --git a/_articles/android-specific-tools.md b/_articles/nodes/android-specific-tools.md similarity index 94% rename from _articles/android-specific-tools.md rename to _articles/nodes/android-specific-tools.md index ca49590..85487b1 100644 --- a/_articles/android-specific-tools.md +++ b/_articles/nodes/android-specific-tools.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /platform/android/specific/tools/ pagination: enabled: true diff --git a/_articles/basics.md b/_articles/nodes/basics.md similarity index 93% rename from _articles/basics.md rename to _articles/nodes/basics.md index 22331f2..a2c9a96 100644 --- a/_articles/basics.md +++ b/_articles/nodes/basics.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /setup/basics/ pagination: enabled: true diff --git a/_articles/content.md b/_articles/nodes/content.md similarity index 92% rename from _articles/content.md rename to _articles/nodes/content.md index ad7f55c..3b185c0 100644 --- a/_articles/content.md +++ b/_articles/nodes/content.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /setup/content/ pagination: enabled: true diff --git a/_articles/development.md b/_articles/nodes/development.md similarity index 93% rename from _articles/development.md rename to _articles/nodes/development.md index e42ca50..7dd12aa 100644 --- a/_articles/development.md +++ b/_articles/nodes/development.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /customization/development/ pagination: enabled: true diff --git a/_articles/features.md b/_articles/nodes/features.md similarity index 92% rename from _articles/features.md rename to _articles/nodes/features.md index 31f49c6..64c7a70 100644 --- a/_articles/features.md +++ b/_articles/nodes/features.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /setup/features/ pagination: enabled: true diff --git a/_articles/help.md b/_articles/nodes/help.md similarity index 93% rename from _articles/help.md rename to _articles/nodes/help.md index 2f0e11f..5d19d67 100644 --- a/_articles/help.md +++ b/_articles/nodes/help.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /customization/help/ pagination: enabled: true diff --git a/_articles/translation.md b/_articles/nodes/translation.md similarity index 93% rename from _articles/translation.md rename to _articles/nodes/translation.md index e123101..ee4fc38 100644 --- a/_articles/translation.md +++ b/_articles/nodes/translation.md @@ -1,5 +1,5 @@ --- -layout: post +layout: common permalink: /setup/translation/ pagination: enabled: true diff --git a/_articles/web-frameworks-new.md b/_articles/nodes/web-frameworks-new.md similarity index 98% rename from _articles/web-frameworks-new.md rename to _articles/nodes/web-frameworks-new.md index b414934..7584cdd 100644 --- a/_articles/web-frameworks-new.md +++ b/_articles/nodes/web-frameworks-new.md @@ -1,6 +1,6 @@ --- title: Express -layout: post +layout: common permalink: /platform/web/frameworks/express/ pagination: enabled: true diff --git a/_articles/web-tools-new.md b/_articles/nodes/web-tools-new.md similarity index 96% rename from _articles/web-tools-new.md rename to _articles/nodes/web-tools-new.md index cc56c13..8ead428 100644 --- a/_articles/web-tools-new.md +++ b/_articles/nodes/web-tools-new.md @@ -1,6 +1,6 @@ --- title: Workbox -layout: post +layout: common permalink: /platform/web/tools/workbox/ pagination: enabled: true diff --git a/_config.yml b/_config.yml index a284cb0..07730da 100644 --- a/_config.yml +++ b/_config.yml @@ -104,7 +104,7 @@ uploads: /uploads/ markdown: kramdown highlighter: rouge -gems: +plugins: - jekyll-feed - jekyll-seo-tag - jekyll-gist @@ -125,7 +125,6 @@ collections: output: false common: output: true - layout: common articles: output: true diff --git a/_layouts/common.html b/_layouts/common.html index f4f6ce5..da2b1c2 100644 --- a/_layouts/common.html +++ b/_layouts/common.html @@ -22,7 +22,11 @@

    {{page.title}}

    {% for p in articles %} {% assign k1 = p.categories.size %} - {% assign k2 =i | plus: 2 %} + {%- if p.layout == "common" -%} + {% assign k2 =i | plus: 2 %} + {%- else -%} + {% assign k2 =i | plus: 1 %} + {%- endif -%} {% if k1 == k2 %} {%- assign s1 = "" -%} From 604e9a6299d1149a9be3587d962eef81e9053a43 Mon Sep 17 00:00:00 2001 From: Volodymyr Sauliak <3429638@gmail.com> Date: Mon, 9 Nov 2020 17:52:19 +0200 Subject: [PATCH 13/19] restructured --- ...06-all-test-cases-should-be-independent.md | 2 +- .../2020-09-06-approaches-of-ui-testing.md | 2 +- ...09-06-naming-conventions-for-test-cases.md | 2 +- ...ests-from-the-test-automation-framework.md | 2 +- ...2020-09-20-never-use-sleep-in-test-code.md | 2 +- _articles/android-frameworks-appium.md | 12 +----- .../nodes/ac_android-frameworks-appium.md | 2 +- _articles/nodes/ac_android-frameworks.md | 2 +- _articles/nodes/ac_android-specific.md | 2 +- _articles/nodes/ac_android.md | 2 +- _articles/nodes/ac_good-practices.md | 2 +- _articles/nodes/ac_naming.md | 2 +- _articles/nodes/ac_platform.md | 2 +- _articles/nodes/ac_ui-testing.md | 2 +- _articles/nodes/ac_web-frameworks.md | 2 +- _articles/nodes/ac_web-tools.md | 2 +- _articles/nodes/ac_web.md | 2 +- .../android-frameworks-compose-testing.md | 2 +- .../nodes/android-frameworks-espresso.md | 2 +- ...android-frameworks-framework-comparison.md | 2 +- _articles/nodes/android-frameworks-kakao.md | 2 +- .../nodes/android-frameworks-kaspresso.md | 2 +- .../nodes/android-frameworks-kautomator.md | 2 +- .../nodes/android-frameworks-uiautomator.md | 2 +- .../nodes/android-specific-adb-commands.md | 2 +- .../nodes/android-specific-best-practices.md | 2 +- _articles/nodes/android-specific-dsl.md | 2 +- ...droid-specific-installing-apk-to-device.md | 2 +- ...pecific-local-and-instrumentation-tests.md | 2 +- _articles/nodes/android-specific-tools.md | 2 +- _articles/nodes/basics.md | 2 +- _articles/nodes/content.md | 2 +- _articles/nodes/development.md | 2 +- _articles/nodes/features.md | 2 +- _articles/nodes/help.md | 2 +- _articles/nodes/translation.md | 2 +- _articles/nodes/web-frameworks-new.md | 2 +- _articles/nodes/web-tools-new.md | 2 +- _config.yml | 11 ++--- _includes/paginate_article.html | 33 +++++++++++++++ _layouts/article.html | 40 +++++++++++++++++++ _layouts/category.html | 2 +- _layouts/{common.html => node.html} | 0 android.md | 16 -------- index.md | 2 +- 45 files changed, 119 insertions(+), 71 deletions(-) create mode 100644 _includes/paginate_article.html create mode 100644 _layouts/article.html rename _layouts/{common.html => node.html} (100%) delete mode 100644 android.md diff --git a/_articles/2020-09-06-all-test-cases-should-be-independent.md b/_articles/2020-09-06-all-test-cases-should-be-independent.md index 8a41dc2..8e3c0bd 100644 --- a/_articles/2020-09-06-all-test-cases-should-be-independent.md +++ b/_articles/2020-09-06-all-test-cases-should-be-independent.md @@ -1,5 +1,5 @@ --- -layout: post +layout: article title: 'All test cases should be independent' description: 'We will explore why independent tests is a good practice and how to achieve this.' categories: [ good-practices] diff --git a/_articles/2020-09-06-approaches-of-ui-testing.md b/_articles/2020-09-06-approaches-of-ui-testing.md index 7134009..5927f36 100644 --- a/_articles/2020-09-06-approaches-of-ui-testing.md +++ b/_articles/2020-09-06-approaches-of-ui-testing.md @@ -1,5 +1,5 @@ --- -layout: post +layout: article title: 'Approaches of UI testing' description: 'Different ways of UI testing can be done: manual testing, record-and-replay testing, and model-based testing. We will explore the pros and cons of each approach.' permalink: /:categories/:title/ diff --git a/_articles/2020-09-06-naming-conventions-for-test-cases.md b/_articles/2020-09-06-naming-conventions-for-test-cases.md index 2184a77..c303b77 100644 --- a/_articles/2020-09-06-naming-conventions-for-test-cases.md +++ b/_articles/2020-09-06-naming-conventions-for-test-cases.md @@ -1,5 +1,5 @@ --- -layout: post +layout: article title: 'Naming conventions for test cases' description: 'We will explore different naming conventions for test cases.' permalink: /:categories/:title/ diff --git a/_articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md b/_articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md index 7ab7e5f..ae57862 100644 --- a/_articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md +++ b/_articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md @@ -1,5 +1,5 @@ --- -layout: post +layout: article title: 'Separate your tests from the test automation framework' description: 'We will explore reasons for separating test cases from the test automation framework.' permalink: /:categories/:title/ diff --git a/_articles/2020-09-20-never-use-sleep-in-test-code.md b/_articles/2020-09-20-never-use-sleep-in-test-code.md index dc9a474..a9a7727 100644 --- a/_articles/2020-09-20-never-use-sleep-in-test-code.md +++ b/_articles/2020-09-20-never-use-sleep-in-test-code.md @@ -1,5 +1,5 @@ --- -layout: post +layout: article title: 'Never use sleep in test code' description: 'We will explore approaches for replacing a sleep method in test cases.' permalink: /:categories/:title/ diff --git a/_articles/android-frameworks-appium.md b/_articles/android-frameworks-appium.md index e9c366f..4ca6b78 100644 --- a/_articles/android-frameworks-appium.md +++ b/_articles/android-frameworks-appium.md @@ -1,17 +1,7 @@ --- title: Appium -layout: post +layout: article permalink: /:categories/:title/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - platform - - android - - frameworks - - appium - matching: all categories: [ platform, android, frameworks, appium] --- diff --git a/_articles/nodes/ac_android-frameworks-appium.md b/_articles/nodes/ac_android-frameworks-appium.md index ab7961f..8ef2716 100644 --- a/_articles/nodes/ac_android-frameworks-appium.md +++ b/_articles/nodes/ac_android-frameworks-appium.md @@ -1,6 +1,6 @@ --- title: Appium -layout: common +layout: node permalink: /:categories/ categories: [ platform, android, frameworks, appium] --- diff --git a/_articles/nodes/ac_android-frameworks.md b/_articles/nodes/ac_android-frameworks.md index 0a4d4c4..ffe662d 100644 --- a/_articles/nodes/ac_android-frameworks.md +++ b/_articles/nodes/ac_android-frameworks.md @@ -2,7 +2,7 @@ title: Android Framework description: Android frameworks, etc icon: cog -layout: common +layout: node categories: [ platform, android, frameworks] permalink: "/:categories/" --- diff --git a/_articles/nodes/ac_android-specific.md b/_articles/nodes/ac_android-specific.md index 2dace8a..f6dd8aa 100644 --- a/_articles/nodes/ac_android-specific.md +++ b/_articles/nodes/ac_android-specific.md @@ -1,6 +1,6 @@ --- title: Android Specific -layout: common +layout: node description: Android Specific, etc icon: code categories: [ platform, android, specific] diff --git a/_articles/nodes/ac_android.md b/_articles/nodes/ac_android.md index 4958c61..54faa48 100644 --- a/_articles/nodes/ac_android.md +++ b/_articles/nodes/ac_android.md @@ -1,6 +1,6 @@ --- title: Android -layout: common +layout: node description: Android Specific, platform etc icon: file-text categories: [ platform, android] diff --git a/_articles/nodes/ac_good-practices.md b/_articles/nodes/ac_good-practices.md index f62fe77..dad8cb4 100644 --- a/_articles/nodes/ac_good-practices.md +++ b/_articles/nodes/ac_good-practices.md @@ -1,6 +1,6 @@ --- title: Good Practices -layout: common +layout: node description: Good practices which can be applied to UI testing. icon: star categories: [ good-practices] diff --git a/_articles/nodes/ac_naming.md b/_articles/nodes/ac_naming.md index c4ce1a3..d2e99ef 100644 --- a/_articles/nodes/ac_naming.md +++ b/_articles/nodes/ac_naming.md @@ -1,6 +1,6 @@ --- title: Naming -layout: common +layout: node description: Naming conventions for test cases. icon: bold categories: [ naming] diff --git a/_articles/nodes/ac_platform.md b/_articles/nodes/ac_platform.md index 35b8cda..8fb5b9e 100644 --- a/_articles/nodes/ac_platform.md +++ b/_articles/nodes/ac_platform.md @@ -1,6 +1,6 @@ --- title: Platform -layout: common +layout: node description: Android WEB, etc icon: code categories: [ platform] diff --git a/_articles/nodes/ac_ui-testing.md b/_articles/nodes/ac_ui-testing.md index e8924cb..128217e 100644 --- a/_articles/nodes/ac_ui-testing.md +++ b/_articles/nodes/ac_ui-testing.md @@ -1,6 +1,6 @@ --- title: UI testing -layout: common +layout: node description: General topics connected with UI testing. icon: file-text categories: [ ui-testing] diff --git a/_articles/nodes/ac_web-frameworks.md b/_articles/nodes/ac_web-frameworks.md index 6eb1c93..756cdb6 100644 --- a/_articles/nodes/ac_web-frameworks.md +++ b/_articles/nodes/ac_web-frameworks.md @@ -1,6 +1,6 @@ --- title: WEB Frameworks -layout: common +layout: node description: WEB Specific, Frameworks, etc icon: settings categories: [ platform, web, frameworks] diff --git a/_articles/nodes/ac_web-tools.md b/_articles/nodes/ac_web-tools.md index 43ac563..0005a7e 100644 --- a/_articles/nodes/ac_web-tools.md +++ b/_articles/nodes/ac_web-tools.md @@ -1,7 +1,7 @@ --- title: WEB tools description: Freelancers, businesses, and professionals all use a range of web tools and services to get their job done. The landscape changes every year, so today’ we’ve collected 45 varied and versatile choices to help you in your job. -layout: common +layout: node icon: settings categories: [ platform, web, tools] permalink: "/:categories/" diff --git a/_articles/nodes/ac_web.md b/_articles/nodes/ac_web.md index bf300b8..680039b 100644 --- a/_articles/nodes/ac_web.md +++ b/_articles/nodes/ac_web.md @@ -1,6 +1,6 @@ --- title: WEB -layout: common +layout: node description: WEB tools, Frameworks, Specific, etc icon: code categories: [ platform, web] diff --git a/_articles/nodes/android-frameworks-compose-testing.md b/_articles/nodes/android-frameworks-compose-testing.md index 03485c0..cc7d2b3 100644 --- a/_articles/nodes/android-frameworks-compose-testing.md +++ b/_articles/nodes/android-frameworks-compose-testing.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /:categories/:title/ pagination: enabled: true diff --git a/_articles/nodes/android-frameworks-espresso.md b/_articles/nodes/android-frameworks-espresso.md index fc00858..f19a70e 100644 --- a/_articles/nodes/android-frameworks-espresso.md +++ b/_articles/nodes/android-frameworks-espresso.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/frameworks/espresso/ pagination: enabled: true diff --git a/_articles/nodes/android-frameworks-framework-comparison.md b/_articles/nodes/android-frameworks-framework-comparison.md index 01b54c9..ba37e0b 100644 --- a/_articles/nodes/android-frameworks-framework-comparison.md +++ b/_articles/nodes/android-frameworks-framework-comparison.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/frameworks/framework-comparison/ pagination: enabled: true diff --git a/_articles/nodes/android-frameworks-kakao.md b/_articles/nodes/android-frameworks-kakao.md index 7cd0ec6..bb7b041 100644 --- a/_articles/nodes/android-frameworks-kakao.md +++ b/_articles/nodes/android-frameworks-kakao.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/frameworks/kakao/ pagination: enabled: true diff --git a/_articles/nodes/android-frameworks-kaspresso.md b/_articles/nodes/android-frameworks-kaspresso.md index a2a34f7..9c606a8 100644 --- a/_articles/nodes/android-frameworks-kaspresso.md +++ b/_articles/nodes/android-frameworks-kaspresso.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/frameworks/kaspresso/ pagination: enabled: true diff --git a/_articles/nodes/android-frameworks-kautomator.md b/_articles/nodes/android-frameworks-kautomator.md index f3f82ca..094a477 100644 --- a/_articles/nodes/android-frameworks-kautomator.md +++ b/_articles/nodes/android-frameworks-kautomator.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/frameworks/kautomator/ pagination: enabled: true diff --git a/_articles/nodes/android-frameworks-uiautomator.md b/_articles/nodes/android-frameworks-uiautomator.md index 92f9754..da2500d 100644 --- a/_articles/nodes/android-frameworks-uiautomator.md +++ b/_articles/nodes/android-frameworks-uiautomator.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/frameworks/uiautomator/ pagination: enabled: true diff --git a/_articles/nodes/android-specific-adb-commands.md b/_articles/nodes/android-specific-adb-commands.md index 7c68589..a9f1919 100644 --- a/_articles/nodes/android-specific-adb-commands.md +++ b/_articles/nodes/android-specific-adb-commands.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/specific/adb-commands/ pagination: enabled: true diff --git a/_articles/nodes/android-specific-best-practices.md b/_articles/nodes/android-specific-best-practices.md index f4c1801..550702e 100644 --- a/_articles/nodes/android-specific-best-practices.md +++ b/_articles/nodes/android-specific-best-practices.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/specific/best-practices/ pagination: enabled: true diff --git a/_articles/nodes/android-specific-dsl.md b/_articles/nodes/android-specific-dsl.md index 8359369..40c5665 100644 --- a/_articles/nodes/android-specific-dsl.md +++ b/_articles/nodes/android-specific-dsl.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/specific/dsl/ pagination: enabled: true diff --git a/_articles/nodes/android-specific-installing-apk-to-device.md b/_articles/nodes/android-specific-installing-apk-to-device.md index e92d6c7..1137d45 100644 --- a/_articles/nodes/android-specific-installing-apk-to-device.md +++ b/_articles/nodes/android-specific-installing-apk-to-device.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/specific/installing-apk-to-device/ pagination: enabled: true diff --git a/_articles/nodes/android-specific-local-and-instrumentation-tests.md b/_articles/nodes/android-specific-local-and-instrumentation-tests.md index ee639a1..74df2ea 100644 --- a/_articles/nodes/android-specific-local-and-instrumentation-tests.md +++ b/_articles/nodes/android-specific-local-and-instrumentation-tests.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/specific/local-and-instrumentation-tests/ pagination: enabled: true diff --git a/_articles/nodes/android-specific-tools.md b/_articles/nodes/android-specific-tools.md index 85487b1..6e3b18d 100644 --- a/_articles/nodes/android-specific-tools.md +++ b/_articles/nodes/android-specific-tools.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /platform/android/specific/tools/ pagination: enabled: true diff --git a/_articles/nodes/basics.md b/_articles/nodes/basics.md index a2c9a96..e511cb6 100644 --- a/_articles/nodes/basics.md +++ b/_articles/nodes/basics.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /setup/basics/ pagination: enabled: true diff --git a/_articles/nodes/content.md b/_articles/nodes/content.md index 3b185c0..a1b294e 100644 --- a/_articles/nodes/content.md +++ b/_articles/nodes/content.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /setup/content/ pagination: enabled: true diff --git a/_articles/nodes/development.md b/_articles/nodes/development.md index 7dd12aa..5325299 100644 --- a/_articles/nodes/development.md +++ b/_articles/nodes/development.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /customization/development/ pagination: enabled: true diff --git a/_articles/nodes/features.md b/_articles/nodes/features.md index 64c7a70..782b934 100644 --- a/_articles/nodes/features.md +++ b/_articles/nodes/features.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /setup/features/ pagination: enabled: true diff --git a/_articles/nodes/help.md b/_articles/nodes/help.md index 5d19d67..22ef9cb 100644 --- a/_articles/nodes/help.md +++ b/_articles/nodes/help.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /customization/help/ pagination: enabled: true diff --git a/_articles/nodes/translation.md b/_articles/nodes/translation.md index ee4fc38..fa85d76 100644 --- a/_articles/nodes/translation.md +++ b/_articles/nodes/translation.md @@ -1,5 +1,5 @@ --- -layout: common +layout: node permalink: /setup/translation/ pagination: enabled: true diff --git a/_articles/nodes/web-frameworks-new.md b/_articles/nodes/web-frameworks-new.md index 7584cdd..44202f6 100644 --- a/_articles/nodes/web-frameworks-new.md +++ b/_articles/nodes/web-frameworks-new.md @@ -1,6 +1,6 @@ --- title: Express -layout: common +layout: node permalink: /platform/web/frameworks/express/ pagination: enabled: true diff --git a/_articles/nodes/web-tools-new.md b/_articles/nodes/web-tools-new.md index 8ead428..39804c6 100644 --- a/_articles/nodes/web-tools-new.md +++ b/_articles/nodes/web-tools-new.md @@ -1,6 +1,6 @@ --- title: Workbox -layout: common +layout: node permalink: /platform/web/tools/workbox/ pagination: enabled: true diff --git a/_config.yml b/_config.yml index 07730da..98566f0 100644 --- a/_config.yml +++ b/_config.yml @@ -88,15 +88,17 @@ disqus: google_analytics: # Pagination Settings -pagination: - enabled: true - per_page: 10 +# pagination: +# enabled: true +# per_page: 6 # permalink: '/page/:num/' # title_suffix: ' - page :num' # limit: 0 # sort_field: 'date' # sort_reverse: true + + # Path to post content assets directory i.e post images, pdfs etc uploads: /uploads/ @@ -123,10 +125,9 @@ collections: output: false changelogs: output: false - common: - output: true articles: output: true + layout: article # Defaults defaults: diff --git a/_includes/paginate_article.html b/_includes/paginate_article.html new file mode 100644 index 0000000..cb1bfba --- /dev/null +++ b/_includes/paginate_article.html @@ -0,0 +1,33 @@ +{% assign items = site.articles | where: 'layout', 'article' %} + +{% if items.size > 1 %} +{% for item in items %} +{% if item.title == page.title %} +{% assign item_index = forloop.index %} +{% endif %} +{% endfor %} + +{% assign prev_index = item_index | plus: 1 %} +{% assign next_index = item_index | minus: 1 %} + +{% for item in items %} +{% if forloop.index == prev_index %} +{% assign prev = item %} +{% endif %} +{% if forloop.index == next_index %} +{% assign next = item %} +{% endif %} +{% endfor %} + +

    + {% if prev %} + + {% endif %} + {% if prev and next %} + | + {% endif %} + {% if next %} + + {% endif %} +

    +{% endif %} \ No newline at end of file diff --git a/_layouts/article.html b/_layouts/article.html new file mode 100644 index 0000000..435af27 --- /dev/null +++ b/_layouts/article.html @@ -0,0 +1,40 @@ +--- +layout: default +--- + +
    +
    + {%- include breadcrumbs.html -%} +
    +
    +
    +

    {{ page.title | escape }}

    + + {% if page.subtitle %} +

    {{ page.subtitle }}

    + {% endif %} +
    + {{ content }} + {% if site.share.post %} + {% include share.html %} + {% endif %} +
    + {% include paginate_article.html %} + {% include related-posts.html %} + {% if site.disqus.shortname %} + {% include disqus_comments.html %} + {% endif %} +
    + +
    +
    +
    +
    diff --git a/_layouts/category.html b/_layouts/category.html index 44fa48d..e290e10 100644 --- a/_layouts/category.html +++ b/_layouts/category.html @@ -4,7 +4,7 @@
    - {% for section in site.data.home_categories %} + {% for section in site.articles %} {% for item in section.categories %} {% if page.url contains item.permalink %} {% assign current_category = item %} diff --git a/_layouts/common.html b/_layouts/node.html similarity index 100% rename from _layouts/common.html rename to _layouts/node.html diff --git a/android.md b/android.md deleted file mode 100644 index e36109c..0000000 --- a/android.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -width: expand -header: - # image: header.jpg - # background: "rgba(0, 0, 0, 0.5)" - # color: light - title: How can we help you? - subtitle: - # search: true ---- - -{% include android_categories.html - columns="3" - section="muted" -%} - diff --git a/index.md b/index.md index ddd5034..b0fe5b4 100644 --- a/index.md +++ b/index.md @@ -9,7 +9,7 @@ header: list_title: General information description: Android frameworks, WEB, Naming, etc icon: -layout: common +layout: node categories: [] --- From 84b97cda80bd9b30d5e73cd40367cb691a5cdfcc Mon Sep 17 00:00:00 2001 From: Volodymyr Sauliak <3429638@gmail.com> Date: Mon, 9 Nov 2020 18:00:44 +0200 Subject: [PATCH 14/19] node --- _articles/2020-09-20-never-use-sleep-in-test-code.md | 1 - _layouts/node.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/_articles/2020-09-20-never-use-sleep-in-test-code.md b/_articles/2020-09-20-never-use-sleep-in-test-code.md index a9a7727..d70b605 100644 --- a/_articles/2020-09-20-never-use-sleep-in-test-code.md +++ b/_articles/2020-09-20-never-use-sleep-in-test-code.md @@ -28,4 +28,3 @@ Sometimes we can face a different approach, when we have to integrate a test fra As you can see, we have more efficient approaches for replacing `sleep` in the test code, and reduce execution time. I recommend you verify conditions multiple times and don't wait until the timeout is over. Note: Many frameworks already have such functions. - diff --git a/_layouts/node.html b/_layouts/node.html index da2b1c2..2804960 100644 --- a/_layouts/node.html +++ b/_layouts/node.html @@ -22,7 +22,7 @@

    {{page.title}}

    {% for p in articles %} {% assign k1 = p.categories.size %} - {%- if p.layout == "common" -%} + {%- if p.layout == "node" -%} {% assign k2 =i | plus: 2 %} {%- else -%} {% assign k2 =i | plus: 1 %} From 4051a41cf5090b63c1443b64e63d4fe203e9fa96 Mon Sep 17 00:00:00 2001 From: Volodymyr Sauliak <3429638@gmail.com> Date: Mon, 9 Nov 2020 22:28:22 +0200 Subject: [PATCH 15/19] some changed as original --- _config.yml | 2 +- _includes/breadcrumbs.html | 12 +++--- _includes/related-articles.html | 32 +++++++++++++++ _layouts/article.html | 3 +- _layouts/home.html | 70 +++++++++++++++++++++++++++++++++ index.md | 2 +- 6 files changed, 111 insertions(+), 10 deletions(-) create mode 100644 _includes/related-articles.html create mode 100644 _layouts/home.html diff --git a/_config.yml b/_config.yml index 98566f0..0cb5ff7 100644 --- a/_config.yml +++ b/_config.yml @@ -10,7 +10,7 @@ description: UI Testing related content lang: en # Site subpath, e.g. /blog -baseurl: "/ui-testing" +baseurl: # Permalink URLs structure, for permalink style options see: https://jekyllrb.com/docs/permalinks/ permalink: /:categories/:title/ diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html index e7b6420..82d76d4 100644 --- a/_includes/breadcrumbs.html +++ b/_includes/breadcrumbs.html @@ -1,12 +1,12 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/_includes/related-articles.html b/_includes/related-articles.html new file mode 100644 index 0000000..fe6c796 --- /dev/null +++ b/_includes/related-articles.html @@ -0,0 +1,32 @@ +
    +

    {{ site.data.translation[site.lang].related_posts | default: "Related Posts" }}

    + + {% assign maxRelated = 4 %} + {% assign minCommonTags = 1 %} + {% assign maxRelatedCounter = 0 %} + +
      + {%- assign posts = site.articles | where: "layout", "article" -%} + {% for post in posts %} + {% assign sameTagCount = 0 %} + {% assign commonTags = '' %} + + {% for category in post.categories %} + {% if post.url != page.url %} + {% if page.categories contains category %} + {% assign sameTagCount = sameTagCount | plus: 1 %} + {% endif %} + {% endif %} + {% endfor %} + + {% if sameTagCount >= minCommonTags %} +
    • {{ post.title }}
    • + {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %} + {% if maxRelatedCounter >= maxRelated %} + {% break %} + {% endif %} + {% endif %} + + {% endfor %} +
    +
    diff --git a/_layouts/article.html b/_layouts/article.html index 435af27..dc0ed0a 100644 --- a/_layouts/article.html +++ b/_layouts/article.html @@ -21,8 +21,7 @@

    {{ page.title | escape }}

    {% include share.html %} {% endif %}
    - {% include paginate_article.html %} - {% include related-posts.html %} + {% include related-articles.html %} {% if site.disqus.shortname %} {% include disqus_comments.html %} {% endif %} diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 0000000..9e5bb54 --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,70 @@ +--- +layout: default +--- + +
    +
    + + {%- if page.header.list_title -%} +

    {{page.header.list_title}}

    + {%- else -%} + {%- include breadcrumbs.html -%} + +

    {{page.title}}

    +

    {{page.description}}

    + {%- endif -%} + + {% assign articles = site.articles %} + {% assign i = page.categories.size | minus: 1 %} + +
    + + {% for p in articles %} + + {% assign k1 = p.categories.size %} + {%- if p.layout == "node" -%} + {% assign k2 =i | plus: 2 %} + {%- else -%} + {% assign k2 =i | plus: 1 %} + {%- endif -%} + + {% if k1 == k2 %} + {%- assign s1 = "" -%} + {%- for l in (0..i) -%} + {%- assign s1 = s1 | append: p.categories[l] -%} + {%- endfor -%} + + {%- assign s2 = page.categories | join: "" -%} + {% if s1 == s2 %} + +
    +
    + +
    +
    + + + + +
    +
    +

    {{p.title}}

    + +

    {{p.description}}

    + +
    +
    +
    +
    + + {% endif %} + + {% endif %} + + {% endfor %} +
    +
    +
    + + {{content}} diff --git a/index.md b/index.md index b0fe5b4..69c69e2 100644 --- a/index.md +++ b/index.md @@ -9,7 +9,7 @@ header: list_title: General information description: Android frameworks, WEB, Naming, etc icon: -layout: node +layout: home categories: [] --- From afbfde199246a51b254c63d51c6662733888fbee Mon Sep 17 00:00:00 2001 From: Volodymyr Sauliak <3429638@gmail.com> Date: Tue, 10 Nov 2020 10:19:54 +0200 Subject: [PATCH 16/19] card style --- .../nodes/ac_android-frameworks-appium.md | 1 + _config.yml | 2 +- _layouts/node.html | 86 +++++++++++++------ 3 files changed, 60 insertions(+), 29 deletions(-) diff --git a/_articles/nodes/ac_android-frameworks-appium.md b/_articles/nodes/ac_android-frameworks-appium.md index 8ef2716..6c45781 100644 --- a/_articles/nodes/ac_android-frameworks-appium.md +++ b/_articles/nodes/ac_android-frameworks-appium.md @@ -1,6 +1,7 @@ --- title: Appium layout: node +icon: cog permalink: /:categories/ categories: [ platform, android, frameworks, appium] --- diff --git a/_config.yml b/_config.yml index 0cb5ff7..7c2c639 100644 --- a/_config.yml +++ b/_config.yml @@ -105,7 +105,7 @@ uploads: /uploads/ # Build settings markdown: kramdown highlighter: rouge - +node_grid: plugins: - jekyll-feed - jekyll-seo-tag diff --git a/_layouts/node.html b/_layouts/node.html index 2804960..26044a7 100644 --- a/_layouts/node.html +++ b/_layouts/node.html @@ -10,23 +10,39 @@

    {{page.header.list_titl {%- else -%} {%- include breadcrumbs.html -%} -

    {{page.title}}

    -

    {{page.description}}

    +
    + +
    + + + + + + +
    + +
    +

    {{page.title}}

    +

    {{page.description}}

    +
    +
    + {%- endif -%} {% assign articles = site.articles %} {% assign i = page.categories.size | minus: 1 %} - +
    {% for p in articles %} {% assign k1 = p.categories.size %} {%- if p.layout == "node" -%} - {% assign k2 =i | plus: 2 %} - {%- else -%} - {% assign k2 =i | plus: 1 %} - {%- endif -%} + {% assign k2 =i | plus: 2 %} + {%- else -%} + {% assign k2 =i | plus: 1 %} + {%- endif -%} {% if k1 == k2 %} {%- assign s1 = "" -%} @@ -38,34 +54,48 @@

    {{page.title}}

    {% if s1 == s2 %}
    +
    - -
    -
    - - - - -
    -
    -

    {{p.title}}

    - -

    {{p.description}}

    + +
    +
    + {%- if p.icon -%} + + + {%- endif -%} +
    +
    +

    {{p.title}}

    +

    {{p.description}}

    + {%- if p.author -%} + {%- assign author = p.author -%} + {%- assign a = site.authors[author] -%} + + + {%- endif -%} +
    -
    - {% endif %} + {% endif %} - {% endif %} + {% endif %} - {% endfor %} -
    + {% endfor %} +
    - {{content}} + {{content}} -
    -
    \ No newline at end of file +
    +
    \ No newline at end of file From 8384a00a084d88686ac4897716d6be52eee2abc5 Mon Sep 17 00:00:00 2001 From: Volodymyr Sauliak <3429638@gmail.com> Date: Tue, 10 Nov 2020 11:14:56 +0200 Subject: [PATCH 17/19] node grid/list style switch --- _config.yml | 2 +- _layouts/node.html | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index 7c2c639..58f74c8 100644 --- a/_config.yml +++ b/_config.yml @@ -105,7 +105,7 @@ uploads: /uploads/ # Build settings markdown: kramdown highlighter: rouge -node_grid: +node_grid: true plugins: - jekyll-feed - jekyll-seo-tag diff --git a/_layouts/node.html b/_layouts/node.html index 26044a7..ba56f78 100644 --- a/_layouts/node.html +++ b/_layouts/node.html @@ -33,7 +33,10 @@

    {{page.title}}

    {% assign articles = site.articles %} {% assign i = page.categories.size | minus: 1 %} -
    +
    {% for p in articles %} @@ -55,8 +58,7 @@

    {{page.title}}

    -
    - +
    From 978e0050866570c63ca01e2aa195297c763f78fe Mon Sep 17 00:00:00 2001 From: Volodymyr Sauliak <3429638@gmail.com> Date: Tue, 10 Nov 2020 11:40:55 +0200 Subject: [PATCH 18/19] icon --- _layouts/node.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/node.html b/_layouts/node.html index ba56f78..4da9e51 100644 --- a/_layouts/node.html +++ b/_layouts/node.html @@ -13,7 +13,7 @@

    {{page.header.list_titl
    - + From 6b77cb26acf220d1746ee390f2b8aebc8a41771d Mon Sep 17 00:00:00 2001 From: Volodymyr Sauliak <3429638@gmail.com> Date: Wed, 11 Nov 2020 22:31:29 +0200 Subject: [PATCH 19/19] search & related articles fixed --- _includes/related-articles.html | 13 ++++++++++--- search.json | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/_includes/related-articles.html b/_includes/related-articles.html index fe6c796..e3d87f7 100644 --- a/_includes/related-articles.html +++ b/_includes/related-articles.html @@ -1,5 +1,5 @@ -
    -

    {{ site.data.translation[site.lang].related_posts | default: "Related Posts" }}

    + + diff --git a/search.json b/search.json index 3abfb1b..d94d7b6 100644 --- a/search.json +++ b/search.json @@ -2,7 +2,7 @@ layout: null --- [ - {% for post in site.posts %} + {% for post in site.articles %} { "title" : "{{ post.title | escape }}", "category" : "{{ post.category }}",