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

Documentation Follow Up #957

Merged
merged 4 commits into from
Nov 14, 2023
Merged

Conversation

CSSFrancis
Copy link
Member


name: Documentation Follow Up
about: Cleaning up warnings in documentation Build


Checklist

  • Updated CHANGELOG.md
  • Marked as finished

@coveralls
Copy link

coveralls commented Oct 27, 2023

Coverage Status

coverage: 96.059%. remained the same
when pulling 9d12c39 on CSSFrancis:documentation_follow_up
into dd2cfe3 on pyxem:main.

@hakonanes
Copy link
Member

Reviewing...

Copy link
Member

@hakonanes hakonanes left a comment

Choose a reason for hiding this comment

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

Thank you for this follow-up. I have a few comments regarding reST syntax!

doc/user_guide/distributed_big_data.rst Outdated Show resolved Hide resolved
doc/user_guide/distributed_big_data.rst Outdated Show resolved Hide resolved
doc/user_guide/installing.rst Show resolved Hide resolved

Parameters
----------
roi: :obj:`hyperspy.roi.BaseInteractiveROI`
roi: :obj:`~hyperspy.roi.BaseInteractiveROI`
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need the reST Sphinx syntax here?

Suggested change
roi: :obj:`~hyperspy.roi.BaseInteractiveROI`
roi : hyperspy.roi.BaseInteractiveROI

Copy link
Member Author

Choose a reason for hiding this comment

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

I kind of like the explicit references. I think if the class isn't imported it seems like the Sphinx mapping doesn't work At least I think that is the case. Maybe if we add in type checking we could simplify things but I'd rather have things consistent for now.

----------
s: Signal2D
s: :class:`~hyperspy.api.signals.Signal2D`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
s: :class:`~hyperspy.api.signals.Signal2D`
s : hyperspy.api.signals.Signal2D

function. Default is 10
**kwargs:
Passed to the :meth:`get_time_series` function
kwargs:
Copy link
Member

Choose a reason for hiding this comment

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

I find **kwargs renders better in the docs than just kwargs. You can drop the colon here.

@CSSFrancis CSSFrancis mentioned this pull request Nov 5, 2023
10 tasks
@CSSFrancis CSSFrancis merged commit c370152 into pyxem:main Nov 14, 2023
14 checks passed
@CSSFrancis CSSFrancis mentioned this pull request Nov 14, 2023
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.

None yet

3 participants