]> Sergey Matveev's repositories - public-inbox.git/commit
cgit: improve handling of cgit data path
authorEric Wong <e@80x24.org>
Thu, 25 Apr 2019 07:57:06 +0000 (07:57 +0000)
committerEric Wong <e@80x24.org>
Thu, 25 Apr 2019 08:00:51 +0000 (08:00 +0000)
commit31f2f298fe245d5762101bc229416b26c4e85679
treebfe9fa5b5f4eb208de7784448bb3cc3da5a9a5ad
parent1b62a491cccb3c71d60962c798cf02c1b9344ce1
cgit: improve handling of cgit data path

Document `publicinbox.cgitdata' config directive, but allow it
to be unspecified and/or missing for installations which do not
wish to serve static data at all.

For users installing cgit from source to their home directory,
we can usually infer the cgit data path based on the cgit.cgi
binary path, even.
Documentation/public-inbox-config.pod
lib/PublicInbox/Cgit.pm