Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scrap documentation #923

Merged
merged 3 commits into from Mar 24, 2019
Merged

Conversation

charlesej
Copy link
Contributor

Overview of changes:

  • Changed wording/formatting/code examples
  • Added/fixed code links and markdown
  • Added python reST field info for all functions

- Changed wording/formatting/code examples
- Added/fixed code links and markdown
- Added python reST field info for all functions
@illume
Copy link
Member

illume commented Mar 23, 2019

Nice one.

Copy link
Member

@illume illume left a comment

Choose a reason for hiding this comment

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

I wonder if we can mention examples/scrap_clipboard.py in here?

I'm not sure of the best way to link to examples, but the draw.rst includes it like this:

.. ## pygame.draw ##

.. figure:: code_examples/draw_module_example.png
   :scale: 50 %
   :alt: draw module example

   Example code for draw module.

.. literalinclude:: code_examples/draw_module_example.py

docs/reST/ref/scrap.rst Outdated Show resolved Hide resolved
@charlesej
Copy link
Contributor Author

I've added a link to the examples page and to the code in GitHub.

@illume illume merged commit 175ef0e into pygame:master Mar 24, 2019
@charlesej charlesej deleted the update-scrap-docs branch March 24, 2019 15:19
@illume illume mentioned this pull request Mar 31, 2019
4 tasks
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.

None yet

2 participants