Skip to main content

A sphinx theme for generate S6 presentation. #sphinxjp

Project description

S6 style presetation 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 presetation slide control.

  • provide s6 theme for render presetation.

Setup

Make environment with easy_install:

$ easy_install sphinxjp.themes.s6

Convert Usage

setup conf.py with:

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

and run:

$ make html

Writing s6 directive

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 to target slide:

.. s6:: styles

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

This is a little complex example:

.. 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.4 or later (not support 3.x)

  • sphinx 1.0.x or later.

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

  • Design customize

  • Footer text customize

  • Easy writing animation setting by s6 directive.

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

  • Following view-port size option when renderer area resized.

Improve usability

  • hide iPhone’s address bar.

  • move page if location.href changed.

Limitation

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

Bugs

no bugs, maybe.

History

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxjp.themes.s6-0.2.0.tar.gz (305.5 kB view details)

Uploaded Source

File details

Details for the file sphinxjp.themes.s6-0.2.0.tar.gz.

File metadata

File hashes

Hashes for sphinxjp.themes.s6-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4d9dd5026f511526c1f1e63a73625a608b074254a7c6db0ed8ffba0dbf11af45
MD5 f2f7aa325a306a8e8de5ff1343875091
BLAKE2b-256 483a672023c978afc4896afd624609175176777d488fbbbb7fede1abf957613a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page