From: pseudocoder Date: Wed, 18 Dec 2019 15:48:33 +0000 (+0200) Subject: Add warning to docs in order to avoid template mismatches (#9411) X-Git-Tag: v1.11.0-rc1~115 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1b8a9197b39b7f9f0bf4c9335a1321c35ad19abe;p=gitea.git 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 --- diff --git a/docs/content/doc/advanced/customizing-gitea.en-us.md b/docs/content/doc/advanced/customizing-gitea.en-us.md index 7c66991f69..8db022772d 100644 --- a/docs/content/doc/advanced/customizing-gitea.en-us.md +++ b/docs/content/doc/advanced/customizing-gitea.en-us.md @@ -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.