stubber.publish.helpers ======================= .. py:module:: stubber.publish.helpers .. autoapi-nested-parse:: This module provides a function to retrieve the docstring of a Python module. Functions --------- .. autoapisummary:: stubber.publish.helpers.get_module_docstring Module Contents --------------- .. py:function:: get_module_docstring(fname: pathlib.Path) -> Union[str, Any] Retrieve the docstring of a Python module. :param fname: The path to the Python module file. :type fname: Path :returns: The docstring of the Python module, or None if no docstring is found. :rtype: Union[str, Any]