# HG changeset patch # User Mads Kiilerich # Date 2020-10-10 19:11:49 # Node ID fb37ca246267b971ae4cde920407d246911f36d6 # Parent bbd96bdf8372c0b59e47a1523570441a457ee259 docs: refer to EXTRA_MAPPINGS in extensions instead of hacking LANGUAGES_EXTENSIONS_MAP directly diff --git a/docs/usage/general.rst b/docs/usage/general.rst --- a/docs/usage/general.rst +++ b/docs/usage/general.rst @@ -118,8 +118,9 @@ Trending source files 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