From d0ed60519442fe571ca47f3905f1db45cc8ae5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9?= Date: Wed, 29 Jan 2025 08:30:11 +0100 Subject: [PATCH] fix docs sync bug --- .github/scripts/sync_docs.sh | 6 +++--- docs/extra/faq.md | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/scripts/sync_docs.sh b/.github/scripts/sync_docs.sh index fcdab86c4d..e350be21da 100755 --- a/.github/scripts/sync_docs.sh +++ b/.github/scripts/sync_docs.sh @@ -20,10 +20,10 @@ git clone https://${TOKEN}@${REPO_URL} fiber-docs # Handle push event if [ "$EVENT" == "push" ]; then latest_commit=$(git rev-parse --short HEAD) - log_output=$(git log --oneline ${BRANCH} HEAD~1..HEAD --name-status -- docs/) - if [[ $log_output != "" ]]; then + #log_output=$(git log --oneline ${BRANCH} HEAD~1..HEAD --name-status -- docs/) + #if [[ $log_output != "" ]]; then cp -a docs/* fiber-docs/docs/${REPO_DIR} - fi + #fi # Handle release event elif [ "$EVENT" == "release" ]; then diff --git a/docs/extra/faq.md b/docs/extra/faq.md index 3e48c89e70..d29b20d23f 100644 --- a/docs/extra/faq.md +++ b/docs/extra/faq.md @@ -83,12 +83,12 @@ Fiber currently supports 9 template engines in our [gofiber/template](https://do * [ace](https://docs.gofiber.io/template/ace/) * [amber](https://docs.gofiber.io/template/amber/) * [django](https://docs.gofiber.io/template/django/) -* [handlebars](https://docs.gofiber.io/template/handlebars) -* [html](https://docs.gofiber.io/template/html) -* [jet](https://docs.gofiber.io/template/jet) -* [mustache](https://docs.gofiber.io/template/mustache) -* [pug](https://docs.gofiber.io/template/pug) -* [slim](https://docs.gofiber.io/template/slim) +* [handlebars](https://docs.gofiber.io/template/handlebars/) +* [html](https://docs.gofiber.io/template/html/) +* [jet](https://docs.gofiber.io/template/jet/) +* [mustache](https://docs.gofiber.io/template/mustache/) +* [pug](https://docs.gofiber.io/template/pug/) +* [slim](https://docs.gofiber.io/template/slim/) To learn more about using Templates in Fiber, see [Templates](../guide/templates.md).