diff --git a/.gitattributes b/.gitattributes index 2136e80..4fadf71 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,14 @@ -jekyll_site/ru/** linguist-language=Java -jekyll_site/en/** linguist-language=Java +jekyll_site/ru/2023/01/** linguist-language=Java +jekyll_site/en/2023/01/** linguist-language=Java + +jekyll_site/ru/2023/02/** linguist-language=Java +jekyll_site/en/2023/02/** linguist-language=Java + +jekyll_site/ru/2023/03/** linguist-language=Java +jekyll_site/en/2023/03/** linguist-language=Java jekyll_site/ru/2023/06/** linguist-language=JavaScript jekyll_site/en/2023/06/** linguist-language=JavaScript + +jekyll_site/ru/2023/08/** linguist-language=Bash +jekyll_site/en/2023/08/** linguist-language=Bash diff --git a/.gitignore b/.gitignore index 42e9bb7..24b5f75 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ *.iml *.zip _site* -.repo_*.sh +.repo_* diff --git a/DIRECTORY-TREE.md b/DIRECTORY-TREE.md deleted file mode 100644 index 94941b1..0000000 --- a/DIRECTORY-TREE.md +++ /dev/null @@ -1,64 +0,0 @@ -## Дерево каталогов - -
-.
-├─ jekyll_site
-│  ├─ _includes
-│  │  ├─ counters_body.html
-│  │  └─ counters_head.html
-│  ├─ css
-│  │  └─ pomodoro5.css
-│  ├─ en
-│  │  ├─ 2023
-│  │  │  ├─ 01
-│  │  │  │  └─ 04
-│  │  │  │     └─ drawing-simple-captcha.md
-│  │  │  ├─ 02
-│  │  │  │  └─ 06
-│  │  │  │     └─ function-graph-in-console.md
-│  │  │  ├─ 03
-│  │  │  │  └─ 08
-│  │  │  │     └─ drawing-heart-in-console.md
-│  │  │  └─ 06
-│  │  │     └─ 20
-│  │  │        └─ password-generator.md
-│  │  └─ index.md
-│  ├─ img
-│  │  ├─ captcha.png
-│  │  ├─ circumference-equation.svg
-│  │  ├─ heart-graph.png
-│  │  ├─ heart-monospaced-plain-22.bmp
-│  │  ├─ rhombus-equation.svg
-│  │  └─ square-equations.svg
-│  ├─ js
-│  │  └─ password-generator.js
-│  ├─ ru
-│  │  ├─ 2023
-│  │  │  ├─ 01
-│  │  │  │  └─ 03
-│  │  │  │     └─ drawing-simple-captcha.md
-│  │  │  ├─ 02
-│  │  │  │  └─ 05
-│  │  │  │     └─ function-graph-in-console.md
-│  │  │  ├─ 03
-│  │  │  │  └─ 08
-│  │  │  │     └─ drawing-heart-in-console.md
-│  │  │  └─ 06
-│  │  │     └─ 19
-│  │  │        └─ password-generator.md
-│  │  └─ index.md
-│  ├─ Gemfile_color
-│  ├─ Gemfile_older
-│  ├─ _config_color.yml
-│  ├─ _config_older.yml
-│  └─ robots.txt
-├─ CONTRIBUTING.md
-├─ DIRECTORY-TREE.md
-├─ LICENSE.md
-├─ OPEN_LICENSE.txt
-├─ README.en.md
-├─ README.md
-├─ build.sh
-├─ package.sh
-└─ serve.sh
-
diff --git a/DIRECTORY_TREE.md b/DIRECTORY_TREE.md new file mode 100644 index 0000000..1e8463a --- /dev/null +++ b/DIRECTORY_TREE.md @@ -0,0 +1,50 @@ +## Дерево каталогов + +
+.
+├─ jekyll_site
+│  ├─ _includes
+│  │  ├─ counters_body.html
+│  │  └─ counters_head.html
+│  ├─ css/pomodoro5.css
+│  ├─ en
+│  │  ├─ 2023
+│  │  │  ├─ 01/04/drawing-simple-captcha.md
+│  │  │  ├─ 02/06/function-graph-in-console.md
+│  │  │  ├─ 03/08/drawing-heart-in-console.md
+│  │  │  ├─ 06/20/password-generator.md
+│  │  │  └─ 08/04/directory-tree.md
+│  │  └─ index.md
+│  ├─ img
+│  │  ├─ captcha.png
+│  │  ├─ circumference-equation.svg
+│  │  ├─ heart-graph.png
+│  │  ├─ heart-monospaced-plain-22.bmp
+│  │  ├─ rhombus-equation.svg
+│  │  └─ square-equations.svg
+│  ├─ js/password-generator.js
+│  ├─ ru
+│  │  ├─ 2023
+│  │  │  ├─ 01/03/drawing-simple-captcha.md
+│  │  │  ├─ 02/05/function-graph-in-console.md
+│  │  │  ├─ 03/08/drawing-heart-in-console.md
+│  │  │  ├─ 06/19/password-generator.md
+│  │  │  └─ 08/03/directory-tree.md
+│  │  └─ index.md
+│  ├─ Gemfile_color
+│  ├─ Gemfile_older
+│  ├─ _config_color.yml
+│  ├─ _config_older.yml
+│  └─ robots.txt
+├─ .gitattributes
+├─ .gitignore
+├─ CONTRIBUTING.md
+├─ DIRECTORY_TREE.md
+├─ LICENSE.md
+├─ OPEN_LICENSE.txt
+├─ README.md
+├─ WIKI.md
+├─ build.sh
+├─ package.sh
+└─ serve.sh
+
diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 8d6d7ab..0000000 --- a/README.en.md +++ /dev/null @@ -1,16 +0,0 @@ -## Website pages - -- [Password generator](https://pomodoro5.mircloud.ru/en/2023/06/20/password-generator.html) — 20.06.2023. -- [Drawing heart in console](https://pomodoro5.mircloud.ru/en/2023/03/08/drawing-heart-in-console.html) — 08.03.2023. -- [Function graph in console](https://pomodoro5.mircloud.ru/en/2023/02/06/function-graph-in-console.html) — 06.02.2023. -- [Drawing simple captcha](https://pomodoro5.mircloud.ru/en/2023/01/04/drawing-simple-captcha.html) — 04.01.2023. - -## [Source texts](README.md) - -- Series of the static websites [«Pomodori»](https://hub.mos.ru/golovin.gg/pomodoro/blob/master/README.en.md). -- Used formats — Markdown, Liquid, YAML. -- Build tool — Jekyll with tomato design themes. -- Automation of processes — Bash scripts for command line. -- [build.sh](build.sh) — Building a site in two tomato themes and optimizing the results. -- [serve.sh](serve.sh) — Local deployment to verify the correctness of the build. -- [package.sh](package.sh) — Preparing an archive for subsequent deployment. diff --git a/README.md b/README.md index eb3b44a..9f13029 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,5 @@ -## Страницы вёб-сайта +## Исходные тексты -- [Генератор паролей](https://pomodoro5.mircloud.ru/ru/2023/06/19/password-generator.html) — 19.06.2023. -- [Рисуем сердечко в консоли](https://pomodoro5.mircloud.ru/ru/2023/03/08/drawing-heart-in-console.html) — 08.03.2023. -- [График функции в консоли](https://pomodoro5.mircloud.ru/ru/2023/02/05/function-graph-in-console.html) — 05.02.2023. -- [Рисуем простую капчу](https://pomodoro5.mircloud.ru/ru/2023/01/03/drawing-simple-captcha.html) — 03.01.2023. - -## [Исходные тексты](README.en.md) - -- Серия статических вёб-сайтов [«Помидоры»](https://hub.mos.ru/golovin.gg/pomodoro/blob/master/README.md). - Используемые форматы — Markdown, Liquid, YAML. - Инструмент сборки — Jekyll с помидорными темами оформления. -- Автоматизация процессов — Bash скрипты для командной строки. -- [build.sh](build.sh) — Сборка сайта в двух помидорных темах и оптимизация результатов. -- [serve.sh](serve.sh) — Локальное развёртывание для проверки корректности сборки. -- [package.sh](package.sh) — Подготовка архива для последующего развёртывания. +- Управление процессами — Bash скрипты. diff --git a/WIKI.md b/WIKI.md new file mode 100644 index 0000000..791aa77 --- /dev/null +++ b/WIKI.md @@ -0,0 +1,31 @@ +
+ +
+

Оглавление

+ +
+ +- [Дерево каталогов со ссылками](https://pomodoro5.mircloud.ru/ru/2023/08/03/directory-tree.html) — 03.08.2023. +- [Генератор паролей](https://pomodoro5.mircloud.ru/ru/2023/06/19/password-generator.html) — 19.06.2023. +- [Рисуем сердечко в консоли](https://pomodoro5.mircloud.ru/ru/2023/03/08/drawing-heart-in-console.html) — 08.03.2023. +- [График функции в консоли](https://pomodoro5.mircloud.ru/ru/2023/02/05/function-graph-in-console.html) — 05.02.2023. +- [Рисуем простую капчу](https://pomodoro5.mircloud.ru/ru/2023/01/03/drawing-simple-captcha.html) — 03.01.2023. + +
+ +
+ +
+

Contents

+ +
+ +- [Directory tree with links](https://pomodoro5.mircloud.ru/en/2023/08/04/directory-tree.html) — 04.08.2023. +- [Password generator](https://pomodoro5.mircloud.ru/en/2023/06/20/password-generator.html) — 20.06.2023. +- [Drawing heart in console](https://pomodoro5.mircloud.ru/en/2023/03/08/drawing-heart-in-console.html) — 08.03.2023. +- [Function graph in console](https://pomodoro5.mircloud.ru/en/2023/02/06/function-graph-in-console.html) — 06.02.2023. +- [Drawing simple captcha](https://pomodoro5.mircloud.ru/en/2023/01/04/drawing-simple-captcha.html) — 04.01.2023. + +
+ +
diff --git a/build.sh b/build.sh index 0a5e572..9450d71 100755 --- a/build.sh +++ b/build.sh @@ -46,6 +46,7 @@ find . -type f -name '*.html' | sort -r | while read -r file; do sed -i 's/ class="language-plaintext highlighter-rouge"//g' "$file" sed -i 's/ class="language-java highlighter-rouge"//g' "$file" sed -i 's/ class="language-js highlighter-rouge"//g' "$file" + sed -i 's/ class="language-bash highlighter-rouge"//g' "$file" sed -i 's/
/
/g' "$file"
   sed -i 's/<\/code><\/pre><\/div><\/div>/<\/code><\/pre><\/div>/g' "$file"
   sed -i 's/
/
/g' "$file" diff --git a/jekyll_site/_includes/counters_head.html b/jekyll_site/_includes/counters_head.html index eeee38e..9f8e8b6 100644 --- a/jekyll_site/_includes/counters_head.html +++ b/jekyll_site/_includes/counters_head.html @@ -1,10 +1,10 @@ - +