Files
2022-11-27 19:11:46 +01:00

23 lines
525 B
Python

import warnings
warnings.warn(
"mkdocs.commands.setup is never used in MkDocs and will be removed soon.", DeprecationWarning
)
try:
from mkdocs.commands.babel import (
compile_catalog,
extract_messages,
init_catalog,
update_catalog,
)
babel_cmdclass = {
'compile_catalog': compile_catalog,
'extract_messages': extract_messages,
'init_catalog': init_catalog,
'update_catalog': update_catalog,
}
except ImportError:
babel_cmdclass = {}