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

Automatic example galleries in API pages #2136

Merged
merged 1 commit into from Sep 21, 2022

Conversation

josephmure
Copy link
Collaborator

Following the discussion at yesterday's meeting, I have implemented @mdelozzo's suggestion of adding minigalleries of exampls in API doc pages.

It seems to me there is no need to exclude often used classes like Point and Sample, because the minigallery is at the end of the page and thus unobstrusive. The minigallery is however mentioned in the table of contents at the top right-hand corner, so it can be quickly accessed if needed.

As an example, here is the top of the KrigingAlgorithm page:

image

And here the bottom of the KrigingAlgorithm page:

image

Closes #2115

Copy link
Member

@regislebrun regislebrun left a comment

Choose a reason for hiding this comment

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

Nice!

Copy link
Collaborator

@mbaudin47 mbaudin47 left a comment

Choose a reason for hiding this comment

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

Well done!

@jschueller jschueller merged commit b0d95d1 into openturns:master Sep 21, 2022
@mdelozzo
Copy link

The rendering is great. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add mini-galleries of examples on the API pages
6 participants