From 0ef8f6a64d65974ce8e644105e88d240717b5c29 Mon Sep 17 00:00:00 2001 From: AndreiM Date: Fri, 5 Jul 2024 02:51:35 -0400 Subject: [PATCH] Update to the engine Update to the website engine 3.4 --- README.md | 4 +- docs/intro.md | 6 +- docusaurus.config.js => docusaurus.config.ts | 10 +- i18n/de/code.json | 569 - .../options.json | 14 - .../current.json | 30 - .../architecture.md | 46 - .../Contributing to Juka Project/introdev.md | 32 - .../visitorpattern.md | 13 - .../current/Other Content/faqs.md | 37 - .../current/Other Content/sitemirrors.md | 12 - .../Other Content/troubleshooting-mac.md | 53 - .../current/encrypted.md | 44 - .../current/intro.md | 65 - .../current/n2_install/azure-function.md | 39 - .../current/n2_install/dll.md | 61 - .../current/n2_install/freebsd.md | 34 - .../current/n2_install/index.md | 31 - .../current/n2_install/jupyter.md | 61 - .../current/n2_install/unity.md | 27 - .../current/n2_install/windows_linux_mac.md | 49 - .../current/n3_fundamentals/index.md | 17 - .../current/n3_fundamentals/n10_conditions.md | 76 - .../current/n3_fundamentals/n13_classes.md | 13 - .../current/n3_fundamentals/n2_offline.md | 16 - .../current/n3_fundamentals/n3_download.md | 23 - .../current/n3_fundamentals/n7_hello-world.md | 28 - .../current/n3_fundamentals/n8_variables.md | 51 - .../current/n3_fundamentals/n9_strings.md | 26 - .../current/n4_app_install/android.md | 24 - .../current/n4_app_install/index.md | 20 - .../current/n4_app_install/windows.md | 23 - .../current/n5_online/api.md | 23 - .../current/n5_online/index.md | 26 - i18n/de/docusaurus-theme-classic/footer.json | 78 - i18n/de/docusaurus-theme-classic/navbar.json | 30 - i18n/en/code.json | 162 +- i18n/en/docusaurus-theme-classic/footer.json | 2 +- i18n/es/code.json | 569 - .../options.json | 14 - .../current.json | 30 - .../architecture.md | 46 - .../Contributing to Juka Project/introdev.md | 32 - .../visitorpattern.md | 13 - .../current/Other Content/faqs.md | 37 - .../current/Other Content/sitemirrors.md | 12 - .../Other Content/troubleshooting-mac.md | 53 - .../current/encrypted.md | 44 - .../current/intro.md | 65 - .../current/n2_install/azure-function.md | 39 - .../current/n2_install/dll.md | 62 - .../current/n2_install/freebsd.md | 34 - .../current/n2_install/index.md | 31 - .../current/n2_install/jupyter.md | 61 - .../current/n2_install/unity.md | 27 - .../current/n2_install/windows_linux_mac.md | 49 - .../current/n3_fundamentals/index.md | 17 - .../current/n3_fundamentals/n10_conditions.md | 60 - .../current/n3_fundamentals/n13_classes.md | 13 - .../current/n3_fundamentals/n2_offline.md | 16 - .../current/n3_fundamentals/n3_download.md | 23 - .../current/n3_fundamentals/n7_hello-world.md | 28 - .../current/n3_fundamentals/n8_variables.md | 51 - .../current/n3_fundamentals/n9_strings.md | 26 - .../current/n4_app_install/android.md | 24 - .../current/n4_app_install/index.md | 20 - .../current/n4_app_install/windows.md | 23 - .../current/n5_online/api.md | 23 - .../current/n5_online/index.md | 26 - i18n/es/docusaurus-theme-classic/footer.json | 78 - i18n/es/docusaurus-theme-classic/navbar.json | 30 - i18n/fr/code.json | 569 - .../options.json | 14 - .../current.json | 30 - .../architecture.md | 46 - .../Contributing to Juka Project/introdev.md | 32 - .../visitorpattern.md | 13 - .../current/Other Content/faqs.md | 37 - .../current/Other Content/sitemirrors.md | 12 - .../Other Content/troubleshooting-mac.md | 53 - .../current/encrypted.md | 44 - .../current/intro.md | 65 - .../current/n2_install/azure-function.md | 39 - .../current/n2_install/dll.md | 62 - .../current/n2_install/freebsd.md | 34 - .../current/n2_install/index.md | 31 - .../current/n2_install/jupyter.md | 61 - .../current/n2_install/unity.md | 27 - .../current/n2_install/windows_linux_mac.md | 49 - .../current/n3_fundamentals/index.md | 17 - .../current/n3_fundamentals/n10_conditions.md | 76 - .../current/n3_fundamentals/n13_classes.md | 13 - .../current/n3_fundamentals/n2_offline.md | 16 - .../current/n3_fundamentals/n3_download.md | 23 - .../current/n3_fundamentals/n7_hello-world.md | 28 - .../current/n3_fundamentals/n8_variables.md | 51 - .../current/n3_fundamentals/n9_strings.md | 26 - .../current/n4_app_install/android.md | 24 - .../current/n4_app_install/index.md | 20 - .../current/n4_app_install/windows.md | 23 - .../current/n5_online/api.md | 23 - .../current/n5_online/index.md | 26 - i18n/fr/docusaurus-theme-classic/footer.json | 78 - i18n/fr/docusaurus-theme-classic/navbar.json | 30 - i18n/ru/code.json | 569 - .../options.json | 14 - .../current.json | 30 - .../architecture.md | 46 - .../Contributing to Juka Project/introdev.md | 32 - .../visitorpattern.md | 13 - .../current/Other Content/faqs.md | 37 - .../current/Other Content/sitemirrors.md | 12 - .../Other Content/troubleshooting-mac.md | 53 - .../current/encrypted.md | 44 - .../current/intro.md | 65 - .../current/n2_install/azure-function.md | 39 - .../current/n2_install/dll.md | 62 - .../current/n2_install/freebsd.md | 34 - .../current/n2_install/index.md | 31 - .../current/n2_install/jupyter.md | 61 - .../current/n2_install/unity.md | 27 - .../current/n2_install/windows_linux_mac.md | 49 - .../current/n3_fundamentals/index.md | 17 - .../current/n3_fundamentals/n10_conditions.md | 76 - .../current/n3_fundamentals/n13_classes.md | 13 - .../current/n3_fundamentals/n2_offline.md | 16 - .../current/n3_fundamentals/n3_download.md | 23 - .../current/n3_fundamentals/n7_hello-world.md | 28 - .../current/n3_fundamentals/n8_variables.md | 51 - .../current/n3_fundamentals/n9_strings.md | 26 - .../current/n4_app_install/android.md | 24 - .../current/n4_app_install/index.md | 20 - .../current/n4_app_install/windows.md | 23 - .../current/n5_online/api.md | 23 - .../current/n5_online/index.md | 26 - i18n/ru/docusaurus-theme-classic/footer.json | 78 - i18n/ru/docusaurus-theme-classic/navbar.json | 30 - i18n/zh/code.json | 569 - .../options.json | 14 - .../current.json | 30 - .../architecture.md | 46 - .../Contributing to Juka Project/introdev.md | 32 - .../visitorpattern.md | 13 - .../current/Other Content/faqs.md | 37 - .../current/Other Content/sitemirrors.md | 12 - .../Other Content/troubleshooting-mac.md | 53 - .../current/encrypted.md | 44 - .../current/intro.md | 65 - .../current/n2_install/azure-function.md | 39 - .../current/n2_install/dll.md | 62 - .../current/n2_install/freebsd.md | 34 - .../current/n2_install/index.md | 31 - .../current/n2_install/jupyter.md | 61 - .../current/n2_install/unity.md | 27 - .../current/n2_install/windows_linux_mac.md | 49 - .../current/n3_fundamentals/index.md | 17 - .../current/n3_fundamentals/n10_conditions.md | 61 - .../current/n3_fundamentals/n13_classes.md | 13 - .../current/n3_fundamentals/n2_offline.md | 16 - .../current/n3_fundamentals/n3_download.md | 23 - .../current/n3_fundamentals/n7_hello-world.md | 27 - .../current/n3_fundamentals/n8_variables.md | 51 - .../current/n3_fundamentals/n9_strings.md | 26 - .../current/n4_app_install/android.md | 24 - .../current/n4_app_install/index.md | 20 - .../current/n4_app_install/windows.md | 23 - .../current/n5_online/api.md | 23 - .../current/n5_online/index.md | 26 - i18n/zh/docusaurus-theme-classic/footer.json | 78 - i18n/zh/docusaurus-theme-classic/navbar.json | 30 - package-lock.json | 11287 +++++++++------- package.json | 28 +- src/css/custom.css | 3 +- src/utils/colorUtils.ts | 127 + src/utils/jsUtils.ts | 29 + src/utils/prismDark.ts | 81 + src/utils/prismLight.ts | 102 + update.bat | 2 +- 178 files changed, 7221 insertions(+), 13049 deletions(-) rename docusaurus.config.js => docusaurus.config.ts (97%) delete mode 100644 i18n/de/code.json delete mode 100644 i18n/de/docusaurus-plugin-content-blog/options.json delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current.json delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/Contributing to Juka Project/architecture.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/Contributing to Juka Project/introdev.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/Contributing to Juka Project/visitorpattern.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/Other Content/faqs.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/Other Content/sitemirrors.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/Other Content/troubleshooting-mac.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/encrypted.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/intro.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n2_install/azure-function.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n2_install/dll.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n2_install/freebsd.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n2_install/index.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n2_install/jupyter.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n2_install/unity.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n2_install/windows_linux_mac.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n3_fundamentals/index.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n3_fundamentals/n10_conditions.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n3_fundamentals/n13_classes.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n3_fundamentals/n2_offline.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n3_fundamentals/n3_download.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n3_fundamentals/n7_hello-world.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n3_fundamentals/n8_variables.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n3_fundamentals/n9_strings.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n4_app_install/android.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n4_app_install/index.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n4_app_install/windows.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n5_online/api.md delete mode 100644 i18n/de/docusaurus-plugin-content-docs/current/n5_online/index.md delete mode 100644 i18n/de/docusaurus-theme-classic/footer.json delete mode 100644 i18n/de/docusaurus-theme-classic/navbar.json delete mode 100644 i18n/es/code.json delete mode 100644 i18n/es/docusaurus-plugin-content-blog/options.json delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current.json delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/Contributing to Juka Project/architecture.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/Contributing to Juka Project/introdev.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/Contributing to Juka Project/visitorpattern.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/Other Content/faqs.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/Other Content/sitemirrors.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/Other Content/troubleshooting-mac.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/encrypted.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/intro.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n2_install/azure-function.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n2_install/dll.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n2_install/freebsd.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n2_install/index.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n2_install/jupyter.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n2_install/unity.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n2_install/windows_linux_mac.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n3_fundamentals/index.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n3_fundamentals/n10_conditions.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n3_fundamentals/n13_classes.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n3_fundamentals/n2_offline.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n3_fundamentals/n3_download.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n3_fundamentals/n7_hello-world.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n3_fundamentals/n8_variables.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n3_fundamentals/n9_strings.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n4_app_install/android.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n4_app_install/index.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n4_app_install/windows.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n5_online/api.md delete mode 100644 i18n/es/docusaurus-plugin-content-docs/current/n5_online/index.md delete mode 100644 i18n/es/docusaurus-theme-classic/footer.json delete mode 100644 i18n/es/docusaurus-theme-classic/navbar.json delete mode 100644 i18n/fr/code.json delete mode 100644 i18n/fr/docusaurus-plugin-content-blog/options.json delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current.json delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/Contributing to Juka Project/architecture.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/Contributing to Juka Project/introdev.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/Contributing to Juka Project/visitorpattern.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/Other Content/faqs.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/Other Content/sitemirrors.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/Other Content/troubleshooting-mac.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/encrypted.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/intro.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n2_install/azure-function.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n2_install/dll.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n2_install/freebsd.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n2_install/index.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n2_install/jupyter.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n2_install/unity.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n2_install/windows_linux_mac.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n3_fundamentals/index.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n3_fundamentals/n10_conditions.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n3_fundamentals/n13_classes.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n3_fundamentals/n2_offline.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n3_fundamentals/n3_download.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n3_fundamentals/n7_hello-world.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n3_fundamentals/n8_variables.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n3_fundamentals/n9_strings.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n4_app_install/android.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n4_app_install/index.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n4_app_install/windows.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n5_online/api.md delete mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/n5_online/index.md delete mode 100644 i18n/fr/docusaurus-theme-classic/footer.json delete mode 100644 i18n/fr/docusaurus-theme-classic/navbar.json delete mode 100644 i18n/ru/code.json delete mode 100644 i18n/ru/docusaurus-plugin-content-blog/options.json delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current.json delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/Contributing to Juka Project/architecture.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/Contributing to Juka Project/introdev.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/Contributing to Juka Project/visitorpattern.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/Other Content/faqs.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/Other Content/sitemirrors.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/Other Content/troubleshooting-mac.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/encrypted.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/intro.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n2_install/azure-function.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n2_install/dll.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n2_install/freebsd.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n2_install/index.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n2_install/jupyter.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n2_install/unity.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n2_install/windows_linux_mac.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n3_fundamentals/index.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n3_fundamentals/n10_conditions.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n3_fundamentals/n13_classes.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n3_fundamentals/n2_offline.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n3_fundamentals/n3_download.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n3_fundamentals/n7_hello-world.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n3_fundamentals/n8_variables.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n3_fundamentals/n9_strings.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n4_app_install/android.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n4_app_install/index.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n4_app_install/windows.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n5_online/api.md delete mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/n5_online/index.md delete mode 100644 i18n/ru/docusaurus-theme-classic/footer.json delete mode 100644 i18n/ru/docusaurus-theme-classic/navbar.json delete mode 100644 i18n/zh/code.json delete mode 100644 i18n/zh/docusaurus-plugin-content-blog/options.json delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current.json delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/Contributing to Juka Project/architecture.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/Contributing to Juka Project/introdev.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/Contributing to Juka Project/visitorpattern.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/Other Content/faqs.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/Other Content/sitemirrors.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/Other Content/troubleshooting-mac.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/encrypted.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/intro.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n2_install/azure-function.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n2_install/dll.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n2_install/freebsd.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n2_install/index.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n2_install/jupyter.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n2_install/unity.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n2_install/windows_linux_mac.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n3_fundamentals/index.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n3_fundamentals/n10_conditions.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n3_fundamentals/n13_classes.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n3_fundamentals/n2_offline.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n3_fundamentals/n3_download.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n3_fundamentals/n7_hello-world.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n3_fundamentals/n8_variables.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n3_fundamentals/n9_strings.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n4_app_install/android.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n4_app_install/index.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n4_app_install/windows.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n5_online/api.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/n5_online/index.md delete mode 100644 i18n/zh/docusaurus-theme-classic/footer.json delete mode 100644 i18n/zh/docusaurus-theme-classic/navbar.json create mode 100644 src/utils/colorUtils.ts create mode 100644 src/utils/jsUtils.ts create mode 100644 src/utils/prismDark.ts create mode 100644 src/utils/prismLight.ts diff --git a/README.md b/README.md index b66c95a0..178b07c3 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Use the following services to test your changes for Juka website before creating # Juka Programming Language -Juka Programming Language website is built on top of [Docusaurus 2](https://docusaurus.io/). +Juka Programming Language website is built on top of [Docusaurus 3](https://docusaurus.io/). Feel free to contribute to our website! Please edit "docs/*.md" files. Any help is appreciated! @@ -31,7 +31,7 @@ Any help is appreciated! #### Requirements ```jsx -Node.js version 16.14+ +Node.js version 18+ ``` You might need to install dependencies by running npm install in the home directory diff --git a/docs/intro.md b/docs/intro.md index 91c4f1f2..5cd03a34 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -31,7 +31,7 @@ Join our Discord Community: https://discord.gg/MsKWsErzfp - Linux (x86/x64) (CentOS, Debian, Fedora, Ubuntu, TinyCore, and almost any other type of Linux) - Linux ARM (ARM64 and ARM32) (Linux Distributions that run ARM e.g. Raspberry Pi Model 2+) - MacOS (macOS 10.12+) -- FreeBSD/UNIX (FreeBSD 11+) +- FreeBSD/UNIX (FreeBSD 11+ x64 (no demand for Arm64?)) - Azure (Microsoft Azure Function) - HTTPS/API (JukaAPI server) - Docker (JukaAPI) @@ -41,10 +41,10 @@ Join our Discord Community: https://discord.gg/MsKWsErzfp - [Jupyter via juka-kernel](https://github.com/jukaLang/juka-kernel) - [Virtual Box Image (JukaVM)](https://github.com/jukaLang/jukaVM) - [Windows App (Windows 10+)](https://github.com/jukaLang/JukaApp) -- Android App (Can be sideloaded , but not in PlayStore yet) +- Android App (Can be sideloaded [https://jukalang.com/download](https://jukalang.com/download), but not in PlayStore yet) - Discord Bot (Working, but is not currently hosted) - Telegram Bot (Working, but is not currently hosted) -- Amazon Fire (HD) (Can be sideloaded , but not in Amazon AppStore yet) +- Amazon Fire (HD) (Can be sideloaded [https://jukalang.com/download](https://jukalang.com/download), but not in Amazon AppStore yet) ## Coming Soon: diff --git a/docusaurus.config.js b/docusaurus.config.ts similarity index 97% rename from docusaurus.config.js rename to docusaurus.config.ts index 6bea6a2c..44680998 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.ts @@ -1,8 +1,8 @@ // @ts-check // Note: type annotations allow type checking and IDEs autocompletion -const lightCodeTheme = require('prism-react-renderer/themes/github'); -const darkCodeTheme = require('prism-react-renderer/themes/dracula'); +import PrismLight from './src/utils/prismLight'; +import PrismDark from './src/utils/prismDark'; /** @type {import('@docusaurus/types').Config} */ const config = { @@ -28,7 +28,7 @@ const config = { injectHtmlTags() { return { postBodyTags: [` -