Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Oct 10, 2020

Description of proposed changes

This PR updates the autosummary templates, to show mini-galleries of all methods and functions at the end of the documentation page.

Here is the screenshot for the documentation of the pygmt.Figure.plot() method:

image

It's better to see the differences by comparing the API documentation of the current dev version and the preview of this branch.

References:

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

@seisman seisman requested a review from a team October 10, 2020 06:04
@seisman seisman added the documentation Improvements or additions to documentation label Oct 10, 2020
@seisman seisman added this to the 0.2.1 milestone Oct 10, 2020
@seisman seisman marked this pull request as ready for review October 10, 2020 14:14
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

This is brilliant! Thanks @seisman!

@seisman seisman merged commit 3613b19 into master Oct 11, 2020
@seisman seisman deleted the method-gallary branch October 11, 2020 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants