Beyond coding. We forge. (Code of Conduct: https://codeberg.org/forgejo/code-of-conduct)
Find a file
Loïc Dachary 6577fad1c9
[DOCS] CONTRIBUTING
Refs: https://codeberg.org/forgejo/forgejo/issues/8
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/153
Refs: https://codeberg.org/forgejo/forgejo/issues/123
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/299
(cherry picked from commit 08dcef0c8c)

[DOCS] CONTRIBUTING/RELEASE: https://forgejo.org/docs/admin

Because the version is not displayed on the landing page of Forgejo,
there cannot be a link to a versionned documentation. There must exist
a link that points to the latest version on the website for the
forgejo instance to display.

Better but more complicated approaches could be to:

* Embed the documentation in Forgejo
* Allow the admin to not display the help
* Allow the admin to display a versionned help or not

(cherry picked from commit 83cc389239)
(cherry picked from commit 5df52b8a4f)
(cherry picked from commit 9a66b3d70b)

[DOCS] CONTRIBUTING/RELEASE: reminder to update FORGEJO_VERSION

(cherry picked from commit 2a4d0bd164)
2023-03-18 14:03:14 +01:00
.woodpecker [CI] implementation: Woodpecker based CI 2023-03-18 11:19:00 +01:00
assets Update act (#23512) (#23518) 2023-03-16 09:33:11 -05:00
build Consume hcaptcha and pwn deps (#22610) 2023-01-29 09:49:51 -06:00
cmd Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) (#23403) 2023-03-10 08:29:28 -06:00
contrib Add Bash and Zsh completion scripts (#22646) 2023-02-21 12:32:24 -05:00
CONTRIBUTING [DOCS] CONTRIBUTING 2023-03-18 14:03:14 +01:00
custom/conf Support reflogs (#22451) (#23438) 2023-03-13 12:20:10 +00:00
docker Wrap unless-check in docker manifests (#23079) (#23081) 2023-02-23 01:34:47 +01:00
docs Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
models Remove wrongly added column on migration test fixtures (#23456) (#23470) 2023-03-14 16:09:52 -04:00
modules Refactor merge/update git command calls (#23366) (#23544) 2023-03-17 12:16:22 -04:00
options Support reflogs (#22451) (#23438) 2023-03-13 12:20:10 +00:00
public Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
releases [CI] implementation: Woodpecker based CI 2023-03-18 11:19:00 +01:00
routers Handle missing README in create repos API (#23387) (#23510) 2023-03-16 21:04:52 -04:00
services Refactor merge/update git command calls (#23366) (#23544) 2023-03-17 12:16:22 -04:00
snap Remove unnecessary whitespace in snapcraft.yaml (#22090) 2022-12-10 08:31:16 -06:00
templates Fix diff detail buttons wrapping, use tippy for review box (#23271) (#23546) 2023-03-17 14:52:04 -04:00
tests [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-03-18 11:19:00 +01:00
tools Move fuzz tests into tests/fuzz (#22376) 2023-01-09 15:30:14 +08:00
web_src Imrove scroll behavior to hash issuecomment(scroll position, auto expand if file is folded, and on refreshing) (#23513) (#23540) 2023-03-17 22:59:18 -04:00
.air.toml Add more test directory to exclude dir of air, remove watching templates from air include dir because gitea has internal mechanism (#22246) 2022-12-27 14:00:34 +08:00
.changelog.yml Changelog for v1.15.0-rc1 (#16422) 2021-07-15 11:47:57 -04:00
.dockerignore Add .dockerignore (#21753) 2022-11-10 04:04:09 +01:00
.drone.yml test_env: hardcode major go version in use (#23464) 2023-03-14 04:12:14 -04:00
.editorconfig Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
.eslintrc.yaml Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00
.gitattributes Hook go-licenses into tidy again (#21353) 2022-10-10 20:45:02 +02:00
.gitignore [CI] implementation: Woodpecker based CI 2023-03-18 11:19:00 +01:00
.gitpod.yml Split default gitpod view to include all tasks (#22555) 2023-01-20 13:46:33 -06:00
.golangci.yml Fix .golangci.yml (#22868) 2023-02-11 21:44:53 +00:00
.ignore Add some .ignore entries (#18296) 2022-01-16 17:26:15 +00:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
.markdownlint.yaml Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
.npmrc Stop packaging node_modules in release tarballs (#15273) 2021-04-09 01:08:14 -04:00
.spectral.yaml Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
.stylelintrc.yaml Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
BSDmakefile Add BSDmakefile to prevent errors when make is called under FreeBSD (#4446) 2018-07-16 20:45:51 +02:00
build.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
CHANGELOG.md Changelog 1.18.5 (#23045) (#23049) 2023-02-21 13:36:19 -06:00
CONTRIBUTING.md [DOCS] CONTRIBUTING 2023-03-18 14:03:14 +01:00
DCO Remove address from DCO (#22595) 2023-01-24 18:52:38 +00:00
Dockerfile [CI] implementation: forgejo container images 2023-03-18 11:19:00 +01:00
Dockerfile.rootless [CI] implementation: forgejo container images 2023-03-18 11:19:00 +01:00
go.mod Update act (#23512) (#23518) 2023-03-16 09:33:11 -05:00
go.sum Update act (#23512) (#23518) 2023-03-16 09:33:11 -05:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
main.go Add Bash and Zsh completion scripts (#22646) 2023-02-21 12:32:24 -05:00
MAINTAINERS Add sillyguodong to maintainers (#23067) 2023-02-22 18:32:00 +08:00
Makefile [CI] implementation: Woodpecker based CI 2023-03-18 11:19:00 +01:00
package-lock.json Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
package.json Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
playwright.config.js Update JS dependencies and eslint config (#21388) 2022-10-10 20:02:20 +08:00
vitest.config.js Update JS dependencies and eslint (#22190) 2022-12-20 17:15:47 -05:00
webpack.config.js Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00

Gitea: Docs

Join the chat at https://img.shields.io/discord/322538954119184384.svg

Hosting

These pages are hosted using netlifycms and get automatically updated on every push to the master branch.

Install

These pages use the Hugo static site generator. If you are planning to contribute you'll want to download and install Hugo on your local machine.

The installation of Hugo is out of the scope of this document, so please take the official install instructions to get Hugo up and running.

Development

To generate the website and serve it on localhost:1313 just execute this command and stop it with Ctrl+C:

make server

When you are done with your changes just create a pull request, after merging the pull request the website will be updated automatically.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2016 The Gitea Authors <https://gitea.io>