Update documentation to explain which projects allow Gitea to host static pages (#23993)

close  #23521

---------

Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
6543 2023-04-11 18:36:58 +02:00 committed by GitHub
parent 25faee3c5f
commit 60fb63ba08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 3 deletions

View File

@ -118,6 +118,14 @@ The correct path for the template(s) will be relative to the `CustomPath`
2. If you are still unable to find a path, the default can be [calculated above](#where-does-gitea-store-what-file)
3. Once you have figured out the correct custom path, you can refer to the [customizing Gitea]({{< relref "doc/administration/customizing-gitea.en-us.md" >}}) page to add your template to the correct location.
## Does Gitea have a "GitHub/GitLab pages" feature?
Gitea doesn't provide a built-in Pages server. You need a dedicated domain to serve static pages to avoid CSRF security risks.
For simple usage, you can use a reverse proxy to rewrite & serve static contents from Gitea's raw file URLs.
And there are already available third-party services, like a standalone [pages server](https://codeberg.org/Codeberg/pages-server) or a [caddy plugin](https://github.com/42wim/caddy-gitea), that can provide the required functionality.
## Active user vs login prohibited user
In Gitea, an "active" user refers to a user that has activated their account via email.

View File

@ -31,6 +31,8 @@ _Symbols used in table:_
- _โœ˜ - unsupported_
- _โš™๏ธ - supported through third-party software_
## General Features
| Feature | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |
@ -51,7 +53,7 @@ _Symbols used in table:_
| Custom Theme Support | โœ“ | โœ“ | โœ˜ | โœ˜ | โœ˜ | โœ“ | โœ˜ |
| Markdown support | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
| CSV support | โœ“ | โœ˜ | โœ“ | โœ˜ | โœ˜ | โœ“ | ? |
| 'GitHub / GitLab pages' | [โœ˜](https://github.com/go-gitea/gitea/issues/302) | โœ˜ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ˜ |
| 'GitHub / GitLab pages' | [โš™๏ธ][gitea-pages-server], [โš™๏ธ][gitea-caddy-plugin] | โœ˜ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ˜ |
| Repo-specific wiki (as a repo itself) | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | / | โœ˜ |
| Deploy Tokens | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
| Repository Tokens with write rights | โœ“ | โœ˜ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
@ -144,3 +146,6 @@ _Symbols used in table:_
| Two factor authentication (2FA) | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ˜ |
| Integration with the most common services | โœ“ | / | โ„ | โœ“ | โœ“ | โ„ | โœ“ |
| Incorporate external CI/CD | โœ“ | โœ˜ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
[gitea-caddy-plugin]: https://github.com/42wim/caddy-gitea
[gitea-pages-server]: https://codeberg.org/Codeberg/pages-server

View File

@ -29,6 +29,8 @@ _่กจๆ ผไธญ็š„็ฌฆๅทๅซไน‰:_
* _? - ไธ็กฎๅฎš_
* _โš™๏ธ - ็”ฑ็ฌฌไธ‰ๆ–นๆœๅŠกๆˆ–ๆ’ไปถๆ”ฏๆŒ_
#### ไธป่ฆ็‰นๆ€ง
| ็‰นๆ€ง | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |
@ -42,7 +44,7 @@ _่กจๆ ผไธญ็š„็ฌฆๅทๅซไน‰:_
| ๆ”ฏๆŒ Orgmode | โœ“ | โœ˜ | โœ“ | โœ˜ | โœ˜ | โœ˜ | ? |
| ๆ”ฏๆŒ CSV | โœ“ | โœ˜ | โœ“ | โœ˜ | โœ˜ | โœ“ | ? |
| ๆ”ฏๆŒ็ฌฌไธ‰ๆ–นๆธฒๆŸ“ๅทฅๅ…ท | โœ“ | โœ˜ | โœ˜ | โœ˜ | โœ˜ | โœ“ | ? |
| Git ้ฉฑๅŠจ็š„้™ๆ€ pages | [โœ˜](https://github.com/go-gitea/gitea/issues/302) | โœ˜ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ˜ |
| Git ้ฉฑๅŠจ็š„้™ๆ€ pages | [โš™๏ธ][gitea-pages-server], [โš™๏ธ][gitea-caddy-plugin] | โœ˜ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ˜ |
| Git ้ฉฑๅŠจ็š„้›†ๆˆๅŒ– wiki | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ (cloud only) | โœ˜ |
| ้ƒจ็ฝฒไปค็‰Œ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
| ไป“ๅบ“ๅ†™ๆƒ้™ไปค็‰Œ | โœ“ | โœ˜ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
@ -129,3 +131,6 @@ _่กจๆ ผไธญ็š„็ฌฆๅทๅซไน‰:_
| ้›†ๆˆ Discord | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ˜ |
| ้›†ๆˆ Microsoft Teams | โœ“ | โœ˜ | โœ“ | โœ“ | โœ“ | โœ“ | โœ˜ |
| ๆ˜พ็คบๅค–้ƒจ CI/CD ็š„็Šถๆ€ | โœ“ | โœ˜ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
[gitea-caddy-plugin]: https://github.com/42wim/caddy-gitea
[gitea-pages-server]: https://codeberg.org/Codeberg/pages-server

View File

@ -31,6 +31,8 @@ menu:
- โœ˜ - ไธๆ”ฏๆด
- _โš™๏ธ - ็”ฑ็ฌฌไธ‰ๆ–นๆœๅ‹™ๆˆ–ๅค–ๆŽ›็จ‹ๅผๆ”ฏๆด_
## ไธ€่ˆฌๅŠŸ่ƒฝ
| ๅŠŸ่ƒฝ | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |
@ -44,7 +46,7 @@ menu:
| ๆ”ฏๆด Orgmode | โœ“ | โœ˜ | โœ“ | โœ˜ | โœ˜ | โœ˜ | ? |
| ๆ”ฏๆด CSV | โœ“ | โœ˜ | โœ“ | โœ˜ | โœ˜ | โœ“ | ? |
| ๆ”ฏๆด็ฌฌไธ‰ๆ–นๆธฒๆŸ“ๅทฅๅ…ท | โœ“ | โœ˜ | โœ˜ | โœ˜ | โœ˜ | โœ“ | ? |
| Git ้ฉ…ๅ‹•็š„้œๆ…‹้ ้ข | [โœ˜](https://github.com/go-gitea/gitea/issues/302) | โœ˜ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ˜ |
| Git ้ฉ…ๅ‹•็š„้œๆ…‹้ ้ข | [โš™๏ธ][gitea-pages-server], [โš™๏ธ][gitea-caddy-plugin] | โœ˜ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ˜ |
| Git ้ฉ…ๅ‹•็š„ๆ•ดๅˆ wiki | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ˜ |
| ้ƒจ็ฝฒ Token | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
| ๆœ‰ๅฏซๅ…ฅๆฌŠ้™็š„ๅ„ฒๅญ˜ๅบซ Token | โœ“ | โœ˜ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ“ |
@ -130,3 +132,6 @@ menu:
| ๆ•ดๅˆ Discord | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ˜ | โœ˜ |
| ๆ•ดๅˆ Microsoft Teams | โœ“ | โœ˜ | โœ“ | โœ“ | โœ“ | โœ“ | โœ˜ |
| ้กฏ็คบๅค–้ƒจ CI/CD ็‹€ๆ…‹ | โœ“ | โœ˜ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ |
[gitea-caddy-plugin]: https://github.com/42wim/caddy-gitea
[gitea-pages-server]: https://codeberg.org/Codeberg/pages-server