docs: fix formatting errors in ARModel docstrings - #442
Conversation
|
Hi @alphaleporus! I just set up the repo locally (uv + editable + pre-commit) and ran a 1-epoch training to look around the code. Two tiny suggestions if you want to make it even better before merge:
Happy to help test it locally with Sphinx if you add conf.py later. Excited to contribute more docstring cleanups or Sphinx setup next! Best, |
|
Hi @Seai5, thanks for testing locally and the kind words! |
|
@alphaleporus please direct this PR into #252 PR branch or add a review there with your suggestions (since they are minor) |
|
Agreed, better to add to #252 |
Describe your changes
Summary of the changes:
This PR fixes strict reStructuredText (reST) formatting errors (specifically unexpected unindents and missing blank lines) in the docstrings of
ARModel(common_step,plot_examples, andaggregate_and_plot_metrics).Motivation and context:
As requested by @sadamov in PR #428, this PR isolates the docstring formatting fixes into a single, focused contribution. These formatting errors previously prevented Sphinx and other documentation generators from properly parsing the parameter and return blocks.
Dependencies:
None.
Issue Link
Relates to #61, #69 (Extracted from closed PR #428)
Type of change
Checklist before requesting a review
pullwith--rebaseoption if possible).Checklist for reviewers
Each PR comes with its own improvements and flaws. The reviewer should check the following:
Author checklist after completed review
reflecting type of change (add section where missing):
Checklist for assignee