summaryrefslogtreecommitdiffstats
path: root/docs/content/doc
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-11-13 12:03:18 -0600
committerzeripath <art27@cantab.net>2019-11-13 18:03:18 +0000
commit3b0303a4fcbb8b8fda258e11edb3fd3c5c09396e (patch)
tree40bb579e03bc20b52fb2f6b82d078e325e0dd378 /docs/content/doc
parentafe50873a5d6b52177b0cd6bc9d2657faf82f311 (diff)
downloadgitea-3b0303a4fcbb8b8fda258e11edb3fd3c5c09396e.tar.gz
gitea-3b0303a4fcbb8b8fda258e11edb3fd3c5c09396e.zip
Implement documentation search (#8937)
* Implement documentation search Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Diffstat (limited to 'docs/content/doc')
-rw-r--r--docs/content/doc/help.en-us.md4
-rw-r--r--docs/content/doc/help.fr-fr.md13
-rw-r--r--docs/content/doc/help.zh-cn.md4
-rw-r--r--docs/content/doc/help.zh-tw.md13
-rw-r--r--docs/content/doc/help/search.en-us.md25
-rw-r--r--docs/content/doc/help/search.fr-fr.md25
-rw-r--r--docs/content/doc/help/search.zh-cn.md25
-rw-r--r--docs/content/doc/help/search.zh-tw.md25
8 files changed, 130 insertions, 4 deletions
diff --git a/docs/content/doc/help.en-us.md b/docs/content/doc/help.en-us.md
index 5ad1dd7f1e..635cb8931e 100644
--- a/docs/content/doc/help.en-us.md
+++ b/docs/content/doc/help.en-us.md
@@ -2,12 +2,12 @@
date: "2017-01-20T15:00:00+08:00"
title: "Help"
slug: "help"
-weight: 50
+weight: 5
toc: false
draft: false
menu:
sidebar:
name: "Help"
- weight: 50
+ weight: 5
identifier: "help"
---
diff --git a/docs/content/doc/help.fr-fr.md b/docs/content/doc/help.fr-fr.md
new file mode 100644
index 0000000000..ab0cedccfc
--- /dev/null
+++ b/docs/content/doc/help.fr-fr.md
@@ -0,0 +1,13 @@
+---
+date: "2017-01-20T15:00:00+08:00"
+title: "Aide"
+slug: "help"
+weight: 5
+toc: false
+draft: false
+menu:
+ sidebar:
+ name: "Aide"
+ weight: 5
+ identifier: "help"
+---
diff --git a/docs/content/doc/help.zh-cn.md b/docs/content/doc/help.zh-cn.md
index 6af7aa1719..9465cd5464 100644
--- a/docs/content/doc/help.zh-cn.md
+++ b/docs/content/doc/help.zh-cn.md
@@ -2,12 +2,12 @@
date: "2017-01-20T15:00:00+08:00"
title: "帮助"
slug: "help"
-weight: 50
+weight: 5
toc: false
draft: false
menu:
sidebar:
name: "帮助"
- weight: 50
+ weight: 5
identifier: "help"
---
diff --git a/docs/content/doc/help.zh-tw.md b/docs/content/doc/help.zh-tw.md
new file mode 100644
index 0000000000..c9cd794d81
--- /dev/null
+++ b/docs/content/doc/help.zh-tw.md
@@ -0,0 +1,13 @@
+---
+date: "2017-01-20T15:00:00+08:00"
+title: "救命"
+slug: "help"
+weight: 5
+toc: false
+draft: false
+menu:
+ sidebar:
+ name: "救命"
+ weight: 5
+ identifier: "help"
+---
diff --git a/docs/content/doc/help/search.en-us.md b/docs/content/doc/help/search.en-us.md
new file mode 100644
index 0000000000..93c154bde2
--- /dev/null
+++ b/docs/content/doc/help/search.en-us.md
@@ -0,0 +1,25 @@
+---
+date: "2019-11-12T16:00:00+02:00"
+title: "Search"
+slug: "search"
+weight: 4
+toc: true
+draft: false
+menu:
+ sidebar:
+ parent: "help"
+ name: "Search"
+ weight: 4
+ identifier: "search"
+sitemap:
+ priority : 0.1
+layout: "search"
+---
+
+
+This file exists solely to respond to /search URL with the related `search` layout template.
+
+No content shown here is rendered, all content is based in the template layouts/doc/search.html
+
+Setting a very low sitemap priority will tell search engines this is not important content.
+
diff --git a/docs/content/doc/help/search.fr-fr.md b/docs/content/doc/help/search.fr-fr.md
new file mode 100644
index 0000000000..3507e9efe8
--- /dev/null
+++ b/docs/content/doc/help/search.fr-fr.md
@@ -0,0 +1,25 @@
+---
+date: "2019-11-12T16:00:00+02:00"
+title: "Chercher"
+slug: "search"
+weight: 4
+toc: true
+draft: false
+menu:
+ sidebar:
+ parent: "help"
+ name: "Chercher"
+ weight: 4
+ identifier: "search"
+sitemap:
+ priority : 0.1
+layout: "search"
+---
+
+
+This file exists solely to respond to /search URL with the related `search` layout template.
+
+No content shown here is rendered, all content is based in the template layouts/doc/search.html
+
+Setting a very low sitemap priority will tell search engines this is not important content.
+
diff --git a/docs/content/doc/help/search.zh-cn.md b/docs/content/doc/help/search.zh-cn.md
new file mode 100644
index 0000000000..a51860aacd
--- /dev/null
+++ b/docs/content/doc/help/search.zh-cn.md
@@ -0,0 +1,25 @@
+---
+date: "2019-11-12T16:00:00+02:00"
+title: "搜索"
+slug: "search"
+weight: 4
+toc: true
+draft: false
+menu:
+ sidebar:
+ parent: "help"
+ name: "搜索"
+ weight: 4
+ identifier: "search"
+sitemap:
+ priority : 0.1
+layout: "search"
+---
+
+
+This file exists solely to respond to /search URL with the related `search` layout template.
+
+No content shown here is rendered, all content is based in the template layouts/doc/search.html
+
+Setting a very low sitemap priority will tell search engines this is not important content.
+
diff --git a/docs/content/doc/help/search.zh-tw.md b/docs/content/doc/help/search.zh-tw.md
new file mode 100644
index 0000000000..a51860aacd
--- /dev/null
+++ b/docs/content/doc/help/search.zh-tw.md
@@ -0,0 +1,25 @@
+---
+date: "2019-11-12T16:00:00+02:00"
+title: "搜索"
+slug: "search"
+weight: 4
+toc: true
+draft: false
+menu:
+ sidebar:
+ parent: "help"
+ name: "搜索"
+ weight: 4
+ identifier: "search"
+sitemap:
+ priority : 0.1
+layout: "search"
+---
+
+
+This file exists solely to respond to /search URL with the related `search` layout template.
+
+No content shown here is rendered, all content is based in the template layouts/doc/search.html
+
+Setting a very low sitemap priority will tell search engines this is not important content.
+