Skip to content

Convert Google-style docstrings to Sphinx format. Refs #60.#64

Merged
erikrose merged 1 commit into
mainfrom
erik/sphinx-docstrings
Mar 24, 2026
Merged

Convert Google-style docstrings to Sphinx format. Refs #60.#64
erikrose merged 1 commit into
mainfrom
erik/sphinx-docstrings

Conversation

@erikrose
Copy link
Copy Markdown
Member

  • Standardize on ":arg", which is shorter than ":param".
  • Standardize on ":return" and ":raise" which are more in line with PEP 257's "don’t write “Returns the pathname …”" admonition.

Actual Sphinx infra to follow.

* Standardize on ":arg", which is shorter than ":param".
* Standardize on ":return" and ":raise" which are more in line with PEP 257's "don’t write “Returns the pathname …”" admonition.
@erikrose erikrose requested a review from posborne March 24, 2026 17:12
@posborne
Copy link
Copy Markdown
Member

I imagine we'll have syntax stuff to work through later in the process, but from a cursory view looks good.

@erikrose
Copy link
Copy Markdown
Member Author

Me too. Ever forward!

@erikrose erikrose merged commit 5c7ce9f into main Mar 24, 2026
4 of 5 checks passed
@erikrose erikrose deleted the erik/sphinx-docstrings branch March 31, 2026 20:00
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