disable search (not work in prod)

This commit is contained in:
rustdesk 2022-04-12 04:43:47 +08:00
parent d011469264
commit a07c8c62c2
2 changed files with 9 additions and 13 deletions

View File

@ -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 = "<i class='fas fa-home'></i> Home"
[[Languages.en.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> 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 = "<i class='fas fa-home'></i> ホームページ"
[[Languages.fr.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> 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 = "<i class='fas fa-home'></i> 首頁"
[[Languages.zh.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> GitHub 仓库"
[[menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> GitHub"
identifier = "ds"
url = "https://github.com/rustdesk/rustdesk"
weight = 10

6
deploy.sh Executable file
View File

@ -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 -