Skip to content

Commit

Permalink
Add note about suggesting more Zero libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
lordmauve committed Feb 28, 2018
1 parent 87b9747 commit 01fd550
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
12 changes: 11 additions & 1 deletion doc/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,28 @@ div.sphinxsidebar h3 a {


.admonition.warning,
.admonition.caution,
.admonition.tip {
color: white;
background-color: #3a76a8;
background-color: silver;
border: none;
border-radius: 6px;
padding: 20px 30px;
}

.admonition.tip {
background-color: #3a76a8;
}

.admonition.warning {
background-color: #b83f3f;
}

.admonition.caution {
background-color: #ffc238;
color: black;
}

.admonition.warning a {
color: red;
border-bottom: none;
Expand Down
12 changes: 10 additions & 2 deletions doc/other-libs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Network Zero
`Network Zero`_ makes it simpler to have several machines or several processes
on one machine discovering each other and talking across a network.

.. tip::
.. caution::

If you want to use Network Zero with Pygame Zero, make sure you don't let
it **block** (stop everything while waiting for messages). This will
Expand Down Expand Up @@ -45,7 +45,7 @@ Purpose Input/Output (GPIO) pins on a `Raspberry Pi`_.
GPIO Zero generally runs in its own thread, meaning that it will usually work
very well with Pygame Zero.

.. tip::
.. caution::

When copying GPIO Zero examples, do not copy the ``time.sleep()`` function
calls or ``while True:`` loops, as these will stop Pygame Zero animating
Expand All @@ -71,3 +71,11 @@ Adventurelib cannot currently be combined with Pygame Zero.


.. _Adventurelib: https://adventurelib.readthedocs.io/


.. tip::

Know of another library that belongs here?

`Open an issue <https://github.com/lordmauve/pgzero/issues/new>`_ on the
issue tracker to let us know!

0 comments on commit 01fd550

Please sign in to comment.