How to install sphinxjp.themes.s6
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install sphinxjp.themes.s6
Lastest release
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
- 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