Skip to content

Commit cb6efea

Browse files
committed
remove docs changes in releases <=1.11
1 parent 9ed6023 commit cb6efea

8 files changed

+19
-22
lines changed

docs/content/doc/advanced/cmd-embedded.en-us.md

-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ inside the `custom` directory (see [Customizing Gitea]({{< relref "doc/advanced/
2626
To obtain a copy of the embedded resources ready for editing, the `embedded` command from the CLI
2727
can be used from the OS shell interface.
2828

29-
**NOTE:** The embedded data extraction tool is included in Gitea versions 1.12 and above.
30-
3129
## Listing resources
3230

3331
To list resources embedded in Gitea's executable, use the following syntax:

docs/content/doc/advanced/config-cheat-sheet.en-us.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ The following configuration set `Content-Type: application/vnd.android.package-a
289289

290290
- `OFFLINE_MODE`: **false**: Disables use of CDN for static files and Gravatar for profile pictures.
291291
- `DISABLE_ROUTER_LOG`: **false**: Mute printing of the router log.
292-
- `CERT_FILE`: **https/cert.pem**: Cert file path used for HTTPS. When chaining, the server certificate must come first, then intermediate CA certificates (if any). From 1.11 paths are relative to `CUSTOM_PATH`.
293-
- `KEY_FILE`: **https/key.pem**: Key file path used for HTTPS. From 1.11 paths are relative to `CUSTOM_PATH`.
292+
- `CERT_FILE`: **https/cert.pem**: Cert file path used for HTTPS. When chaining, the server certificate must come first, then intermediate CA certificates (if any).
293+
- `KEY_FILE`: **https/key.pem**: Key file path used for HTTPS.
294294
- `STATIC_ROOT_PATH`: **./**: Upper level of template and static files path.
295295
- `APP_DATA_PATH`: **data** (**/data/gitea** on docker): Default path for application data.
296296
- `STATIC_CACHE_TIME`: **6h**: Web browser cache time for static resources on `custom/`, `public/` and all uploaded avatars. Note that this cache is disabled when `RUN_MODE` is "dev".

docs/content/doc/advanced/logging-documentation.en-us.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ menu:
1515

1616
# Logging Configuration
1717

18-
The logging framework has been revamped in Gitea 1.9.0.
19-
2018
**Table of Contents**
2119

2220
{{< toc >}}
@@ -94,7 +92,7 @@ log using the value: `ROUTER = ,`
9492

9593
### The "Access" logger
9694

97-
The Access logger is a new logger for version 1.9. It provides a NCSA
95+
The Access logger provides a NCSA
9896
Common Log compliant log format. It's highly configurable but caution
9997
should be taken when changing its template. The main benefit of this
10098
logger is that Gitea can now log accesses in a standard log format so

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ menu:
1515

1616
# Migration Features
1717

18-
Complete migrations were introduced in Gitea 1.9.0. It defines two interfaces to support migrating
18+
Currently, migrations from GitHub, Gitlab, Gogs, and other Gitea instances are implemented.
19+
Gitea's migration feature defines two interfaces to support migrating
1920
repository data from other git host platforms to Gitea or, in the future, migrating Gitea data to other
20-
git host platforms.
21-
Currently, migrations from Github, Gitlab, and other Gitea instances are implemented.
21+
git host platforms.
2222

2323
First of all, Gitea defines some standard objects in packages [modules/migrations/base](https://github.com/go-gitea/gitea/tree/main/modules/migrations/base).
2424
They are `Repository`, `Milestone`, `Release`, `ReleaseAsset`, `Label`, `Issue`, `Comment`, `PullRequest`, `Reaction`, `Review`, `ReviewComment`.

docs/content/doc/developers/oauth2-provider.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ menu:
1919

2020
{{< toc >}}
2121

22-
Gitea supports acting as an OAuth2 provider to allow third party applications to access its resources with the user's consent. This feature is available since release 1.8.0.
22+
Gitea supports acting as an OAuth2 provider to allow third party applications to access its resources with the user's consent.
2323

2424
## Endpoints
2525

docs/content/doc/help/faq.en-us.md

-6
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,6 @@ Please always check the release notes / [changelog](https://github.com/go-gitea/
277277
SET GLOBAL innodb_large_prefix=1;
278278
```
279279

280-
#### Why is my markdown broken
281-
282-
In Gitea version `1.11` we moved to [goldmark](https://github.com/yuin/goldmark) for markdown rendering, which is [CommonMark](https://commonmark.org/) compliant.
283-
If you have markdown that worked as you expected prior to version `1.11` and after upgrading it's not working anymore, please look through the CommonMark spec to see whether the problem is due to a bug or non-compliant syntax.
284-
If it is the latter, _usually_ there is a compliant alternative listed in the spec.
285-
286280
---
287281

288282
## Usage

docs/content/doc/usage/command-line.en-us.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,17 @@ Admin operations:
7777
- One of `--id`, `--username` or `--email` is required. If more than one is provided then all have to match.
7878
- Examples:
7979
- `gitea admin user delete --id 1`
80-
- `create`: - Options: - `--name value`: Username. Required. As of gitea 1.9.0, use the `--username` flag instead. - `--username value`: Username. Required. New in gitea 1.9.0. - `--password value`: Password. Required. - `--email value`: Email. Required. - `--admin`: If provided, this makes the user an admin. Optional. - `--access-token`: If provided, an access token will be created for the user. Optional. (default: false). - `--must-change-password`: If provided, the created user will be required to choose a newer password after
81-
the initial login. Optional. (default: true). - `--random-password`: If provided, a randomly generated password will be used as the password of
82-
the created user. The value of `--password` will be discarded. Optional. - `--random-password-length`: If provided, it will be used to configure the length of the randomly
83-
generated password. Optional. (default: 12) - Examples: - `gitea admin user create --username myname --password asecurepassword --email [email protected]`
80+
- `create`:
81+
- Options:
82+
- `--username value`: Username. Required.
83+
- `--password value`: Password. Required.
84+
- `--email value`: Email. Required.
85+
- `--admin`: If provided, this makes the user an admin. Optional.
86+
- `--access-token`: If provided, an access token will be created for the user. Optional. (default: false).
87+
- `--must-change-password`: If provided, the created user will be required to choose a newer password after the initial login. Optional. (default: true).
88+
- `--random-password`: If provided, a randomly generated password will be used as the password of the created user. The value of `--password` will be discarded. Optional.
89+
- `--random-password-length`: If provided, it will be used to configure the length of the randomly generated password. Optional. (default: 12)
90+
- Examples: - `gitea admin user create --username myname --password asecurepassword --email [email protected]`
8491
- `change-password`:
8592
- Options:
8693
- `--username value`, `-u value`: Username. Required.

docs/content/doc/usage/template-repositories.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ menu:
1919

2020
{{< toc >}}
2121

22-
Gitea `1.11.0` and above includes template repositories, and one feature implemented with them is auto-expansion of specific variables within your template files.
22+
Gitea has template repositories, with support for auto-expansion of specific variables within your template files.
2323
To tell Gitea which files to expand, you must include a `template` file inside the `.gitea` directory of the template repository.
2424
Gitea uses [gobwas/glob](https://github.com/gobwas/glob) for its glob syntax. It closely resembles a traditional `.gitignore`, however there may be slight differences.
2525

0 commit comments

Comments
 (0)