我正在使用Sphinx为python项目生成文档。输出html不会保留文档字符串中存在的换行符。示例:def testMethod(arg1,arg2): This is a test method
arg1: arg1 descriptionarg2: arg2 description
None print &qu
根据ToDo示例,我在pytest中为Sphinx文档创建了自己的扩展。这就是从每个pytest test_function的每个文档字符串中读取和收集"test_summary“。现在,我喜欢将这些test_summaries收集到自己的文件中。现在的示例: File collection_of_test_summaries:
This is the test summary one 这也起作用了。This i