forgejo/modules
Gergely Nagy ae0635fd61
Correctly support linguist-documentation=false
If a documentation file is marked with a `linguist-documentation=false`
attribute, include it in language stats.

However, make sure that we do *not* include documentation languages as
fallback.

Added a new test case to exercise the formerly buggy behaviour.

Problem discovered while reviewing @KN4CK3R's tests from gitea#29267.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-02-26 14:18:33 +01:00
..
actions Implement some action notifier functions (#29173) 2024-02-19 22:58:32 +01:00
activitypub
analyze
assetfs
auth
avatar
base
cache
charset [FEAT] Enable ambiguous character detection in configured contexts 2024-02-23 13:12:17 +01:00
container
context Allow instance-wide disabling of forking 2024-02-25 12:00:17 +01:00
contexttest
csv
emoji
eventsource
generate
git Correctly support linguist-documentation=false 2024-02-26 14:18:33 +01:00
gitgraph
gitrepo
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
label
lfs
log
markup
mcaptcha
metrics
migration
nosql
optional
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository
secret
session
setting Allow instance-wide disabling of forking 2024-02-25 12:00:17 +01:00
sitemap
ssh
storage
structs Allow instance-wide disabling of forking 2024-02-25 12:00:17 +01:00
svg
sync
system
templates Refactor more code in templates (#29236) 2024-02-19 22:58:32 +01:00
test
testlogger
timeutil
translation Improve TrHTML and add more tests (#29228) 2024-02-19 22:58:33 +01:00
turnstile
typesniffer
updatechecker
upload
uri
user
util
validation
web
webhook