Coverage for src/mkdocstrings_handlers/python/__init__.py: 100.00%

4 statements  

« prev     ^ index     » next       coverage.py v7.10.3, created at 2025-08-14 23:22 +0200

1"""Python handler for mkdocstrings.""" 

2 

3from mkdocstrings_handlers.python._internal.config import ( 

4 AutoStyleOptions, 

5 GoogleStyleOptions, 

6 Inventory, 

7 NumpyStyleOptions, 

8 PerStyleOptions, 

9 PythonConfig, 

10 PythonInputConfig, 

11 PythonInputOptions, 

12 PythonOptions, 

13 SphinxStyleOptions, 

14 SummaryOption, 

15) 

16from mkdocstrings_handlers.python._internal.handler import PythonHandler, get_handler 

17from mkdocstrings_handlers.python._internal.rendering import ( 

18 AutorefsHook, 

19 Order, 

20 Tree, 

21 do_as_attributes_section, 

22 do_as_classes_section, 

23 do_as_functions_section, 

24 do_as_modules_section, 

25 do_backlink_tree, 

26 do_crossref, 

27 do_filter_objects, 

28 do_format_attribute, 

29 do_format_code, 

30 do_format_signature, 

31 do_get_template, 

32 do_multi_crossref, 

33 do_order_members, 

34 do_split_path, 

35 do_stash_crossref, 

36) 

37 

38__all__ = [ 

39 "AutoStyleOptions", 

40 "AutorefsHook", 

41 "GoogleStyleOptions", 

42 "Inventory", 

43 "NumpyStyleOptions", 

44 "Order", 

45 "PerStyleOptions", 

46 "PythonConfig", 

47 "PythonHandler", 

48 "PythonInputConfig", 

49 "PythonInputOptions", 

50 "PythonOptions", 

51 "SphinxStyleOptions", 

52 "SummaryOption", 

53 "Tree", 

54 "do_as_attributes_section", 

55 "do_as_classes_section", 

56 "do_as_functions_section", 

57 "do_as_modules_section", 

58 "do_backlink_tree", 

59 "do_crossref", 

60 "do_filter_objects", 

61 "do_format_attribute", 

62 "do_format_code", 

63 "do_format_signature", 

64 "do_get_template", 

65 "do_multi_crossref", 

66 "do_order_members", 

67 "do_split_path", 

68 "do_stash_crossref", 

69 "get_handler", 

70]