docs/exts/docs_build/code_utils.py
#
#
from contextlib import suppress
def prepare_code_snippet(file_path: str, line_no: int, context_lines_count: int = 5) -> str:
    """
    Prepares code snippet.
    :param file_path: file path
    :param line_no: line number
    :param context_lines_count: number of lines of context.
    :return:
    """
    def guess_lexer_for_filename(filename):