aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/developers
diff options
context:
space:
mode:
authorqwerty287 <80460567+qwerty287@users.noreply.github.com>2021-11-29 00:43:18 +0100
committerGitHub <noreply@github.com>2021-11-28 18:43:18 -0500
commit3fec2cb3d3957f8260ce42163a5197a8551b8390 (patch)
tree070897334531174cc9d1531a35df5319b2afe831 /docs/content/doc/developers
parent9defddb2862aa0a54da21328ca091284291363f7 (diff)
downloadgitea-3fec2cb3d3957f8260ce42163a5197a8551b8390.tar.gz
gitea-3fec2cb3d3957f8260ce42163a5197a8551b8390.zip
Fix various typos in docs (#17844)
Diffstat (limited to 'docs/content/doc/developers')
-rw-r--r--docs/content/doc/developers/guidelines-backend.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/developers/guidelines-backend.md b/docs/content/doc/developers/guidelines-backend.md
index 5f7f7bcbb2..69bdc6d2a6 100644
--- a/docs/content/doc/developers/guidelines-backend.md
+++ b/docs/content/doc/developers/guidelines-backend.md
@@ -32,7 +32,7 @@ So it's very important to manage these packages. Please take the below guideline
To maintain understandable code and avoid circular dependencies it is important to have a good code structure. The Gitea backend is divided into the following parts:
- `build`: Scripts to help build Gitea.
-- `cmd`: All Gitea actual sub commands includes web, doctor, serv, hooks, admin and etc. `web` will start the web service. `serv` and `hooks` will be invoked by git or openSSH. Other sub commands could help to mantain Gitea.
+- `cmd`: All Gitea actual sub commands includes web, doctor, serv, hooks, admin and etc. `web` will start the web service. `serv` and `hooks` will be invoked by git or openSSH. Other sub commands could help to maintain Gitea.
- `integrations`: Integration tests
- `models`: Contains the data structures used by xorm to construct database tables. It also contains functions to query and update the database. Dependencies to other Gitea code should be avoided. You can make exceptions in cases such as logging.
- `models/db`: Basic database operations. All other `models/xxx` packages should depend on this package. The `GetEngine` function should only be invoked from `models/`.