life with sphinx 2012 #sphinxconjp

35
Life with Sphinx in 2012 Sphinx-users.jp Takeshi KOMIYA

Upload: takeshi-komiya

Post on 23-Jan-2015

1.490 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Life with Sphinx 2012 #sphinxconjp

Life with Sphinxin 2012

Sphinx-users.jpTakeshi KOMIYA

Page 2: Life with Sphinx 2012 #sphinxconjp

Who am I ?

Works at Time Intermedia Corp.Communities:

Sphinx-users.jpPython mini hack-a-thon

Making some documentation toolsBlockdiag familySphinx extensions

googlechart, googlemaps, …

Twitter: @tk0miya

Page 3: Life with Sphinx 2012 #sphinxconjp

Welcome to SphinxConJP 2012

This is first Sphinx conference! (maybe)7 presentationsWe’ll do Sprint Day tomorrow

Enjoy Sphinx :-)

Page 4: Life with Sphinx 2012 #sphinxconjp

Question

Do you use Sphinx?1. don’t know about Sphinx2. I know, but had not use yet3. Installed, but not use yet4. Off course using!

Page 5: Life with Sphinx 2012 #sphinxconjp

Life with Sphinxin 2012

Sphinx-users.jpTakeshi KOMIYA

Page 6: Life with Sphinx 2012 #sphinxconjp

Agenda

1. What is Sphinx2. Sphinx at Present3. Future of Sphinx4. Sphinx community in Japan5. Summary

Page 7: Life with Sphinx 2012 #sphinxconjp

1.What is Sphinx

Page 8: Life with Sphinx 2012 #sphinxconjp

What is Sphinx

Documentation tool (by Georg Brandl)

OpenSource (under BSD License)

Page 9: Life with Sphinx 2012 #sphinxconjp

Characteristic of Sphinx

Convert TEXT to many formatsOf course, supports HTML and PDF

Page 10: Life with Sphinx 2012 #sphinxconjp

Characteristic of Sphinx

Page 11: Life with Sphinx 2012 #sphinxconjp

Characteristic of Sphinx

Simple mark-upsreST (reSTructured Text)like a Wiki notation

TOC tree based documentation

=======Caption=======

* Item1* Item2

Page 12: Life with Sphinx 2012 #sphinxconjp

Better in Sphinx

Text file (reST) as INPUTUse any editors and ENVs as you likeAll you can use VCSAuto generation docs using tools

Ex. schema2rst (DB definition)Extensible

Sphinx ext. and themesBetter than other tools

Page 13: Life with Sphinx 2012 #sphinxconjp

Worth in Sphinx

Have to convert in anytimeWrite, make, write, make…Need some utilities if you want

automationreST can represent only meanings

Does not support layoutingex. align, columns layout

Could not write graphs and figuresOffice suite uses hate this behavior :-p

Page 14: Life with Sphinx 2012 #sphinxconjp

Main usage of Sphinx

Development docsOSS docs (Ex. Python)Design docs, references

Web SiteBlogs, Corporate site

PublishingExpert Python Programing (ja)Python Professional Programming (ja)etc.

Page 15: Life with Sphinx 2012 #sphinxconjp

Comparation

MS-Word◯ supports layout (vertical, column

layout)◯ gives Spell/Syntax Checker◯ has usable update-history

manager◯ easy to write graphs and figures✕ hard to restructure docs✕ hard to write by many people✕ have to install Office suit

Page 16: Life with Sphinx 2012 #sphinxconjp

Comparation

MS-Excel◯ everybody can use. de fact

standard in JP.◯ easy to write graphs and figures✕ No doc-structures✕ very Hard to edit graphs and

figures…✕ Inprintable or hard to print✕ have to install Office suit

Page 17: Life with Sphinx 2012 #sphinxconjp

Comparation

Wiki◯ use only web browsers on writing◯ simple notation✕ could not write graphs and figures✕ be lost in semi-lattice documents✕ hard to change layout of docs

Page 18: Life with Sphinx 2012 #sphinxconjp

2.Sphinx at Present

Page 19: Life with Sphinx 2012 #sphinxconjp

Topics

Updating Sphinx-users.jp websiteAppearance of readthedocs.orgPatch for Japanese PDF conversionIncreasing Sphinx extensionsIncreasing Sphinx themesIncreasing Usecases

Page 20: Life with Sphinx 2012 #sphinxconjp

Updating Sphinx-users.jp website

http://sphinx-users.jp/Contents for beginersTips

PDF conversions, themes, etc.Introduce of ext.

Rev. lookup dict.Event Info

Page 21: Life with Sphinx 2012 #sphinxconjp

Appearance of readthedocs.org

Hosting service for Sphinx docsbuild and publish automaticallypush sources to github/bitbucket/etc

ONLYVery easy to publish docs

Page 22: Life with Sphinx 2012 #sphinxconjp

Patch for Japanese PDF

At once, PDF conversion is a hard to Japanese docs

Mr.Uchida works for problem1. Apply patch to Sphinx2. Install TeXLive (>= 2011)3. Edit conf.py4. Run `make latexpdfja’

He send pull-request, and we are waiting

More details, visit sphins-users.jp Now

Page 23: Life with Sphinx 2012 #sphinxconjp

Increasing Sphinx extensions

Embedding many mediaYoutube, Slideshare, Google Maps

Writing figuresblockdiag, seqdiag, plantuml

Supporting writing reSTwikitable, japanesesupport

etc.adding theme, adding HTML styles

Page 24: Life with Sphinx 2012 #sphinxconjp

Increasing Sphinx themes

theme.core ext. make themes pluggable

Themes for presentationsS6 (sphinxjp.themes.s6)htmlslide (sphinxjp.themes.htmlslide)impressjs

(sphinxjp.themes.impressjs)Cool themes

bizstyle (sphinxjp.themes.bizstyle)Solarized (sphinxjp.themes.solarized)

Page 25: Life with Sphinx 2012 #sphinxconjp

Increasing Usecases

Increasing Use case of OSSPython, frameworks and librariesUsed outside of Python

Symphony2, CakePHPSome campanies start using Sphinx

Share docs as HTML in teamDelivery docs as PDF to customers

Somebody uses to their official website

Page 26: Life with Sphinx 2012 #sphinxconjp

3.Future of Sphinx

Page 27: Life with Sphinx 2012 #sphinxconjp

Future of Sphinx

Merging “Japanese PDF support” patchBe able to generate PDF with no patchesAppeal to upstream

AutomationWe needs more tips (cf. Jenkins)

Theme for PDFWant to custom style of PDFBe able to change without TeX

knowledges

Page 28: Life with Sphinx 2012 #sphinxconjp

Future of Sphinx

Increase themes and extensions moreStill hard to edit figuresgives more choices to anyone

Web editor for SphinxEditing docs using web browser ONLYEasy to start editting (like Wiki)

UsecasesWe want to use in our work!

Page 29: Life with Sphinx 2012 #sphinxconjp

Future of Sphinx

This SphinxCon is first step to futureThemes of presentations in this

conferenceExtensionsThemesAutomationUse casesWeb editor

Page 30: Life with Sphinx 2012 #sphinxconjp

4.Sphinx Community in Japan

Page 31: Life with Sphinx 2012 #sphinxconjp

Sphinx-users.jp

Sphinx community in JapanMailing listTwitter (#sphinxjp)

Updating website and translated docsEvents

Sphinx+Translation Hack-a-thon (Tokyo)Sphinx Morning-meetup (Osaka)Sphinx Hands-onSphinxCon JP 2012 (Here!)

Page 32: Life with Sphinx 2012 #sphinxconjp

If you met problems in Sphinx…

Ask for Sphinx-users.jpTwitter, ML, Event, anyway ok

Ask questionsAnswer to questionsShare your ideas and tips

Page 33: Life with Sphinx 2012 #sphinxconjp

Next Events

SphinxCon Sprintin PyCon Sprint (Tomorrow)Hands-on or Sprint

Sphinx+Translation Hack-a-thon (Oct)10/13(Sat) at TimeIntermedia (Tokyo)Event page is on http://connpass.com/Hack-a-thon and Tea breaksWe open hack-a-thon almost every month

Page 34: Life with Sphinx 2012 #sphinxconjp

5.Summary

Page 35: Life with Sphinx 2012 #sphinxconjp

Summary

What is SphinxSphinx at PresentFuture of SphinxSphinx Community in JapanNext Event

Sphinx+Translation Hack-a-thon (Oct)

Enjoy Documentation!