From 0693c637ca75de12d7163018bcb2115a5661a3e0 Mon Sep 17 00:00:00 2001
From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
Date: Mon, 30 Sep 2024 21:47:30 -0400
Subject: [PATCH] feat(layout): add crowdin widget
---
doxyconfig-Doxyfile | 4 ++++
doxyconfig-header.html | 6 ++++++
package.json | 3 ++-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/doxyconfig-Doxyfile b/doxyconfig-Doxyfile
index dcf8f76..eac8013 100644
--- a/doxyconfig-Doxyfile
+++ b/doxyconfig-Doxyfile
@@ -51,6 +51,10 @@ HTML_HEADER = doxyconfig-header.html
HTML_EXTRA_FILES += doxyconfig-readthedocs-search.js
HTML_EXTRA_STYLESHEET += doxyconfig.css
+# @lizardbyte/shared-web
+HTML_EXTRA_FILES += ../node_modules/@lizardbyte/shared-web/dist/crowdin.js
+HTML_EXTRA_STYLESHEET += ../node_modules/@lizardbyte/shared-web/dist/crowdin-doxygen-css.css
+
# custom aliases
ALIASES = ""
ALIASES += "examples=^^**Examples**^^@code{.cpp}"
diff --git a/doxyconfig-header.html b/doxyconfig-header.html
index 1aec66e..a61f7b6 100644
--- a/doxyconfig-header.html
+++ b/doxyconfig-header.html
@@ -29,6 +29,12 @@
+
+
+
+
diff --git a/package.json b/package.json
index dc77ffa..457915e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,7 @@
{
"dependencies": {
- "@fortawesome/fontawesome-free": "6.7.2"
+ "@fortawesome/fontawesome-free": "6.7.2",
+ "@lizardbyte/shared-web": "2025.326.11214"
},
"devDependencies": {
"jquery": "^3.7.1"