diff --git a/config.toml b/config.toml index f9efd8b..8c0aa4c 100644 --- a/config.toml +++ b/config.toml @@ -12,6 +12,7 @@ defaultContentLanguageInSubdir= true description = "Documentation for RustDesk" author = "RustDesk" showVisitedLinks = true + disableSearch = true disableBreadcrumb = false disableNextPrev = false disableLandingPageButton = true @@ -31,12 +32,6 @@ weight = 1 languageName = "English" landingPageName = " Home" -[[Languages.en.menu.shortcuts]] -name = " GitHub repo" -identifier = "ds" -url = "https://github.com/rustdesk/rustdesk" -weight = 10 - [Languages.fr] title = "Documentation du RustDesk" weight = 2 @@ -73,11 +68,6 @@ weight = 2 languageName = "日本語" landingPageName = " ホームページ" -[[Languages.fr.menu.shortcuts]] -name = " Repo GitHub" -url = "https://github.com/rustdesk/rustdesk" -weight = 10 - [Languages.zh-cn] title = "RustDesk文档" weight = 3 @@ -90,8 +80,8 @@ weight = 3 languageName = "繁體中文" landingPageName = " 首頁" -[[Languages.zh.menu.shortcuts]] -name = " GitHub 仓库" +[[menu.shortcuts]] +name = " GitHub" identifier = "ds" url = "https://github.com/rustdesk/rustdesk" weight = 10 diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..190ec76 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +cd public; tar czf x * +scp x sg:/tmp/ +ssh sg "sudo tar xzf /tmp/x -C /var/www/html/rustdesk.com/docs/ && /bin/rm /tmp/x && sudo chown www-data:www-data /var/www/html/rustdesk.com/docs/ -R" +/bin/rm x +cd -