Skip to content

[fix] Add docstring and parameter formatting improvements#766

Merged
chaoming0625 merged 4 commits into
masterfrom
docs
Aug 1, 2025
Merged

[fix] Add docstring and parameter formatting improvements#766
chaoming0625 merged 4 commits into
masterfrom
docs

Conversation

@Routhleck

Copy link
Copy Markdown
Member

Improved docstring formatting and parameter documentation in _delay.py and slow_points.py for better clarity and consistency. No functional changes were made to the code logic.

Improved docstring formatting and parameter documentation in _delay.py and slow_points.py for better clarity and consistency. No functional changes were made to the code logic.
- Convert docstring section headers from rst underline format to :: format
- Fixes sphinx_autodoc_typehints extension errors
- Only modify the problematic Examples, Parameters, Returns sections
- Affects 21 core files with docstring formatting issues
Replaces NumPy-style 'Parameters' and 'Returns' docstring sections (using '----------') with reStructuredText-style 'Parameters::' and 'Returns::' across multiple modules. This improves consistency and compatibility with documentation tools that expect reST formatting.
@Routhleck Routhleck requested a review from chaoming0625 July 31, 2025 17:13
@chaoming0625 chaoming0625 merged commit ee942e9 into master Aug 1, 2025
51 checks passed
@chaoming0625 chaoming0625 deleted the docs branch August 1, 2025 04:48
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.

2 participants