# HG changeset patch # User Mads Kiilerich # Date 1602357109 -7200 # Node ID fb37ca246267b971ae4cde920407d246911f36d6 # Parent bbd96bdf8372c0b59e47a1523570441a457ee259 docs: refer to EXTRA_MAPPINGS in extensions instead of hacking LANGUAGES_EXTENSIONS_MAP directly diff -r bbd96bdf8372 -r fb37ca246267 docs/usage/general.rst --- a/docs/usage/general.rst Sat Oct 10 13:16:59 2020 +0200 +++ b/docs/usage/general.rst Sat Oct 10 21:11:49 2020 +0200 @@ -118,8 +118,9 @@ Trending source files are calculated based on a predefined dictionary of known types and extensions. If an extension is missing or you would like to scan -custom files, it is possible to extend the ``LANGUAGES_EXTENSIONS_MAP`` -dictionary located in ``kallithea/config/conf.py`` with new types. +custom files, it is possible to add additional file extensions with +``EXTRA_MAPPINGS`` in your custom Kallithea extensions.py file. See +:ref:`customization`. Cloning remote repositories