I'm running Sphinx 3.1.2 and building documentation with NumPy style docstrings. Currently, I have examples for each function that exist in separate .rst files but I would like to transfer them to the docstrings so that it will be easier for newcomers to my project to document additions. Is there a way that I can retain the separation in the final HTML output of the examples and other documentation for each function without keeping the separate example files?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…