|
31 | 31 | {% endif %} |
32 | 32 | {% with heading_level = heading_level + extra_level %} |
33 | 33 | {% for attribute in attributes|order_members(config.members_order, members_list) %} |
34 | | - {% if not attribute.is_alias or attribute.is_explicitely_exported or attribute.inherited %} |
| 34 | + {% if members_list is none and attribute.is_public(check_name=False) %} |
35 | 35 | {% include attribute|get_template with context %} |
36 | 36 | {% endif %} |
37 | 37 | {% endfor %} |
|
51 | 51 | {% endif %} |
52 | 52 | {% with heading_level = heading_level + extra_level %} |
53 | 53 | {% for class in classes|order_members(config.members_order, members_list) %} |
54 | | - {% if not class.is_alias or class.is_explicitely_exported or class.inherited %} |
| 54 | + {% if members_list is none and class.is_public(check_name=False) %} |
55 | 55 | {% include class|get_template with context %} |
56 | 56 | {% endif %} |
57 | 57 | {% endfor %} |
|
72 | 72 | {% with heading_level = heading_level + extra_level %} |
73 | 73 | {% for function in functions|order_members(config.members_order, members_list) %} |
74 | 74 | {% if not (obj.kind.value == "class" and function.name == "__init__" and config.merge_init_into_class) %} |
75 | | - {% if not function.is_alias or function.is_explicitely_exported or function.inherited %} |
| 75 | + {% if members_list is none and function.is_public(check_name=False) %} |
76 | 76 | {% include function|get_template with context %} |
77 | 77 | {% endif %} |
78 | 78 | {% endif %} |
|
94 | 94 | {% endif %} |
95 | 95 | {% with heading_level = heading_level + extra_level %} |
96 | 96 | {% for module in modules|order_members(config.members_order.alphabetical, members_list) %} |
97 | | - {% if not module.is_alias or module.is_explicitely_exported or module.inherited %} |
| 97 | + {% if members_list is none and module.is_public(check_name=False) %} |
98 | 98 | {% include module|get_template with context %} |
99 | 99 | {% endif %} |
100 | 100 | {% endfor %} |
|
119 | 119 |
|
120 | 120 | {% if not (obj.is_class and child.name == "__init__" and config.merge_init_into_class) %} |
121 | 121 |
|
122 | | - {% if not child.is_alias or child.is_explicitely_exported or child.inherited %} |
| 122 | + {% if members_list is none and child.is_public(check_name=False) %} |
123 | 123 | {% if child.is_attribute %} |
124 | 124 | {% with attribute = child %} |
125 | 125 | {% include attribute|get_template with context %} |
|
0 commit comments