gitea/docs
Lanre Adelowo 9d8178b3ac Add option to close issues via commit on a non master branch (#5992)
* fixes #5957

* add tests to make sure config option is respected

* use already defined struct

* - use migration to make the flag repo wide not for the entire gitea instance
Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created

- fix copy/paste error in copyright header year and rearrange import

- use repo config instead of server config value to determine if a commit should close an issue

- update testsuite

* use global config only when creating a new repository

* allow repo admin toggle feature via UI

* fix typo and improve testcase

* fix fixtures

* add DEFAULT prefix to config value

* fix test
2019-02-10 21:27:19 +02:00
..
content Add option to close issues via commit on a non master branch (#5992) 2019-02-10 21:27:19 +02:00
layouts Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
scripts Fix building of docs with latest hugo version (#3856) 2018-04-28 23:46:05 +03:00
static Final CSP header fix (#4432) 2018-07-12 19:48:33 +08:00
.editorconfig Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
.gitignore Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
config.yaml Replaced docker docs with netlify deployment (#4420) 2018-07-11 16:43:33 +02:00
LICENSE Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
Makefile Ensure docs makefile downloads theme if failed before. (#3322) 2018-01-07 14:11:17 +02:00
README_ZH.md CN translation of README (#5049) 2018-10-18 09:44:29 +08:00
README.md Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00

Gitea: Docs

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

Hosting

This page is hosted on our infrastructure within Docker containers, it gets
automatically updated on every push to the master branch.

If you want to host this page on your own you can take our docker image
gitea/docs.

Install

This pages uses 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>