X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/c58cec9dff273b44c428cfaee24e5e3743c0034e..c326f3eb026d67650f79a6dda9a1a42c55d10a25:/cgitrc.5.txt diff --git a/cgitrc.5.txt b/cgitrc.5.txt index e21ece9..47850a8 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -150,6 +150,10 @@ enable-filter-overrides:: Flag which, when set to "1", allows all filter settings to be overridden in repository-specific cgitrc files. Default value: none. +enable-follow-links:: + Flag which, when set to "1", allows users to follow a file in the log + view. Default value: "0". + enable-http-clone:: If set to "1", cgit will act as an dumb HTTP endpoint for git clones. You can add "http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL" to clone-url @@ -186,6 +190,13 @@ enable-subject-links:: in commit view. Default value: "0". See also: "repo.enable-subject-links". +enable-html-serving:: + Flag which, when set to "1", will allow the /plain handler to serve + mimetype headers that result in the file being treated as HTML by the + browser. When set to "0", such file types are returned instead as + text/plain or application/octet-stream. Default value: "0". See also: + "repo.enable-html-serving". + enable-tree-linenumbers:: Flag which, when set to "1", will make cgit generate linenumber links for plaintext blobs printed in the tree view. Default value: "1". @@ -509,6 +520,10 @@ repo.enable-subject-links:: A flag which can be used to override the global setting `enable-subject-links'. Default value: none. +enable-html-serving:: + A flag which can be used to override the global setting + `enable-html-serving`. Default value: none. + repo.hide:: Flag which, when set to "1", hides the repository from the repository index. The repository can still be accessed by providing a direct path.