summaryrefslogtreecommitdiff
path: root/shared-bindings/_stage
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-05-12 17:15:28 -0700
committerScott Shawcroft <scott@tannewt.org>2020-05-12 17:28:24 -0700
commit4e8de3c554024d3ac89e9ee77b958a6932a64bec (patch)
tree4606c0cf69cef8a033aa2d95fab0811ddf49123a /shared-bindings/_stage
parentc534a872a2b5a2d5e6b7543f56539afb24261443 (diff)
Swap sphinx to autoapi and the inline stubs
Diffstat (limited to 'shared-bindings/_stage')
-rw-r--r--shared-bindings/_stage/Layer.c5
-rw-r--r--shared-bindings/_stage/Text.c7
-rw-r--r--shared-bindings/_stage/__init__.c16
3 files changed, 5 insertions, 23 deletions
diff --git a/shared-bindings/_stage/Layer.c b/shared-bindings/_stage/Layer.c
index 437114cd3..0f8260e53 100644
--- a/shared-bindings/_stage/Layer.c
+++ b/shared-bindings/_stage/Layer.c
@@ -31,10 +31,7 @@
#include "supervisor/shared/translate.h"
//| class Layer:
-//| """.. currentmodule:: _stage
-//|
-//| :class:`Layer` -- Keep information about a single layer of graphics
-//| ==================================================================="""
+//| """Keep information about a single layer of graphics"""
//|
//| def __init__(self, width: int, height: int, graphic: bytearray, palette: bytearray, grid: bytearray):
//| """Keep internal information about a layer of graphics (either a
diff --git a/shared-bindings/_stage/Text.c b/shared-bindings/_stage/Text.c
index 8797f74db..b0ff1525c 100644
--- a/shared-bindings/_stage/Text.c
+++ b/shared-bindings/_stage/Text.c
@@ -31,13 +31,10 @@
#include "supervisor/shared/translate.h"
//| class Text:
-//| """.. currentmodule:: _stage
-//|
-//| :class:`Text` -- Keep information about a single text of text
-//| =============================================================="""
+//| """Keep information about a single grid of text"""
//|
//| def __init__(self, width: int, height: int, font: bytearray, palette: bytearray, chars: bytearray):
-//| """Keep internal information about a text of text
+//| """Keep internal information about a grid of text
//| in a format suitable for fast rendering
//| with the ``render()`` function.
//|
diff --git a/shared-bindings/_stage/__init__.c b/shared-bindings/_stage/__init__.c
index 6b5c4fd8b..6a5638185 100644
--- a/shared-bindings/_stage/__init__.c
+++ b/shared-bindings/_stage/__init__.c
@@ -34,22 +34,10 @@
#include "Layer.h"
#include "Text.h"
-//| """:mod:`_stage` --- C-level helpers for animation of sprites on a stage
-//| =====================================================================
-//|
-//| .. module:: _stage
-//| :synopsis: C-level helpers for animation of sprites on a stage
-//| :platform: SAMD21
+//| """C-level helpers for animation of sprites on a stage
//|
//| The `_stage` module contains native code to speed-up the ```stage`` Library
-//| <https://github.com/python-ugame/circuitpython-stage>`_.
-//| Libraries
-//|
-//| .. toctree::
-//| :maxdepth: 3
-//|
-//| Layer
-//| Text"""
+//| <https://github.com/python-ugame/circuitpython-stage>`_."""
//|
//| def render(x0: int, y0: int, x1: int, y1: int, layers: list, buffer: bytearray, display: displayio.Display, scale: int, background: int) -> Any:
//| """Render and send to the display a fragment of the screen.