mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Old helpers are completely broken for reST, Google and NumPy docstring formats. (cherry picked from commit 9ce7f986164ca7a61710eefab38934837a36f00b) IJ-CR-16877 GitOrigin-RevId: 34f27150854279ba98afb8bb23711e8a62fa58c0
20 lines
573 B
Python
20 lines
573 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
sphinxcontrib.napoleon._upstream
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Functions to help compatibility with upstream sphinx.ext.napoleon.
|
|
|
|
:copyright: Copyright 2013-2018 by Rob Ruana, see AUTHORS.
|
|
:license: BSD, see LICENSE for details.
|
|
"""
|
|
|
|
|
|
# Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
|
|
|
def _(message, *args):
|
|
"""
|
|
NOOP implementation of sphinx.locale.get_translation shortcut.
|
|
"""
|
|
return message
|