-
Notifications
You must be signed in to change notification settings - Fork 5
Visualization Doc. #29
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
Visualization Doc. #29
Conversation
| super().add_directive_header(sig) | ||
| self.add_line(" ", self.get_sourcename()) | ||
|
|
||
| def add_content( |
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.
Only this method is modified.
1257ce7 to
ee38cea
Compare
| @@ -0,0 +1,186 @@ | |||
| from enum import IntEnum | |||
| from typing import Any, Optional | |||
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.
| # Bottom border | ||
| self.add_line(f'{"="*key_max}{" "*col_gap}{"="*val_max}', source_name) | ||
| self.add_line("", source_name) | ||
| self.add_line("", source_name) |
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.
Used Varun's code for settings API.
906143f to
3589493
Compare
|
|
||
| .. currentmodule:: {{ module }} | ||
|
|
||
| .. autoclass:: {{ objname }} |
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.
I think if you include the :members: and :inherited-members: directives here, it will create the method docs.
doc/source/_ext/autodocclass.py
Outdated
| data_dicts[obj_name]["parent"] = parent_name | ||
| data_dicts[obj_name]["obj"] = clss | ||
| data_dicts[obj_name]["attr"] = {"Member": "Summary"} | ||
| data_dicts[obj_name]["cmd"] = {"command": "Summary"} |
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.
command starts lower-case which is different to the others.
65232e7 to
1f8387f
Compare
f8ac31b to
fc28950
Compare
9e2b1b3 to
dec2847
Compare
Doc for visualization

n