Mercurial > kallithea
changeset 8666:fb37ca246267
docs: refer to EXTRA_MAPPINGS in extensions instead of hacking LANGUAGES_EXTENSIONS_MAP directly
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 10 Oct 2020 21:11:49 +0200 |
parents | bbd96bdf8372 |
children | 072c0352dd36 |
files | docs/usage/general.rst |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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