Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

adding show inheritance to autosummary template#11833

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

fredrik-1
Copy link
Contributor

This small edit make the inheritance show up in the docstring for classes when the default templateautosummary.rst is used. I think that it should be included.

@tacaswelltacaswell added this to thev3.0 milestoneAug 9, 2018
@tacaswell
Copy link
Member

In principle I am 👍 , but we need to check that this does not make the pages less readable.

@fredrik-1
Copy link
ContributorAuthor

Ok, so this didn't work on methods. I just thought that the directive should be ignored when it was not applicable. Lets see if I try to write it with if statements or just ignore this. I think that there are often better templates to use.

@fredrik-1fredrik-1force-pushed theautosummary_template branch 3 times, most recently from8d50bac to454d24eCompareAugust 10, 2018 06:47
@fredrik-1
Copy link
ContributorAuthor

I used an if statement. This is a small but I think useful change.

It just adds a line that shows the base classes.

With this pr.
figure_inheritance_new

Without this pr.
figure_inheritance_old

@tacaswell
Copy link
Member

oh, I miss understood what this would do (thought it was going to put in the gaphviz generated diagrams) 🐑 .

@tacaswelltacaswell merged commitf4ae5d1 intomatplotlib:masterAug 10, 2018
@fredrik-1fredrik-1 deleted the autosummary_template branchAugust 19, 2018 14:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.0.0
Development

Successfully merging this pull request may close these issues.

2 participants
@fredrik-1@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp