忙しい人のためのSphinx 入門 demo

4,871 views

Published on

Python札幌3.14で発表したときのスライドです。

忙しい人のためのSphinx 入門 demo

  1. 1. Sphinx demo @ t u t u t e n ( m o m o _ * )
  2. 2. SphinxreStructuredText
  3. 3. @tututen (momo_*) IT C C++ Boost
  4. 4. ←→ 294km
  5. 5. Sphinx
  6. 6. Sphinx 100sphinx-user.jp http://sphinx-users.jp/example.html http://sphinx.pocoo.org/examples.html
  7. 7. Slidesharesphinx ...
  8. 8. Windows http://sphinx-users.jp/gettingstarted/ install_windows_standalone.htmlMac $ sudo port install python-sphinx $ brew install sphinxUbuntu $ sudo aptitude install python-sphinx
  9. 9. sphinx-quickstart Enter
  10. 10. reStructuredTextreST(reSturucturedText) http://sphinx-users.jp/doc10/rest.htmldoctree
  11. 11. = -==============================----------------
  12. 12. - #--7.#.
  13. 13. .. code-block:: python print ‘hello world’pygments.. literalinclude :: hello.py
  14. 14. - + = - |+-------------------------------------------------+|python 3.14 |+===============+================+|name | contents |+-----------------------+-------------------------+|nakayoshix | reading |+------------------------+------------------------+|giginet | django |+------------------------+------------------------+
  15. 15. .. _sample::ref:`sample` ←:ref:` <sample>`
  16. 16. :`Yahoo! Japan<http://www.google.co.jp>`_Yahoo! Japan Google
  17. 17. .. image :: image/path.png :width: 800px
  18. 18. GooglePyPI
  19. 19. PyPI
  20. 20. https://twitter.com/#!/ianmlewis/status/111953196544557056
  21. 21. PyPI
  22. 22. PyPI ”sphinx theme”
  23. 23. sphinxjp.themes.bizstylesphinxjp.themes.sphinxjpsphinxjp.themes.trstylesphinxjp.themes.solarizedcloud_spthemez3c.recipe.sphinxdocsphinxjp.themes.htmlslidesphinxjp.themes.s6 (
  24. 24. PyPIPy

×