diff --git a/config.toml b/config.toml index 455378b..da46161 100644 --- a/config.toml +++ b/config.toml @@ -2,15 +2,15 @@ baseURL = "/" languageCode = "en-US" defaultContentLanguage = "en" -title = "Hugo Learn Documentation" +title = "RustDesk Documentation" theme = "hugo-theme-learn" metaDataFormat = "yaml" defaultContentLanguageInSubdir= true [params] - editURL = "https://github.com/matcornic/hugo-theme-learn/edit/master/exampleSite/content/" - description = "Documentation for Hugo Learn Theme" - author = "Mathieu Cornic" + editURL = "https://github.com/rustdesk/doc.rustdesk.com/edit/master/content/" + description = "Documentation for RustDesk" + author = "RustDesk" showVisitedLinks = true disableBreadcrumb = false disableNextPrev = false @@ -18,13 +18,15 @@ defaultContentLanguageInSubdir= true disableMermaid = false customMermaidURL = "https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js" titleSeparator = "::" + themeVariant = "blue" + custom_css = ["css/theme-mine.css"] [outputs] home = [ "HTML", "RSS", "JSON"] [Languages] [Languages.en] -title = "Documentation for Hugo Learn Theme" +title = "Documentation for RustDesk" weight = 1 languageName = "English" landingPageURL = "/en" @@ -33,27 +35,11 @@ landingPageName = " Home" [[Languages.en.menu.shortcuts]] name = " GitHub repo" identifier = "ds" -url = "https://github.com/matcornic/hugo-theme-learn" +url = "https://github.com/rustdesk/rustdesk" weight = 10 -[[Languages.en.menu.shortcuts]] -name = " Showcases" -url = "showcase" -weight = 11 - -[[Languages.en.menu.shortcuts]] -name = " Hugo Documentation" -identifier = "hugodoc" -url = "https://gohugo.io/" -weight = 20 - -[[Languages.en.menu.shortcuts]] -name = " Credits" -url = "/credits" -weight = 30 - [Languages.fr] -title = "Documentation du thème Hugo Learn" +title = "Documentation du RustDesk" weight = 2 languageName = "Français" landingPageURL = "/fr" @@ -62,27 +48,11 @@ landingPageName = " Accueil" [[Languages.fr.menu.shortcuts]] name = " Repo GitHub" identifier = "ds" -url = "https://github.com/matcornic/hugo-theme-learn" +url = "https://github.com/rustdesk/rustdesk" weight = 10 -[[Languages.fr.menu.shortcuts]] -name = " Vitrine" -url = "/showcase" -weight = 11 - -[[Languages.fr.menu.shortcuts]] -name = " Documentation Hugo" -identifier = "hugodoc" -url = "https://gohugo.io/" -weight = 20 - -[[Languages.fr.menu.shortcuts]] -name = " Crédits" -url = "/credits" -weight = 30 - [Languages.zh] -title = "Hugo 主题的 Learn 文档" +title = "RustDesk文档" weight = 3 languageName = "简体中文" landingPageURL = "/zh" @@ -91,21 +61,5 @@ landingPageName = " 家" [[Languages.zh.menu.shortcuts]] name = " GitHub 仓库" identifier = "ds" -url = "https://github.com/matcornic/hugo-theme-learn" +url = "https://github.com/rustdesk/rustdesk" weight = 10 - -[[Languages.zh.menu.shortcuts]] -name = " 展示区" -url = "/showcase" -weight = 11 - -[[Languages.zh.menu.shortcuts]] -name = " Hugo 文档" -identifier = "hugodoc" -url = "https://gohugo.io/" -weight = 20 - -[[Languages.zh.menu.shortcuts]] -name = " 鸣谢" -url = "/credits" -weight = 30 diff --git a/content/credits.en.md b/content/credits.en.md deleted file mode 100644 index 8942b41..0000000 --- a/content/credits.en.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: Credits -disableToc: true ---- - -## Contributors - -Thanks to them for making Open Source Software a better place ! - -{{% ghcontributors "https://api.github.com/repos/matcornic/hugo-theme-learn/contributors?per_page=100" %}} - -And a special thanks to [@vjeantet](https://github.com/vjeantet) for his work on [docdock](https://github.com/vjeantet/hugo-theme-docdock), a fork of hugo-theme-learn. v2.0.0 of this theme is inspired by his work. - -## Packages and libraries -* [mermaid](https://mermaid-js.github.io/) - generation of diagram and flowchart from text in a similar manner as markdown -* [font awesome](http://fontawesome.io/) - the iconic font and CSS framework -* [jQuery](https://jquery.com) - The Write Less, Do More, JavaScript Library -* [lunr](https://lunrjs.com) - Lunr enables you to provide a great search experience without the need for external, server-side, search services... -* [horsey](https://bevacqua.github.io/horsey/) - Progressive and customizable autocomplete component -* [clipboard.js](https://zenorocha.github.io/clipboard.js) - copy text to clipboard -* [highlight.js](https://highlightjs.org) - Javascript syntax highlighter -* [modernizr](https://modernizr.com) - A JavaScript toolkit that allows web developers to use new CSS3 and HTML5 features while maintaining a fine level of control over browsers that don't support - -## Tooling - -* [Netlify](https://www.netlify.com) - Continuous deployement and hosting of this documentation -* [Hugo](https://gohugo.io/) - diff --git a/content/credits.fr.md b/content/credits.fr.md deleted file mode 100644 index 23a1c3d..0000000 --- a/content/credits.fr.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: Crédits -disableToc: true ---- - -## Contributeurs - -Merci à eux de rendre le monde Open Source meilleur ! - -{{% ghcontributors "https://api.github.com/repos/matcornic/hugo-theme-learn/contributors?per_page=100" %}} - -Et un grand merci à [@vjeantet](https://github.com/vjeantet) pour son travail sur [docdock](https://github.com/vjeantet/hugo-theme-docdock), un fork de _hugo-theme-learn_. La v2.0.0 du thème est en grande partie inspirée de son travail. - -## Packages et librairies -* [mermaid](https://mermaid-js.github.io/) - géneration de diagrames et graphiques à partir de texte similaire à Markdown -* [font awesome](http://fontawesome.io/) - Le framework de polices iconiques -* [jQuery](https://jquery.com) - La plus connue des librairies Javascript -* [lunr](https://lunrjs.com) - Lunr fournit des fonctions de recherche sans service externe -* [horsey](https://bevacqua.github.io/horsey/) - Autocomplétion de composants (utiliser pour les suggestions de recherche) -* [clipboard.js](https://zenorocha.github.io/clipboard.js) - Copier le texte dans le presse-papier -* [highlight.js](https://highlightjs.org) - Mise en valeur de syntaxes -* [modernizr](https://modernizr.com) - Une boite à outil Javascript qui permet aux développeurs d'utiliser les dernières fonctionnalités de CSS et HTML5, même sur de vieux navigateurs. - -## Outils - -* [Netlify](https://www.netlify.com) - Déploiement continue et hébergement de cette documentation -* [Hugo](https://gohugo.io/) - diff --git a/content/showcase.en.md b/content/showcase.en.md deleted file mode 100644 index 4d06d8b..0000000 --- a/content/showcase.en.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Showcase -disableToc: true ---- - -#### [TAT](https://ovh.github.io/tat/overview/) by OVH -![TAT image](/images/showcase/tat.png?width=50pc) - -#### [Tshark.dev](https://tshark.dev) by Ross Jacobs -![Tshark.dev image](/images/showcase/tshark_dev.png?width=50pc) - -#### [inteliver](https://docs.inteliver.com) by Amir Lavasani -![docs.inteliver.com image](/images/showcase/inteliver_docs.png?width=50pc) \ No newline at end of file diff --git a/content/showcase.fr.md b/content/showcase.fr.md deleted file mode 100644 index fcb9d7f..0000000 --- a/content/showcase.fr.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Vitrine -disableToc: true -slug: vitrine ---- - -#### [TAT](https://ovh.github.io/tat/overview/) par OVH -![TAT image](/images/showcase/tat.png?width=50pc) - -#### [Tshark.dev](https://tshark.dev) par Ross Jacobs -![Tshark.dev image](/images/showcase/tshark_dev.png?width=50pc) - -#### [inteliver](https://docs.inteliver.com) by Amir Lavasani -![docs.inteliver.com image](/images/showcase/inteliver_docs.png?width=50pc) \ No newline at end of file diff --git a/layouts/partials/custom-footer.html b/layouts/partials/custom-footer.html index 50e11eb..e70e3e5 100644 --- a/layouts/partials/custom-footer.html +++ b/layouts/partials/custom-footer.html @@ -1,10 +1,9 @@ + + \ No newline at end of file diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html index e1ef57c..987a48b 100644 --- a/layouts/partials/logo.html +++ b/layouts/partials/logo.html @@ -1,39 +1,6 @@ - - - + + RustDesk diff --git a/layouts/partials/menu-footer.html b/layouts/partials/menu-footer.html index 5a35bd0..70ead20 100644 --- a/layouts/partials/menu-footer.html +++ b/layouts/partials/menu-footer.html @@ -1,14 +1,3 @@
Thanks for hugo-theme-learn