Skip to content

Commit d37b097

Browse files
committed
Merge remote-tracking branch 'upstream/main'
* upstream/main: Remove unnecessary content on docs (go-gitea#24976) Upgrade snap to node 20 (go-gitea#24990) Display file mode for new file and file mode changes (go-gitea#24966) Enable `vue/html-closing-bracket-spacing` eslint rule (go-gitea#24987) Fix repo level project - edit column (go-gitea#24982) Add v3.18 to TestPackageAlpine (go-gitea#24972) Fix admin config page error, use tests to cover the admin config and 500 error page (go-gitea#24965) Improve dropdown menus, remove inline styles (go-gitea#24954) Unify doc links to use paths relative to doc folder (go-gitea#24979) Rework button coloring, add focus and active colors (go-gitea#24507) Add PDF rendering via PDFObject (go-gitea#24086) Hide 'Mirror Settings' when unneeded, improve hints (go-gitea#24433) Consolidate the two review boxes into one (go-gitea#24738) API endpoint for changing/creating/deleting multiple files (go-gitea#24887) Repo list improvements, fix bold helper classes (go-gitea#24935) Add step start time to `ViewStepLog` (go-gitea#24980) Update from-binary.en-us.md (go-gitea#24975)
2 parents 4825cb5 + e64c2fa commit d37b097

File tree

485 files changed

+3294
-126341
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

485 files changed

+3294
-126341
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
*.tmpl linguist-language=Handlebars
33
/assets/*.json linguist-generated
44
/public/img/svg/*.svg linguist-generated
5-
/public/vendor/** -text -eol linguist-vendored
65
/templates/swagger/v1_json.tmpl linguist-generated
76
/vendor/** -text -eol linguist-vendored
87
/web_src/fomantic/build/** linguist-generated

.ignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
/modules/options/bindata.go
44
/modules/public/bindata.go
55
/modules/templates/bindata.go
6-
/public/vendor/plugins
76
/vendor
87
node_modules

docs/content/doc/development/hacking-on-gitea.en-us.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ to the Gitea sources. Otherwise, changes can't be pushed.
123123
## Building Gitea (Basic)
124124

125125
Take a look at our
126-
<a href='{{< relref "doc/installation/from-source.en-us.md" >}}'>instructions</a>
127-
for <a href='{{< relref "doc/installation/from-source.en-us.md" >}}'>building
128-
from source</a>.
126+
[instructions]({{< relref "doc/installation/from-source.en-us.md" >}})
127+
for [building from source]({{< relref "doc/installation/from-source.en-us.md" >}}).
129128

130129
The simplest recommended way to build from source is:
131130

@@ -266,7 +265,7 @@ OpenAPI 3 documentation.
266265
When creating new configuration options, it is not enough to add them to the
267266
`modules/setting` files. You should add information to `custom/conf/app.ini`
268267
and to the
269-
<a href='{{< relref "doc/administration/config-cheat-sheet.en-us.md" >}}'>configuration cheat sheet</a>
268+
[configuration cheat sheet]({{< relref "doc/administration/config-cheat-sheet.en-us.md" >}})
270269
found in `docs/content/doc/administer/config-cheat-sheet.en-us.md`
271270

272271
### Changing the logo

docs/content/doc/development/hacking-on-gitea.zh-cn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ git fetch --all --prune
115115
## 构建 Gitea(基本)
116116

117117
看看我们的
118-
<a href='{{ < relref "doc/installation/from-source.en-us.md" > }}'>说明</a>
119-
关于如何 <a href='{{ < relref "doc/installation/from-source.en-us.md" > }}'>从源代码构建</a>
118+
[说明]({{< relref "doc/installation/from-source.zh-cn.md" >}})
119+
关于如何[从源代码构建]({{< relref "doc/installation/from-source.zh-cn.md" >}})
120120

121121
从源代码构建的最简单推荐方法是:
122122

@@ -249,7 +249,7 @@ make swagger-check
249249
### 创建新的配置选项
250250

251251
创建新的配置选项时,将它们添加到 `modules/setting` 的对应文件。您应该将信息添加到 `custom/conf/app.ini`
252-
并到 <a href = '{{ < relref "doc/administration/config-cheat-sheet.zh-cn.md" > }}'>配置备忘单</a>
252+
并到[配置备忘单]({{< relref "doc/administration/config-cheat-sheet.zh-cn.md" >}})
253253
`docs/content/doc/advanced/config-cheat-sheet.zh-cn.md` 中找到
254254

255255
### 更改Logo

docs/content/doc/installation/from-binary.en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ After you complete the above steps, you can run Gitea two ways:
159159

160160
### 1. Creating a service file to start Gitea automatically (recommended)
161161

162-
See how to create [Linux service]({{< relref "run-as-service-in-ubuntu.en-us.md" >}})
162+
See how to create [Linux service]({{< relref "doc/installation/run-as-service-in-ubuntu.en-us.md" >}})
163163

164164
### 2. Running from command-line/terminal
165165

@@ -200,7 +200,7 @@ Older Linux distributions (such as Debian 7 and CentOS 6) may not be able to loa
200200
Gitea binary, usually producing an error such as `./gitea: /lib/x86_64-linux-gnu/libc.so.6:
201201
version 'GLIBC\_2.14' not found (required by ./gitea)`. This is due to the integrated
202202
SQLite support in the binaries provided by dl.gitea.com. In this situation, it is usually
203-
possible to [install from source]({{< relref "from-source.en-us.md" >}}), without including
203+
possible to [install from source]({{< relref "doc/installation/from-source.en-us.md" >}}), without including
204204
SQLite support.
205205

206206
### Running Gitea on another port

docs/content/doc/installation/from-binary.fr-fr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Après avoir suivi les étapes ci-dessus, vous aurez un binaire `gitea` dans vot
3636

3737
### Anciennes version de glibc
3838

39-
Les anciennes distributions Linux (comme Debian 7 ou CentOS 6) peuvent ne pas être capable d'exécuter le binaire Gitea, résultant généralement une erreur du type ```./gitea: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./gitea)```. Cette erreur est due au driver SQLite que nous intégrons dans le binaire Gitea. Dans le futur, nous fournirons des binaires sans la dépendance pour la bibliothèque glibc. En attendant, vous pouvez mettre à jour votre distribution ou installer Gitea depuis le [code source]({{< relref "from-source.fr-fr.md" >}}).
39+
Les anciennes distributions Linux (comme Debian 7 ou CentOS 6) peuvent ne pas être capable d'exécuter le binaire Gitea, résultant généralement une erreur du type ```./gitea: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./gitea)```. Cette erreur est due au driver SQLite que nous intégrons dans le binaire Gitea. Dans le futur, nous fournirons des binaires sans la dépendance pour la bibliothèque glibc. En attendant, vous pouvez mettre à jour votre distribution ou installer Gitea depuis le [code source]({{< relref "doc/installation/from-source.fr-fr.md" >}}).
4040

4141
### Exécuter Gitea avec un autre port
4242

docs/content/doc/installation/from-binary.zh-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ cp gitea /usr/local/bin/gitea
143143

144144
### 1. 创建服务自动启动 Gitea(推荐)
145145

146-
学习创建 [Linux 服务]({{< relref "run-as-service-in-ubuntu.zh-cn.md" >}})
146+
学习创建 [Linux 服务]({{< relref "doc/installation/run-as-service-in-ubuntu.zh-cn.md" >}})
147147

148148
### 2. 通过命令行终端运行
149149

@@ -175,4 +175,4 @@ GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini
175175

176176
> 更多经验总结,请参考英文版 [Troubleshooting](/en-us/install-from-binary/#troubleshooting)
177177
178-
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md" >}})
178+
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "doc/help/support.zh-cn.md" >}})

docs/content/doc/installation/from-package.en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ menu:
2424
## macOS
2525

2626
Currently, the only supported method of installation on MacOS is [Homebrew](http://brew.sh/).
27-
Following the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide may work,
27+
Following the [deployment from binary]({{< relref "doc/installation/from-binary.en-us.md" >}}) guide may work,
2828
but is not supported. To install Gitea via `brew`:
2929

3030
```
@@ -87,7 +87,7 @@ There is a [Gitea](https://chocolatey.org/packages/gitea) package for Windows by
8787
choco install gitea
8888
```
8989

90-
Or follow the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide.
90+
Or follow the [deployment from binary]({{< relref "doc/installation/from-binary.en-us.md" >}}) guide.
9191

9292
## FreeBSD
9393

docs/content/doc/installation/from-package.fr-fr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ menu:
1919

2020
## Linux
2121

22-
Nous n'avons pas encore publié de paquet pour Linux, nous allons mettre à jour cette page directement lorsque nous commencerons à publier des paquets pour toutes distributions Linux. En attendant, vous devriez suivre les [instructions d'installation]({{< relref "from-binary.fr-fr.md" >}}) avec le binaire pré-compilé.
22+
Nous n'avons pas encore publié de paquet pour Linux, nous allons mettre à jour cette page directement lorsque nous commencerons à publier des paquets pour toutes distributions Linux. En attendant, vous devriez suivre les [instructions d'installation]({{< relref "doc/installation/from-binary.fr-fr.md" >}}) avec le binaire pré-compilé.
2323

2424
## Windows
2525

26-
Nous n'avons pas encore publié de paquet pour Windows, nous allons mettre à jour cette page directement lorsque nous commencerons à publier des paquets sous la forme de fichiers `MSI` ou via [Chocolatey](https://chocolatey.org/). En attendant, vous devriez suivre les [instructions d'installation]({{< relref "from-binary.fr-fr.md" >}}) avec le binaire pré-compilé.
26+
Nous n'avons pas encore publié de paquet pour Windows, nous allons mettre à jour cette page directement lorsque nous commencerons à publier des paquets sous la forme de fichiers `MSI` ou via [Chocolatey](https://chocolatey.org/). En attendant, vous devriez suivre les [instructions d'installation]({{< relref "doc/installation/from-binary.fr-fr.md" >}}) avec le binaire pré-compilé.
2727

2828
## macOS
2929

30-
Actuellement, nous ne supportons que l'installation via `brew` pour macOS. Si vous n'utilisez pas [Homebrew](http://brew.sh/), vous pouvez suivre les [instructions d'installation]({{< relref "from-binary.fr-fr.md" >}}) avec le binaire pré-compilé. Pour installer Gitea depuis `brew`, utilisez les commandes suivantes :
30+
Actuellement, nous ne supportons que l'installation via `brew` pour macOS. Si vous n'utilisez pas [Homebrew](http://brew.sh/), vous pouvez suivre les [instructions d'installation]({{< relref "doc/installation/from-binary.fr-fr.md" >}}) avec le binaire pré-compilé. Pour installer Gitea depuis `brew`, utilisez les commandes suivantes :
3131

3232
```
3333
brew tap go-gitea/gitea

docs/content/doc/installation/from-package.zh-cn.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ menu:
2323

2424
## macOS
2525

26-
macOS 平台下当前我们仅支持通过 `brew` 来安装。如果你没有安装 [Homebrew](http://brew.sh/),你也可以查看 [从二进制安装]({{< relref "from-binary.zh-cn.md" >}})。在你安装了 `brew` 之后, 你可以执行以下命令:
26+
macOS 平台下当前我们仅支持通过 `brew` 来安装。如果你没有安装 [Homebrew](http://brew.sh/),你也可以查看 [从二进制安装]({{< relref "doc/installation/from-binary.zh-cn.md" >}})。在你安装了 `brew` 之后, 你可以执行以下命令:
2727

2828
```
2929
brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
@@ -77,7 +77,7 @@ OpenSUSE 构建服务为 [openSUSE 和 SLE](https://software.opensuse.org/downlo
7777
choco install gitea
7878
```
7979

80-
你也可以 [从二进制安装]({{< relref "from-binary.zh-cn.md" >}}) 。
80+
你也可以 [从二进制安装]({{< relref "doc/installation/from-binary.zh-cn.md" >}}) 。
8181

8282
## FreeBSD
8383

@@ -106,7 +106,3 @@ make install clean
106106
如果这里没有找到你喜欢的包管理器,可以使用 Gitea 第三方软件包。这里有一个完整的列表: [awesome-gitea](https://gitea.com/gitea/awesome-gitea/src/branch/master/README.md#user-content-packages)
107107

108108
如果你知道其他 Gitea 第三方软件包,请发送 PR 来添加它。
109-
110-
## 需要帮助?
111-
112-
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md" >}})

0 commit comments

Comments
 (0)