Skip to content
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

Fix templates documentation #84

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

arnaucasau
Copy link
Contributor

@arnaucasau arnaucasau commented Oct 19, 2023

Summary

This PR creates another template for the classes without inherited members simplifying the class.rst template file.

Also, In the original class.rst, we have two consecutive for, one for all methods, and another one for only the inherited_members. With this two for, we are duplicating the entries of the inherited methods (they appear two times in the page). In a previous pull request, I added an extra if but that removed the inherit_members that we had before. This PR fixes that problem.

@arnaucasau arnaucasau marked this pull request as ready for review October 19, 2023 16:53
@arnaucasau arnaucasau marked this pull request as draft October 19, 2023 16:58
@arnaucasau arnaucasau marked this pull request as ready for review October 19, 2023 16:59
@fretchen
Copy link
Collaborator

LGTM with reno file.

Copy link
Collaborator

@fretchen fretchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@arnaucasau
Copy link
Contributor Author

Thanks! I don't have write access, can you merge this please?

@fretchen fretchen merged commit 102f7cc into qiskit-community:main Oct 20, 2023
8 checks passed
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