Skip to content

Refactor docs #13275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions docs/content/doc/advanced/ci-cd.en-us.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
date: "2017-04-08T11:34:00+02:00"
title: "Specific variables"
slug: "specific-variables"
title: "Environment variables"
slug: "environment-variables"
weight: 20
toc: false
draft: false
menu:
sidebar:
parent: "advanced"
name: "Specific variables"
name: "Environment variables"
weight: 20
identifier: "specific-variables"
identifier: "environment-variables"
---

# Specific variables
# Environment variables

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
date: "2017-04-08T11:34:00+02:00"
title: "环境变量清单"
slug: "specific-variables"
slug: "environment-variables"
weight: 20
toc: false
draft: false
Expand All @@ -10,7 +10,7 @@ menu:
parent: "advanced"
name: "环境变量清单"
weight: 20
identifier: "specific-variables"
identifier: "environment-variables"
---

# 环境变量清单
Expand Down
46 changes: 0 additions & 46 deletions docs/content/doc/advanced/make.en-us.md

This file was deleted.

81 changes: 0 additions & 81 deletions docs/content/doc/advanced/migrations.en-us.md

This file was deleted.

43 changes: 0 additions & 43 deletions docs/content/doc/advanced/third-party-tools.en-us.md

This file was deleted.

13 changes: 13 additions & 0 deletions docs/content/doc/developers.en-us.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
date: "2016-12-01T16:00:00+02:00"
title: "Developers"
slug: "developers"
weight: 40
toc: false
draft: false
menu:
sidebar:
name: "Developers"
weight: 50
identifier: "developers"
---
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toc: true
draft: false
menu:
sidebar:
parent: "advanced"
parent: "developers"
name: "API Usage"
weight: 40
identifier: "api-usage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toc: true
draft: false
menu:
sidebar:
parent: "advanced"
parent: "developers"
name: "API 使用指南"
weight: 40
identifier: "api-usage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toc: false
draft: false
menu:
sidebar:
parent: "advanced"
parent: "developers"
name: "Hacking on Gitea"
weight: 10
identifier: "hacking-on-gitea"
Expand All @@ -24,9 +24,6 @@ Next, [install Node.js with npm](https://nodejs.org/en/download/) which is
required to build the JavaScript and CSS files. The minimum supported Node.js
version is {{< min-node-version >}} and the latest LTS version is recommended.

You will also need make.
<a href='{{< relref "doc/advanced/make.en-us.md" >}}'>(See here how to get Make)</a>

**Note**: When executing make tasks that require external tools, like
`make misspell-check`, Gitea will automatically download and build these as
necessary. To be able to use these you must have the `"$GOPATH"/bin` directory
Expand All @@ -40,6 +37,38 @@ the results of `gofmt` can differ by the version of `go`. It is therefore
recommended to install the version of Go that our continuous integration is
running. As of last update, it should be Go version {{< go-version >}}.

## Installing Make

Gitea makes heavy use of Make to automate tasks and improve development. This
guide covers how to install Make.

#### On Linux

Install with the package manager.

On Ubuntu/Debian:

```bash
sudo apt-get install make
```

On Fedora/RHEL/CentOS:

```bash
sudo yum install make
```

#### On Windows

One of these three distributions of Make will run on Windows:

- [Single binary build](http://www.equation.com/servlet/equation.cmd?fa=make). Copy somewhere and add to `PATH`.
- [32-bits version](ftp://ftp.equation.com/make/32/make.exe)
- [64-bits version](ftp://ftp.equation.com/make/64/make.exe)
- [MinGW](http://www.mingw.org/) includes a build.
- The binary is called `mingw32-make.exe` instead of `make.exe`. Add the `bin` folder to `PATH`.
- [Chocolatey package](https://chocolatey.org/packages/make). Run `choco install make`

## Downloading and cloning the Gitea source code

The recommended method of obtaining the source code is by using `git clone`.
Expand Down
26 changes: 26 additions & 0 deletions docs/content/doc/developers/integrations.en-us.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
date: "2019-04-15T17:29:00+08:00"
title: "Integrations"
slug: "integrations"
weight: 40
toc: true
draft: false
menu:
sidebar:
parent: "developers"
name: "Integrations"
weight: 65
identifier: "integrations"
---

# Integrations

Gitea has a wonderful community of third-party integrations, as well as first-class support in various other
projects.

We are curating a list over at [awesome-gitea](https://gitea.com/gitea/awesome-gitea) to track these!

If you are looking for [CI/CD](https://gitea.com/gitea/awesome-gitea#devops),
an [SDK](https://gitea.com/gitea/awesome-gitea#sdk),
or even some extra [themes](https://gitea.com/gitea/awesome-gitea#themes),
you can find them listed in the [awesome-gitea](https://gitea.com/gitea/awesome-gitea) repository!
Loading