Skip to content

fix: add source to class object #120

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

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

jakekaplan
Copy link
Contributor

@jakekaplan jakekaplan commented Oct 4, 2021

Adds Source when instantiating Class in get_class_documentation

This feature in mkdocstrings allowed for sorting of members on render via members_order: source.

It relies on source.line_start existing on the objects that are being sorted.

For example a file of Classes will now render correctly with respect to the members_order: source

@pawamoy
Copy link
Member

pawamoy commented Oct 6, 2021

That's great, thanks @jakekaplan!

@pawamoy pawamoy merged commit 8931df8 into mkdocstrings:master Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants