harshil21 · GitHub

@harshil21

Copy link Copy Markdown

Member

This PR does two things:

  1. Fixes a regression from Fixing failing sphinx builds #5124 and Update Ruff to v0.15.0 #5122 which causes no Shortcut admonitions to generate, and no keyword arguments for the bot methods to be inserted in the documentation.
  2. Expands the insertion logic to now also automatically add the Raises: block for bot methods which have a standard Raises message. Thus, the Raises: block in set_game_score is untouched, for example.

This helps reduce the LoC and makes implementing new API updates just a little bit more faster.

  • Manually check if doc built properly as intended

@harshil21

@harshil21

Open

aelkheir

aelkheir

@aelkheir aelkheir left a comment

edited

Loading

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

:shipit:
Just one comment.
PS:
‎changes/unreleased/5240.iJXyH8RNWNNQpC47SfNHzw.toml needs updating

Merged

@harshil21

@harshil21

Read the original on github.com ↗