From 3fec2cb3d3957f8260ce42163a5197a8551b8390 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Mon, 29 Nov 2021 00:43:18 +0100 Subject: [PATCH] Fix various typos in docs (#17844) --- docs/content/doc/developers/guidelines-backend.md | 2 +- docs/content/doc/help/faq.en-us.md | 2 +- docs/content/doc/installation/on-cloud-provider.md | 2 +- docs/content/doc/usage/https-support.md | 4 ++-- 4 files changed, 5 insertions(+), 5 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/`. diff --git a/docs/content/doc/help/faq.en-us.md b/docs/content/doc/help/faq.en-us.md index e9551bbb71..f5b06c1a8a 100644 --- a/docs/content/doc/help/faq.en-us.md +++ b/docs/content/doc/help/faq.en-us.md @@ -162,7 +162,7 @@ Gitea supports three official themes right now, `gitea` (light), `arc-green` (da To add your own theme, currently the only way is to provide a complete theme (not just color overrides) As an example, let's say our theme is `arc-blue` (this is a real theme, and can be found [in this issue](https://github.com/go-gitea/gitea/issues/6011)) -Name the `.css` file `theme-arc-blue.css` and add it to your custom folder in `custom/pulic/css` +Name the `.css` file `theme-arc-blue.css` and add it to your custom folder in `custom/public/css` Allow users to use it by adding `arc-blue` to the list of `THEMES` in your `app.ini` ## SSHD vs built-in SSH diff --git a/docs/content/doc/installation/on-cloud-provider.md b/docs/content/doc/installation/on-cloud-provider.md index 7647ae2cf1..543162d864 100644 --- a/docs/content/doc/installation/on-cloud-provider.md +++ b/docs/content/doc/installation/on-cloud-provider.md @@ -33,7 +33,7 @@ you can experiment with running Gitea. ## Vultr -Gitea can found in [Vultr](https://www.vultr.com)'s marketplace. +Gitea can be found in [Vultr](https://www.vultr.com)'s marketplace. To deploy Gitea to Vultr, have a look at the [Vultr Marketplace](https://www.vultr.com/marketplace/apps/gitea). diff --git a/docs/content/doc/usage/https-support.md b/docs/content/doc/usage/https-support.md index ebbfc165f7..7a8d93dc52 100644 --- a/docs/content/doc/usage/https-support.md +++ b/docs/content/doc/usage/https-support.md @@ -38,7 +38,7 @@ KEY_FILE = key.pem ``` Note that if your certificate is signed by a third party certificate authority (i.e. not self-signed), then cert.pem should contain the certificate chain. The server certificate must be the first entry in cert.pem, followed by the intermediaries in order (if any). The root certificate does not have to be included because the connecting client must already have it in order to estalbish the trust relationship. -To learn more about the config values, please checkout the [Config Cheat Sheet](../config-cheat-sheet#server). +To learn more about the config values, please checkout the [Config Cheat Sheet](../config-cheat-sheet#server-server). ### Setting up HTTP redirection @@ -69,7 +69,7 @@ LETSENCRYPT_DIRECTORY=https LETSENCRYPT_EMAIL=email@example.com ``` -To learn more about the config values, please checkout the [Config Cheat Sheet](../config-cheat-sheet#server). +To learn more about the config values, please checkout the [Config Cheat Sheet](../config-cheat-sheet#server-server). ## Using a reverse proxy