mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
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>
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
date: "2017-01-20T15:00:00+08:00"
|
date: "2017-01-20T15:00:00+08:00"
|
||||||
title: "Help"
|
title: "Help"
|
||||||
slug: "help"
|
slug: "help"
|
||||||
weight: 50
|
weight: 5
|
||||||
toc: false
|
toc: false
|
||||||
draft: false
|
draft: false
|
||||||
menu:
|
menu:
|
||||||
sidebar:
|
sidebar:
|
||||||
name: "Help"
|
name: "Help"
|
||||||
weight: 50
|
weight: 5
|
||||||
identifier: "help"
|
identifier: "help"
|
||||||
---
|
---
|
||||||
|
|||||||
13
doc/help.fr-fr.md
Normal file
13
doc/help.fr-fr.md
Normal file
@@ -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"
|
||||||
|
---
|
||||||
@@ -2,12 +2,12 @@
|
|||||||
date: "2017-01-20T15:00:00+08:00"
|
date: "2017-01-20T15:00:00+08:00"
|
||||||
title: "帮助"
|
title: "帮助"
|
||||||
slug: "help"
|
slug: "help"
|
||||||
weight: 50
|
weight: 5
|
||||||
toc: false
|
toc: false
|
||||||
draft: false
|
draft: false
|
||||||
menu:
|
menu:
|
||||||
sidebar:
|
sidebar:
|
||||||
name: "帮助"
|
name: "帮助"
|
||||||
weight: 50
|
weight: 5
|
||||||
identifier: "help"
|
identifier: "help"
|
||||||
---
|
---
|
||||||
|
|||||||
13
doc/help.zh-tw.md
Normal file
13
doc/help.zh-tw.md
Normal file
@@ -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"
|
||||||
|
---
|
||||||
25
doc/help/search.en-us.md
Normal file
25
doc/help/search.en-us.md
Normal file
@@ -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.
|
||||||
|
|
||||||
25
doc/help/search.fr-fr.md
Normal file
25
doc/help/search.fr-fr.md
Normal file
@@ -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.
|
||||||
|
|
||||||
25
doc/help/search.zh-cn.md
Normal file
25
doc/help/search.zh-cn.md
Normal file
@@ -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.
|
||||||
|
|
||||||
25
doc/help/search.zh-tw.md
Normal file
25
doc/help/search.zh-tw.md
Normal file
@@ -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.
|
||||||
|
|
||||||
Reference in New Issue
Block a user