Python-Sphinx: How to document one file with functions?
问题 I have a python file with functions (lib.py), without classes. Each function has the following style: def fnc1(a,b,c): ''' This fonction does something. :param a: lalala :type a: str :param b: hahaha :type b: int :param c: hohoho :type c: int :rtype: int ''' print a d = b + c return d I just want to document each function (inputs and outputs) with Sphinx. After doing sphinx-quickstart, I defined the path in conf.py with my lib.py. But the output html file (welcome page) is empty. If I write