-
Notifications
You must be signed in to change notification settings - Fork 104
[DOCS] Templates for API Reference #893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d9b475d
52aa870
6b898b9
495dc07
959ca09
80e04e7
6594d2e
4008bbd
4f32339
08a4e13
f6ce731
3d4356a
c6d01b8
f1085a2
c3997bf
9e6afa1
fa306dc
160ebf3
c3621e4
2fd2d2a
227fd8d
1d41c57
a00d3d2
dd3c488
90e70a6
77f59fd
a89501f
1f6c2af
2539307
4fe415f
bf9dac6
0971b05
ff1d7a7
986cef7
ad01274
927e8ad
e7d01f8
16bd4e1
687817b
23518d6
22437d3
f151271
2dfaf68
4bdd8e4
c3f3932
a68a1d9
2898d6f
9a9f65e
b7d08dd
7070224
6ad2837
6f136d7
86d9445
b6489bb
eb7e1eb
61034d0
607db8f
6bd87d6
4905b38
2420a0d
db144b5
e9c9425
d9c99f1
08484b2
56963ae
b45d315
c8b52bd
2b4f6fe
d964d47
c538e46
b4ab893
7e5787b
e6fa60d
3ae6580
4d10821
53fdcc0
b569a74
9fd5645
5be7e65
2474aa7
e1b916f
14f3b36
0076b70
ea6c3ca
a992b20
9436af7
8a49836
7de6f5d
1cbe1f7
f87d4d5
0c977d5
b5e3642
60f8446
fc3ff33
34f2412
8307368
316d507
f9e12c1
6db382e
7a160ab
a80cdaf
0f02135
3901057
c81cf3f
6b6e76c
822afaa
4852ad7
b26f524
4bff04a
cca9b17
fdbb269
90f3abb
8b0ccf6
006f47f
0b4d133
ace9aac
202d4cd
d5037b9
1af29ad
a8cb35e
4d2f81b
1b544bb
39919dd
e730e37
91e45de
096d0bc
4be4ff5
3b36d58
8e07795
db3e1d3
d627a2e
35b1456
1a8652b
8e5c48e
6c3add5
e158223
8413b48
2b65f1c
4ce0141
4539032
77c75aa
4347707
97b5355
b7ee056
67870ef
9899cb4
4e18e8c
3589154
80509e0
8382cf9
e3d9c35
82c88d5
d83b8ab
75d24b0
6f0217b
64dec23
fbdfc2f
3979da4
fdb2d04
170e611
b9ec940
0b26dd3
43db91d
85be0da
a1dbaa2
9c5097f
30232a2
6c7855c
eb4cf23
19f5598
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| {{ objname | escape | underline }} | ||
|
|
||
| .. currentmodule:: {{ module }} | ||
|
|
||
| .. autoclass:: {{ objname }} | ||
| :members: | ||
| :undoc-members: | ||
| :exclude-members: set_fit_request, set_score_request, set_transform_request, {{ attributes | join(', ') }} | ||
|
|
||
| {% set inherited = [] %} | ||
| {% for method in methods %} | ||
| {% if method in inherited_members and not method.startswith('_') %} | ||
| {% set _ = inherited.append(method) %} | ||
| {% endif %} | ||
| {% endfor %} | ||
|
|
||
| {% if inherited %} | ||
| .. rubric:: Inherited Methods | ||
|
|
||
| .. autosummary:: | ||
| :nosignatures: | ||
|
|
||
| {% for method in inherited %} | ||
| {{ objname }}.{{ method }} | ||
| {% endfor %} | ||
| {% endif %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| {{ objname | escape | underline }} | ||
|
|
||
| .. currentmodule:: {{ module }} | ||
|
|
||
| .. autoclass:: {{ objname }} | ||
| :members: | ||
| :undoc-members: | ||
| :exclude-members: set_fit_request, set_score_request, set_transform_request, {{ attributes | join(', ') }} | ||
|
|
||
| {% set inherited = [] %} | ||
| {% for method in methods %} | ||
| {% if method in inherited_members and not method.startswith('_') %} | ||
| {% set _ = inherited.append(method) %} | ||
| {% endif %} | ||
| {% endfor %} | ||
|
|
||
| {% if inherited %} | ||
| .. rubric:: Inherited Methods | ||
|
|
||
| .. autosummary:: | ||
| :nosignatures: | ||
|
|
||
| {% for method in inherited %} | ||
| {{ objname }}.{{ method }} | ||
| {% endfor %} | ||
| {% endif %} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| {{ fullname | escape | underline }} | ||
|
|
||
| .. currentmodule:: {{ module }} | ||
|
|
||
| .. autofunction:: {{ objname }} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two autosummary templates are completely identical files
Low Severity
class.rstandclass_inherited.rstare byte-for-byte identical. Theclass_inheritedtemplate is used forTriangleand correlation classes (presumably to show inherited members inline), but it lacks:inherited-members:in itsautoclassdirective. Either the template needs to differ fromclass.rst(e.g. by adding:inherited-members:) or one of the two files is redundant.Additional Locations (1)
docs/_templates/autosummary/class.rst#L1-L26Reviewed by Cursor Bugbot for commit 19f5598. Configure here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intentional. will vary in the future