]> source.dussan.org Git - gitea.git/commitdiff
Add warning to docs in order to avoid template mismatches (#9411)
authorpseudocoder <borisovano@users.noreply.github.com>
Wed, 18 Dec 2019 15:48:33 +0000 (17:48 +0200)
committerAntoine GIRARD <sapk@users.noreply.github.com>
Wed, 18 Dec 2019 15:48:33 +0000 (16:48 +0100)
* 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

docs/content/doc/advanced/customizing-gitea.en-us.md

index 7c66991f69cc81c45ae0c836606728b14f87d96d..8db022772d0a979608b34ecf6a2df9495e072337 100644 (file)
@@ -65,7 +65,7 @@ Place the png image at the following path: `custom/public/img/avatar_default.png
 ## Customizing Gitea pages
 
 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
 matching source.