Skip to content

Commit 1d6b565

Browse files
authored
Refactor docs (#13275)
* First pass Signed-off-by: jolheiser <[email protected]> * More changes Signed-off-by: jolheiser <[email protected]> * Redirects Signed-off-by: jolheiser <[email protected]>
1 parent bfc5531 commit 1d6b565

17 files changed

+132
-226
lines changed

docs/content/doc/advanced/ci-cd.en-us.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

docs/content/doc/advanced/specific-variables.en-us.md renamed to docs/content/doc/advanced/environment-variables.en-us.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
date: "2017-04-08T11:34:00+02:00"
3-
title: "Specific variables"
4-
slug: "specific-variables"
3+
title: "Environment variables"
4+
slug: "environment-variables"
55
weight: 20
66
toc: false
77
draft: false
88
menu:
99
sidebar:
1010
parent: "advanced"
11-
name: "Specific variables"
11+
name: "Environment variables"
1212
weight: 20
13-
identifier: "specific-variables"
13+
identifier: "environment-variables"
1414
---
1515

16-
# Specific variables
16+
# Environment variables
1717

1818
This is an inventory of Gitea environment variables. They change Gitea behaviour.
1919

docs/content/doc/advanced/specific-variables.zh-cn.md renamed to docs/content/doc/advanced/environment-variables.zh-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
date: "2017-04-08T11:34:00+02:00"
33
title: "环境变量清单"
4-
slug: "specific-variables"
4+
slug: "environment-variables"
55
weight: 20
66
toc: false
77
draft: false
@@ -10,7 +10,7 @@ menu:
1010
parent: "advanced"
1111
name: "环境变量清单"
1212
weight: 20
13-
identifier: "specific-variables"
13+
identifier: "environment-variables"
1414
---
1515

1616
# 环境变量清单

docs/content/doc/advanced/make.en-us.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

docs/content/doc/advanced/migrations.en-us.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

docs/content/doc/advanced/third-party-tools.en-us.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/content/doc/developers.en-us.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
date: "2016-12-01T16:00:00+02:00"
3+
title: "Developers"
4+
slug: "developers"
5+
weight: 40
6+
toc: false
7+
draft: false
8+
menu:
9+
sidebar:
10+
name: "Developers"
11+
weight: 50
12+
identifier: "developers"
13+
---

docs/content/doc/advanced/api-usage.en-us.md renamed to docs/content/doc/developers/api-usage.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toc: true
77
draft: false
88
menu:
99
sidebar:
10-
parent: "advanced"
10+
parent: "developers"
1111
name: "API Usage"
1212
weight: 40
1313
identifier: "api-usage"

docs/content/doc/advanced/api-usage.zh-cn.md renamed to docs/content/doc/developers/api-usage.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toc: true
77
draft: false
88
menu:
99
sidebar:
10-
parent: "advanced"
10+
parent: "developers"
1111
name: "API 使用指南"
1212
weight: 40
1313
identifier: "api-usage"

docs/content/doc/advanced/hacking-on-gitea.en-us.md renamed to docs/content/doc/developers/hacking-on-gitea.en-us.md

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toc: false
77
draft: false
88
menu:
99
sidebar:
10-
parent: "advanced"
10+
parent: "developers"
1111
name: "Hacking on Gitea"
1212
weight: 10
1313
identifier: "hacking-on-gitea"
@@ -24,9 +24,6 @@ Next, [install Node.js with npm](https://nodejs.org/en/download/) which is
2424
required to build the JavaScript and CSS files. The minimum supported Node.js
2525
version is {{< min-node-version >}} and the latest LTS version is recommended.
2626

27-
You will also need make.
28-
<a href='{{< relref "doc/advanced/make.en-us.md" >}}'>(See here how to get Make)</a>
29-
3027
**Note**: When executing make tasks that require external tools, like
3128
`make misspell-check`, Gitea will automatically download and build these as
3229
necessary. To be able to use these you must have the `"$GOPATH"/bin` directory
@@ -40,6 +37,38 @@ the results of `gofmt` can differ by the version of `go`. It is therefore
4037
recommended to install the version of Go that our continuous integration is
4138
running. As of last update, it should be Go version {{< go-version >}}.
4239

40+
## Installing Make
41+
42+
Gitea makes heavy use of Make to automate tasks and improve development. This
43+
guide covers how to install Make.
44+
45+
#### On Linux
46+
47+
Install with the package manager.
48+
49+
On Ubuntu/Debian:
50+
51+
```bash
52+
sudo apt-get install make
53+
```
54+
55+
On Fedora/RHEL/CentOS:
56+
57+
```bash
58+
sudo yum install make
59+
```
60+
61+
#### On Windows
62+
63+
One of these three distributions of Make will run on Windows:
64+
65+
- [Single binary build](http://www.equation.com/servlet/equation.cmd?fa=make). Copy somewhere and add to `PATH`.
66+
- [32-bits version](ftp://ftp.equation.com/make/32/make.exe)
67+
- [64-bits version](ftp://ftp.equation.com/make/64/make.exe)
68+
- [MinGW](http://www.mingw.org/) includes a build.
69+
- The binary is called `mingw32-make.exe` instead of `make.exe`. Add the `bin` folder to `PATH`.
70+
- [Chocolatey package](https://chocolatey.org/packages/make). Run `choco install make`
71+
4372
## Downloading and cloning the Gitea source code
4473

4574
The recommended method of obtaining the source code is by using `git clone`.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
date: "2019-04-15T17:29:00+08:00"
3+
title: "Integrations"
4+
slug: "integrations"
5+
weight: 40
6+
toc: true
7+
draft: false
8+
menu:
9+
sidebar:
10+
parent: "developers"
11+
name: "Integrations"
12+
weight: 65
13+
identifier: "integrations"
14+
---
15+
16+
# Integrations
17+
18+
Gitea has a wonderful community of third-party integrations, as well as first-class support in various other
19+
projects.
20+
21+
We are curating a list over at [awesome-gitea](https://gitea.com/gitea/awesome-gitea) to track these!
22+
23+
If you are looking for [CI/CD](https://gitea.com/gitea/awesome-gitea#devops),
24+
an [SDK](https://gitea.com/gitea/awesome-gitea#sdk),
25+
or even some extra [themes](https://gitea.com/gitea/awesome-gitea#themes),
26+
you can find them listed in the [awesome-gitea](https://gitea.com/gitea/awesome-gitea) repository!

0 commit comments

Comments
 (0)