Skip to content

Conversation

@pushfoo
Copy link
Member

@pushfoo pushfoo commented May 27, 2023

Changes

  • Rewrite multiple docstrings for clarity & precision
  • Add links to other relevant sections of arcade & python doc
  • Add missing keyword arguments & type annotations to Scene.draw

How to test

  1. Build & serve doc locally with ./make.py serve
  2. Open http://localhost:8000/api_docs/api/sprite_scenes.html#arcade.Scene in your browser
  3. Check for anything wrong

Progress

  • Top-level docstring
  • Sprite list addition docstrings
  • Dunder docstrings
  • Drawing docstrings
  • get_* docstrings
  • Take care of move_* function docstrings
  • Find & fix any remaining docstrings & annotation in need of attention
  • Double check backtick formatting for variables displaying as italics

@pushfoo pushfoo force-pushed the improve_scene_object_docstrings branch from 20823bd to 048247e Compare June 2, 2023 14:23
@pushfoo pushfoo force-pushed the improve_scene_object_docstrings branch from 048247e to c598531 Compare June 6, 2023 00:10
@pushfoo pushfoo marked this pull request as ready for review June 6, 2023 01:53
@pvcraven pvcraven merged commit 7753e92 into pythonarcade:development Jun 6, 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.

2 participants