Skip to content

Conversation

@maxrjones
Copy link
Member

Description of proposed changes

This PR fixes two warnings generated when building the docs:

pygmt/pygmt/src/wiggle.py:docstring of pygmt.src.wiggle.wiggle:54: WARNING: Inline substitution_reference start-string without end-string.
pygmt/pygmt/clib/session.py:docstring of pygmt.clib.session.Session.put_vector:9: WARNING: Unknown target name: "str".

Fixes #

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.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

@maxrjones maxrjones added the skip-changelog Skip adding Pull Request to changelog label May 22, 2021
@seisman seisman added this to the 0.4.0 milestone May 23, 2021
@seisman seisman added documentation Improvements or additions to documentation final review call This PR requires final review and approval from a second reviewer labels May 23, 2021
Copy link
Member

@core-man core-man left a comment

Choose a reason for hiding this comment

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

Great~

Copy link
Member

@michaelgrund michaelgrund left a comment

Choose a reason for hiding this comment

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

Looks good!

@weiji14 weiji14 merged commit b28448b into master May 23, 2021
@weiji14 weiji14 deleted the fix-sphinx-warnings branch May 23, 2021 23:43
@weiji14 weiji14 removed the final review call This PR requires final review and approval from a second reviewer label May 23, 2021
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
Specifically in pygmt/src/wiggle.py and pygmt/clib/session.py
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 skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants