1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-29 08:17:31 -04:00

Add warning to docs in order to avoid template mismatches (#9411)

* DOCS: add mention of swagger api reference

It's(swagger api link) mentioned vaguely in the FAQ but IMHO missing from API usage page.

* Add warning to avoid template mismatches 

Related to https://github.com/go-gitea/gitea/issues/9320
This commit is contained in:
pseudocoder 2019-12-18 17:48:33 +02:00 committed by Antoine GIRARD
parent 90057ca27e
commit 1b8a9197b3

View File

@ -65,7 +65,7 @@ Place the png image at the following path: `custom/public/img/avatar_default.png
## Customizing Gitea pages ## Customizing Gitea pages
The `custom/templates` folder allows changing every single page of Gitea. Templates The `custom/templates` folder allows changing every single page of Gitea. Templates
to override can be found in the [`templates`](https://github.com/go-gitea/gitea/tree/master/templates) directory of Gitea source. Override by to override can be found in the [`templates`](https://github.com/go-gitea/gitea/tree/master/templates) directory of Gitea source (Note: the example link is from `master` branch. Make sure to copy templates from same release you are using). Override by
making a copy of the file under `custom/templates` using a full path structure making a copy of the file under `custom/templates` using a full path structure
matching source. matching source.