From b620ba50c1618d0ee63bdf632684349345ed1b67 Mon Sep 17 00:00:00 2001 From: <> Date: Mon, 23 Oct 2023 19:33:16 +0000 Subject: [PATCH] Deployed e4afb18 with MkDocs version: 1.5.3 --- .nojekyll | 0 404.html | 494 ++ CNAME | 1 + __init__.py | 0 api/index.html | 2102 ++++++ assets/_mkdocstrings.css | 64 + assets/deck.svg | 381 + assets/demo.svg | 199 + assets/favicon.png | Bin 0 -> 1316 bytes assets/help.svg | 197 + assets/images/favicon.png | Bin 0 -> 1870 bytes assets/javascripts/bundle.94c44541.min.js | 29 + assets/javascripts/bundle.94c44541.min.js.map | 7 + assets/javascripts/lunr/min/lunr.ar.min.js | 1 + assets/javascripts/lunr/min/lunr.da.min.js | 18 + assets/javascripts/lunr/min/lunr.de.min.js | 18 + assets/javascripts/lunr/min/lunr.du.min.js | 18 + assets/javascripts/lunr/min/lunr.es.min.js | 18 + assets/javascripts/lunr/min/lunr.fi.min.js | 18 + assets/javascripts/lunr/min/lunr.fr.min.js | 18 + assets/javascripts/lunr/min/lunr.he.min.js | 1 + assets/javascripts/lunr/min/lunr.hi.min.js | 1 + assets/javascripts/lunr/min/lunr.hu.min.js | 18 + assets/javascripts/lunr/min/lunr.hy.min.js | 1 + assets/javascripts/lunr/min/lunr.it.min.js | 18 + assets/javascripts/lunr/min/lunr.ja.min.js | 1 + assets/javascripts/lunr/min/lunr.jp.min.js | 1 + assets/javascripts/lunr/min/lunr.kn.min.js | 1 + assets/javascripts/lunr/min/lunr.ko.min.js | 1 + assets/javascripts/lunr/min/lunr.multi.min.js | 1 + assets/javascripts/lunr/min/lunr.nl.min.js | 18 + assets/javascripts/lunr/min/lunr.no.min.js | 18 + assets/javascripts/lunr/min/lunr.pt.min.js | 18 + assets/javascripts/lunr/min/lunr.ro.min.js | 18 + assets/javascripts/lunr/min/lunr.ru.min.js | 18 + assets/javascripts/lunr/min/lunr.sa.min.js | 1 + .../lunr/min/lunr.stemmer.support.min.js | 1 + assets/javascripts/lunr/min/lunr.sv.min.js | 18 + assets/javascripts/lunr/min/lunr.ta.min.js | 1 + assets/javascripts/lunr/min/lunr.te.min.js | 1 + assets/javascripts/lunr/min/lunr.th.min.js | 1 + assets/javascripts/lunr/min/lunr.tr.min.js | 18 + assets/javascripts/lunr/min/lunr.vi.min.js | 1 + assets/javascripts/lunr/min/lunr.zh.min.js | 1 + assets/javascripts/lunr/tinyseg.js | 206 + assets/javascripts/lunr/wordcut.js | 6708 +++++++++++++++++ .../workers/search.f886a092.min.js | 42 + .../workers/search.f886a092.min.js.map | 7 + assets/quickstart_basic.svg | 136 + assets/quickstart_code.svg | 246 + assets/slide_loop_1.svg | 117 + assets/slide_loop_2.svg | 117 + assets/slide_loop_3.svg | 117 + assets/slide_via_decorator.svg | 119 + assets/style.css | 66 + assets/stylesheets/main.bd3936ea.min.css | 1 + assets/stylesheets/main.bd3936ea.min.css.map | 1 + assets/stylesheets/palette.356b1318.min.css | 1 + .../stylesheets/palette.356b1318.min.css.map | 1 + assets/triggers_animation_1.svg | 116 + assets/triggers_animation_2.svg | 116 + assets/triggers_animation_3.svg | 116 + assets/triggers_animation_4.svg | 116 + assets/triggers_reveal_1.svg | 118 + assets/triggers_reveal_2.svg | 119 + assets/triggers_reveal_3.svg | 120 + changelog/index.html | 1118 +++ contributing/index.html | 668 ++ examples/__init__.py | 0 examples/quickstart.py | 14 + examples/slide_loop.py | 25 + examples/slide_via_decorator.py | 18 + examples/triggers_animation.py | 32 + examples/triggers_reveal.py | 25 + gallery/index.html | 586 ++ generate_screenshots.py | 241 + index.html | 532 ++ objects.inv | 7 + presenting/index.html | 638 ++ quickstart/index.html | 707 ++ search/search_index.json | 1 + sitemap.xml | 48 + sitemap.xml.gz | Bin 0 -> 267 bytes slides/index.html | 886 +++ transitions/index.html | 791 ++ 85 files changed, 18803 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 CNAME create mode 100644 __init__.py create mode 100644 api/index.html create mode 100644 assets/_mkdocstrings.css create mode 100644 assets/deck.svg create mode 100644 assets/demo.svg create mode 100644 assets/favicon.png create mode 100644 assets/help.svg create mode 100644 assets/images/favicon.png create mode 100644 assets/javascripts/bundle.94c44541.min.js create mode 100644 assets/javascripts/bundle.94c44541.min.js.map create mode 100644 assets/javascripts/lunr/min/lunr.ar.min.js create mode 100644 assets/javascripts/lunr/min/lunr.da.min.js create mode 100644 assets/javascripts/lunr/min/lunr.de.min.js create mode 100644 assets/javascripts/lunr/min/lunr.du.min.js create mode 100644 assets/javascripts/lunr/min/lunr.es.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.he.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hu.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hy.min.js create mode 100644 assets/javascripts/lunr/min/lunr.it.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ja.min.js create mode 100644 assets/javascripts/lunr/min/lunr.jp.min.js create mode 100644 assets/javascripts/lunr/min/lunr.kn.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ko.min.js create mode 100644 assets/javascripts/lunr/min/lunr.multi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.nl.min.js create mode 100644 assets/javascripts/lunr/min/lunr.no.min.js create mode 100644 assets/javascripts/lunr/min/lunr.pt.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ro.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ru.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sa.min.js create mode 100644 assets/javascripts/lunr/min/lunr.stemmer.support.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sv.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ta.min.js create mode 100644 assets/javascripts/lunr/min/lunr.te.min.js create mode 100644 assets/javascripts/lunr/min/lunr.th.min.js create mode 100644 assets/javascripts/lunr/min/lunr.tr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.vi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.zh.min.js create mode 100644 assets/javascripts/lunr/tinyseg.js create mode 100644 assets/javascripts/lunr/wordcut.js create mode 100644 assets/javascripts/workers/search.f886a092.min.js create mode 100644 assets/javascripts/workers/search.f886a092.min.js.map create mode 100644 assets/quickstart_basic.svg create mode 100644 assets/quickstart_code.svg create mode 100644 assets/slide_loop_1.svg create mode 100644 assets/slide_loop_2.svg create mode 100644 assets/slide_loop_3.svg create mode 100644 assets/slide_via_decorator.svg create mode 100644 assets/style.css create mode 100644 assets/stylesheets/main.bd3936ea.min.css create mode 100644 assets/stylesheets/main.bd3936ea.min.css.map create mode 100644 assets/stylesheets/palette.356b1318.min.css create mode 100644 assets/stylesheets/palette.356b1318.min.css.map create mode 100644 assets/triggers_animation_1.svg create mode 100644 assets/triggers_animation_2.svg create mode 100644 assets/triggers_animation_3.svg create mode 100644 assets/triggers_animation_4.svg create mode 100644 assets/triggers_reveal_1.svg create mode 100644 assets/triggers_reveal_2.svg create mode 100644 assets/triggers_reveal_3.svg create mode 100644 changelog/index.html create mode 100644 contributing/index.html create mode 100644 examples/__init__.py create mode 100644 examples/quickstart.py create mode 100644 examples/slide_loop.py create mode 100644 examples/slide_via_decorator.py create mode 100644 examples/triggers_animation.py create mode 100644 examples/triggers_reveal.py create mode 100644 gallery/index.html create mode 100644 generate_screenshots.py create mode 100644 index.html create mode 100644 objects.inv create mode 100644 presenting/index.html create mode 100644 quickstart/index.html create mode 100644 search/search_index.json create mode 100644 sitemap.xml create mode 100644 sitemap.xml.gz create mode 100644 slides/index.html create mode 100644 transitions/index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..5f79fc1 --- /dev/null +++ b/404.html @@ -0,0 +1,494 @@ + + + +
+ + + + + + + + + + + + + + +spiel.Deck
+
+
+
+ dataclass
+
+
+Represents a "deck" of "slides": a presentation.
+ + + + +name: str
+
+
+ instance-attribute
+
+
+The name of the Deck
, which will be displayed in the footer.
default_transition: Type[Transition] | None = Swipe
+
+
+ class-attribute
+ instance-attribute
+
+
+The default slide transition animation;
+used if the slide being moved to does not specify its own transition.
+Defaults to the Swipe
transition.
+Set to None
for no transition animation.
slide(title='', bindings=None, transition=None)
+
+A decorator that creates a new slide in the deck,
+with the decorated function as the Slide.content
.
PARAMETER | +DESCRIPTION | +
---|---|
title |
+
+
+
+ The title to display for the slide. +
+
+ TYPE:
+ |
+
bindings |
+
+
+
+ A mapping of +keys +to callables to be executed when those keys are pressed, +when on this slide. +
+
+ TYPE:
+ |
+
transition |
+
+
+
+ The transition animation to use when moving to this slide.
+Set to
+
+ TYPE:
+ |
+
add_slides(*slides)
+
+Add Slide
s to a Deck
.
This function is primarily useful when adding multiple slides at once,
+probably generated programmatically.
+If adding a single slide, prefer the Deck.slide
decorator.
PARAMETER | +DESCRIPTION | +
---|---|
*slides |
+
+
+
+ The
+
+ TYPE:
+ |
+
spiel.Slide
+
+
+
+ dataclass
+
+
+Represents a single slide in the presentation.
+ + + + +title: str = ''
+
+
+ class-attribute
+ instance-attribute
+
+
+The title of the Slide
, which will be displayed in the footer.
content: Content = Text
+
+
+ class-attribute
+ instance-attribute
+
+
+A callable that is invoked by Spiel to display the slide's content.
+The function may optionally take arguments with these names:
+trigger
: The current Trigger
state, for use in animations.bindings: Mapping[str, Callable[..., None]] = field(default_factory=dict)
+
+
+ class-attribute
+ instance-attribute
+
+
+A mapping of +keys +to callables to be executed when those keys are pressed, +when on this slide.
+transition: Type[Transition] | None = Swipe
+
+
+ class-attribute
+ instance-attribute
+
+
+The transition animation to use when moving to this slide.
+Set to None
to use the
+Deck.default_transition
+of the deck this slide is in.
spiel.Triggers
+
+
+
+ dataclass
+
+
+Provides information to Slide.content
about the current slide's "trigger state".
Triggers
is a Sequence
of times
+(produced by time.monotonic
)
+that the current slide was triggered at.
+Note that the slide will be triggered once when it starts being displayed,
+so the first trigger time will be the time when the slide started being displayed.
now: float
+
+
+ instance-attribute
+
+
+The time that the slide content is being rendered at. +Use this is as a single consistent value to base relative times on.
+time_since_last_trigger: float
+
+
+ cached
+ property
+
+
+The elapsed time since the most recent trigger.
+time_since_first_trigger: float
+
+
+ cached
+ property
+
+
+The elapsed time since the first trigger, +which is equivalent to the time since the slide started being displayed.
+triggered: bool
+
+
+ cached
+ property
+
+
+Returns whether the slide has been manually triggered +(i.e., this ignores the initial trigger from when the slide starts being displayed).
+take(iter, offset=1)
+
+Takes elements from the iterable iter
+equal to the number of times in the Triggers
minus the offset.
PARAMETER | +DESCRIPTION | +
---|---|
iter |
+
+
+
+ The iterable to take elements from. +
+
+ TYPE:
+ |
+
offset |
+
+
+
+ This
+
+ TYPE:
+ |
+
RETURNS | +DESCRIPTION | +
---|---|
+
+ Iterator[T]
+
+ |
+
+
+
+ An iterator over the first |
+
spiel.Direction
+
+
+
+ Bases: Enum
An enumeration that describes which direction a slide transition +animation should move in: whether we're going to the next slide, +or to the previous slide.
+ + + + +Next = 'next'
+
+
+ class-attribute
+ instance-attribute
+
+
+Indicates that the transition should handle going to the next slide.
+Previous = 'previous'
+
+
+ class-attribute
+ instance-attribute
+
+
+Indicates that the transition should handle going to the previous slide.
+spiel.Transition
+
+
+
+ Bases: Protocol
A protocol that describes how to implement a transition animation.
+See Writing Custom Transitions +for more details on how to implement the protocol.
+ + + + +initialize(from_widget, to_widget, direction)
+
+A hook function to set up any CSS that should be present at the start of the transition.
+ + + +PARAMETER | +DESCRIPTION | +
---|---|
from_widget |
+
+
+
+ The widget showing the slide that we are leaving. +
+
+ TYPE:
+ |
+
to_widget |
+
+
+
+ The widget showing the slide that we are entering. +
+
+ TYPE:
+ |
+
direction |
+
+
+
+ The desired direction of the transition animation. +
+
+ TYPE:
+ |
+
progress(from_widget, to_widget, direction, progress)
+
+A hook function that is called each time the progress
+of the transition animation updates.
PARAMETER | +DESCRIPTION | +
---|---|
from_widget |
+
+
+
+ The widget showing the slide that we are leaving. +
+
+ TYPE:
+ |
+
to_widget |
+
+
+
+ The widget showing the slide that we are entering. +
+
+ TYPE:
+ |
+
direction |
+
+
+
+ The desired direction of the transition animation. +
+
+ TYPE:
+ |
+
progress |
+
+
+
+ The progress of the animation, as a percentage
+(e.g., initial state is
+
+ TYPE:
+ |
+
spiel.Swipe
+
+
+
+ Bases: Transition
A transition where the current and incoming slide are placed side-by-side +and gradually slide across the screen, +with the current slide leaving and the incoming slide entering.
+ + + + +spiel.present(deck_path, watch_path=None)
+
+Present the deck defined in the given deck_path
.
PARAMETER | +DESCRIPTION | +
---|---|
deck_path |
+
+
+
+
+ The file to look for a deck in. + |
+
watch_path |
+
+
+
+
+ When filesystem changes are detected below this path (recursively), reload the deck from the |
+
{"use strict";/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var Ha=/["'&<>]/;Un.exports=$a;function $a(e){var t=""+e,r=Ha.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i