summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-11-10 01:22:31 +0000
committerGitHub <noreply@github.com>2022-11-09 20:22:31 -0500
commit99688ef994af34724a7120e97d09464297a673fe (patch)
treeecec24d6b8b903de102e951d12085f75239a7a5b /modules
parent5a6cba4cf43f9e5be3ca4a3ffd8bfa351c92acbd (diff)
downloadgitea-99688ef994af34724a7120e97d09464297a673fe.tar.gz
gitea-99688ef994af34724a7120e97d09464297a673fe.zip
Attempt clarify AppWorkPath etc. (#21656)
Attempt clarify the AppWorkPath in the documentation by using different notation and adding a section to the start of the cheat sheet. Fix #21523 Signed-off-by: Andrew Thornton <art27@cantab.net> Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/setting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 2e5bb17b6a..12558da494 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -88,10 +88,10 @@ var (
// AppWorkPath is used as the base path for several other paths.
AppWorkPath string
// AppDataPath is the default path for storing data.
- // It maps to ini:"APP_DATA_PATH" and defaults to AppWorkPath + "/data"
+ // It maps to ini:"APP_DATA_PATH" in [server] and defaults to AppWorkPath + "/data"
AppDataPath string
// LocalURL is the url for locally running applications to contact Gitea. It always has a '/' suffix
- // It maps to ini:"LOCAL_ROOT_URL"
+ // It maps to ini:"LOCAL_ROOT_URL" in [server]
LocalURL string
// AssetVersion holds a opaque value that is used for cache-busting assets
AssetVersion string