Skip to main content

S6 style presentation theme for Sphinx.

Output Sample

output:

http://packages.python.org/sphinxjp.themes.s6/

source:

http://packages.python.org/sphinxjp.themes.s6/_sources/index.txt

Features

  • provide s6 directive for s6 presentation slide control.

  • provide s6 theme to render presentation.

Setup

Make environment with pip:

$ pip install sphinxjp.themes.s6

Convert Usage

setup conf.py with:

extensions = ['sphinxjp.themes.s6']
html_theme = 's6'

and run:

$ make html

Writing s6 directives

Slide paging effect:

.. s6:: effect slide

ul elements move from (0,0) to (100,0) position in 5.0 secs:

.. s6:: actions

    ['ul', 'move', '5.0', [0,0],[100,0]]

Set HTML styles on target slide:

.. s6:: styles

    h2: {fontSize:'150%', textAlign:'center', margin:'30% auto'}

This example is a bit more complex:

.. s6:: styles

    'ul/li': {display:'none'}

.. s6:: actions

    ['ul/li[0]', 'fade in', '0.3'],
    ['ul/li[1]', 'fade in', '0.3'],
    ['ul/li[2]', 'fade in', '0.3'],

Requirements

  • Python 2.5, 2.6, 2.7, 3.1, 3.2, 3.3

  • Sphinx 1.2 or later is recommended.

  • Sphinx < 1.2 requires sphinxjp.themecore package.

Presentation Environments

  • Internet Explorer 8.0

  • Firefox 3.6.x

  • Chrome / Safari

License

Licensed under the MIT license . See the LICENSE file for specific terms.

AUTHORS

Sphinx template, css, packaging

  • Takayuki SHIMIZUKAWA <shimizukawa AT gmail.com> sphinx-users.jp

s6.js

    1. 2007 Cybozu Labs, Inc.

TODOS

Features

  • Documentation: English ver.

  • Documentation: Desgin customization, slide examples

  • Key customization easier

  • Design customization easier

  • Footer text customization

  • Easy writing animation setting by s6 directive.

  • Provide default settings: i.e. slide animation type.

Improve usability

  • hide iPhone’s address bar.

  • move page if location.href changed.

  • hide Top click area for show index page that cover page thumbnails.

Limitation

  • local javascript file can’t work at default Chrome setting.

Bugs

no bugs, maybe.

History

0.3.0 (2013/12/10)

  • support Python-3.1, 3.2, 3.3.

  • support Sphinx-1.2 theme plugin feature. sphinxjp.themecore is no longer needed (if you use Sphinx-1.1.3, you need sphinxjp.themecore).

  • fix: footer box size now follow slide size.

  • reduce navigation layer area. It is obstacle sometime.

  • add js include feature by using app.add_javascript().

  • remove s6 node for make text, latex, .. not html should work.

  • refactoring: Move JS code from .html to .js file.

  • change: All styles in s6.css provide .sphinx class.

0.2.0 (2012/7/4)

  • fix: missing OL/LI number.

  • add: link-target click guard.

  • add: iPhone/iPad swipe feature.

  • add: navigation layer for smartphone and mouse.

  • add: resize view-port when browser window size are changed.

  • add: page jump by url hash (#id)

  • remove: save and load last displaying page by cookie (please use url hash).

0.1.3 (2011/7/6)

  • fix: namespace package declaration missing, thank you togakushi!

0.1.2 (2011/2/18)

  • include example (docs directory) again.

0.1.1 (2011/2/12)

  • add sample output

0.1.0 (2011/2/6)

  • first release

Release files for sphinxjp.themes.s6 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxjp.themes.s6 0.3.0
File Size Uploaded
sphinxjp.themes.s6-0.3.0.tar.gz 306.2 kB Details

Release files / sphinxjp.themes.s6-0.3.0.tar.gz

Download URL sphinxjp.themes.s6-0.3.0.tar.gz
Size 306.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce2c9a271e9269faac675630ca597fe26e66c5a47310374d8a0d377c388df954
BLAKE2b-256 checksum
How to use checksums
ba2508ae8c7cc944eeadf3530a787a27faa89a23f96883982cd787132d78bc1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page