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

BUG fixed (#100, #102) #109

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Start of gio_slides (Google I/O 2012+) user documentation
  • Loading branch information
Albert Mietus authored and Albert Mietus committed Jul 12, 2015
commit a009582ee4a6231b77a17f25459879b694b3be91
66 changes: 66 additions & 0 deletions docs/gio_slides.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
================
Google IO slides
================

The theme ``slides2`` enables a modern slidedeck, based on the one Google introduced for I/O 2012;
and still updates. It has support for mobile/touch devices too. But it not fully compatible with
the (original) `slides` and `single-level` themas.

Currently the options are partly described in the :ref:`original documentation
<org_doc_gio_slides>` and partly here. This page is work in progress (as is the code support).

Presenting
**********

For *presenter-mode*, **start** the page with the suffix `?presentme=true`; use an URL without
page-suffix (#<no>). The keyboard option 'c' does not (yet) work. In this mode, two windows are
shown, typically on 2 (physical) screens: a normal one for the audience, and one with more info for
the presenter.

Note: presenter-mode and presentation-links don't work correctly. Links are (only) clickable in the
'audience' window; they open the presentation in a new tab/window, bu no presenter-window will
pop-up!

Keyboard control
=================

.. note:: The action-keys are hardcodes in ``js/slide-deck.js``
(function: :js:func:`SlideDeck.prototype.onBodyKeyDown_` )

Navigation
----------

============ =================================== ===============
*Action* *Keys* *Remarks*
------------ ----------------------------------- ---------------
**Next** RightArrow, Space, PgDn, DownArrow GoTo next slide
**Back** LeftArrow, Backspace, PgUp, UpArrow
============ =================================== ===============



Toggles
-------

============ ======================== ========================================================
*Key* *Action* *Remarks*
------------ ------------------------ --------------------------------------------------------
**w** wide/narrow-screen change width of the slide, dynamically
**o** overview mode Show all slides as miniatures
*<Enter>* overview mode Displays the 'overview'-class, when available
**p** show speaker notes if they're on the current slide
**f** fullscreen viewing when browser supports it; not on Safari)
**h** code highlighting XXX
============ ======================== ========================================================

Keys are not case-sensitive. Most options can be toggled 'off' with **ESC** (has no effect on wide/narrow).

NOTES
*****

* Each slidedeck (file) will automatically become a title- and end-slide. Both will have an icon,
that should be named ``title_icon.png`` and ``end_icon.png`` and should be places in the
``_static/slides2/`` directory. Those images will be (css) scaled, to 128*128 pixels (by default;
this can be changed in CSS XXX).
* Do **NOT** add a newline (`\n`) in the title (version/releases string). It will break the slides;
and shows *noting*
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Hieroglyph is an extension for `Sphinx`_ which builds HTML slides from
getting-started
styling
themes
gio_slides
advanced
config
theme-creation
Expand Down Expand Up @@ -72,6 +73,7 @@ Related Projects
getting-started
styling
themes
gio_slides
advanced
config
theme-creation
Expand Down
4 changes: 3 additions & 1 deletion docs/themes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ Hieroglyph includes some classes that for styling slides:
from the right to left.


.. _org_doc_gio_slides:

Slides2
=======

The ``slides2`` theme was added in Hieroglyph 0.7, and as based on the
`Google I/O 2012+`_ HTML slide templates.
`Google I/O 2012+`_ HTML slide templates. Also see: :doc:`gio_slides`

Theme Options
-------------
Expand Down