ã·ã¹ãã éçºãä¿å®ãéç¨ã®ç¾å ´ã«ããã¦ããã¥ã¡ã³ãã¯å¿ é ã®ãã®ã§ãã ããããããã¥ã¡ã³ãã®ä½æã»ç¶æã«ã¯å¤ãã®ãã¯ã¼ããããããããã㥠ã¡ã³ããåå¨ããªããè³æãå¤ãã¾ã¾ã«ãªã£ã¦ãããªã©ã¨ãã£ãç¾ç¶ãå¤ã è³ã«ãã¾ãã æ¬åå¼·ä¼ã§ã¯ãããã®ããã¥ã¡ã³ãã§ããå©ç¨ããããå³ãã«ãã©ã¼ã«ã¹ãã ã¿ãã¿ããã¡ã«å³ãä½æã§ãããblockdiagãããç´¹ä»ãã¾ãã ãblockdiagãã¯ã·ã³ãã«ãªããã¹ãè¨è¿°ãããããã¯å³ããããã¯ã¼ã¯å³ãªã©ã® ç»åãã¡ã¤ã«ãåºåå¯è½ãªãªã¼ãã³ã½ã¼ã¹ã®ç»åçæãã¼ã«ã§ããæ¸ã ããããã¡ã³ããã³ã¹ãããããä¸å¿ã«ãã¶ã¤ã³ããã¦ãããå³ãä½ãã®ã« é ç½®ã並ã¹æ¿ãã«è¦å´ããå¿ è¦ã¯ããã¾ããã blockdiagã®ãµã³ãã«ã¯ãã¡ã ãã®ãããªç¹å¾´ãæã¤ãblockdiagãã¨ãã·ã³ãã«ãªè¨è¿°ã§ããã¥ã¡ã³ããä½æ ãããã¼ã«ãSphinxããçµã¿åããããã¨ã«ãã£ã¦
æ¸æ¥è¨@shibu.jp æ¸å·ãããã®æ¥è¨ã§ããã½ããã¦ã§ã¢éçºã¨ããã©ã¤ãããã¯ãä¸å¿ã«è¨äºãæ¸ãã¦ããã¾ãã ååãã¤ã³ã¹ãã¼ã«ã®ã¨ã³ããªã¼ãæ¸ãã¾ããããTornadeããã¥ã¡ã³ãã®ç¿»è¨³ãä¾ã«ãå®éã«Sphinxã§ã®ä½æ¥ã®æµãããè¦ããããã¨æãã¾ãã ã¾ãã¯ã¯ã¼ã¯ãã©ã«ããä½ã ä½æ¥ãããã«ã¯ããã¡ã¤ã«ãç½®ãå ´æãå¿ è¦ã§ããã½ã¼ã¹ã³ã¼ããè¨å®ãã¡ã¤ã«ããã«ãå¾ã®ææç©ãªã©ãªã©ãããããå¿ è¦ã«ãªãã¾ããããã§ãã©ã«ããä½æããå¿ è¦ãããã¾ããåã®å ´åã¯ç¿»è¨³ã¨ãã®ä½æ¥ã¯(ãã¼ã )/work/(ä½æ¥ãã©ã«ã)ã¨ããå ´æã§è¡ããã¨ãå¤ãã®ã§ããã®åæã§è©±ãããããã¾ããTornadoã®ç¿»è¨³ã®å ´åã¯ãã¼ã ã§ä½æ¥ãããã®ã§ãbitbucketã使ã£ã¦å ±æç°å¢ãç¨æãã¾ããã®ã§ãã®èª¬æãä¸ç·ã«ã å ±æãããå ´åã¯Mercurialãã¤ã³ã¹ãã¼ã«ãã¦ãã ãããWindowsã®å ´åã¯Tortoise
http://sphinx-users.jp/cookbook/pdf/rst2pdf.html ãåèã«ããã¦é ãã¾ããã æºå macportsã§sphinxã¨rst2pdfãå ¥ãã¾ãã % sudo port install sphinx % sudo port install rst2pdfä»å使ç¨ãããã¼ã¸ã§ã³ã¯ sphinx v1.0.4 rst2pdf 0.16 ã§ãã ãªããåèã«ããã¦ããã ãããã¼ã¸ã§ã¯IPAãã©ã³ããªã©ã使ã£ã¦ãã¾ãããMacãªã®ã§ãã©ã®ããã©ã³ãã使ãã¾ãããªã®ã§ããã©ã³ããå¥éã¤ã³ã¹ãã¼ã«ããå¿ è¦ã¯ããã¾ããã ããã¸ã§ã¯ãã®ä½æ ãã¤ãéãã« sphinx-quickstart ã³ãã³ããå©ç¨ãã¦ããã¥ã¡ã³ããä½ãã¾ãã conf.pyã®ç·¨é åè¿°ã®rst2pdfã®ãã¼ã¸ãåèã«ãã¦ãã ããã extentionã«è¿½å ããã»ãã¯ã pdf_doc
è¦å ãã®è¨äºã¯å¤ãçº easy_install ã®ä½¿ç¨çãç¾å¨ã§ã¯éæ¨å¥¨ã®èª¬æãããã¾ããã¤ã³ã¹ãã¼ã«å¨ãã«ã¤ãã¦ã¯ Windowsã¸ã®ã¤ã³ã¹ãã¼ã«ã®æé ãåç §ãã¦ãã ããã æ¥æ: 2010/05/21 ä½è : æ¸å·ããã æçµæ´æ°: 2021/02/12 Sphinxã®1.0ããã¯ãePubãã¡ã¤ã«ã®ãã«ããã§ããããã«ãªãã¾ããePubãã¡ã¤ã«ã¨ããã®ã¯ãiPadãã½ãã¼ã®é»åããã¯ãªã¼ãã¼ãªã©ã§å©ç¨ã§ãããé»åããã¯ã®ãã©ã¼ãããã§ããåççã«ã¯HTMLã«ã決ã¾ã£ãå½¢å¼ã®ã¡ã¿ãã¼ã¿ãå«ããã¡ã¤ã«ã追å ãã¦ãzipã§åºãã¦æ¡å¼µããepubã«ãããã®ã§ãããSphinxã使ãã°ç°¡åã«åºåãããã¨ãã§ãã¾ãã
æ¸æ¥è¨@shibu.jp æ¸å·ãããã®æ¥è¨ã§ããã½ããã¦ã§ã¢éçºã¨ããã©ã¤ãããã¯ãä¸å¿ã«è¨äºãæ¸ãã¦ããã¾ãã ãã®åã®ããã°ã®ã¨ã³ããªã¼ã«ãæ¸ãã¾ããããSphinxã¨ããã¹ããããããã¼ã«ãããã¾ããããã¥ã¡ã³ããã©ãã©ãæ¸ããããªã£ã¡ããã¹ãããªãã¼ã«ã§ããã§ãããæ®å¿µãªããã使ç¨ããããã«ã¯ã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ããPythonã£ã¦ä½ï¼ã¨ãã人ã«ã¯å°ã æ·å± ãé«ãããã解説ã®è¨äºãæ¸ãã¦ã¿ã¾ããã [STEP 1] Pythonããã¤ã³ã¹ãã¼ã«ããå ´å Windowsã§ã¯Pythonããã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ããä¸çºã§ã¤ã³ã¹ãã¼ã«ã§ããç°å¢ãæã£ã¦ãã人ã¯æå¾ã®æ¹ã®ã¤ã³ã¹ãã¼ã«æ³ã«é£ãã§ãã ãããã¾ããMac OS Xã¿ããã«ãæåããPythonããå ¥ã£ã¦ãã人ã¯[STEP 1]ã¯é£ã°ãã¦ãã ããã Windwsã®å ´å http://python.orgãéãã¾ããP
ãã¦ã³ãã¼ã ãã®ããã¥ã¡ã³ãã¯ãã¼ã¸ã§ã³1.0 (hg)ã®ããã®ãã®ã§ããã¾ã ãªãªã¼ã¹ããã¦ãã¾ããã Mercurialãªãã¸ããªã®ã³ã¼ããå©ç¨ããããPython Package Indexã«ãããªãªã¼ã¹ãã¼ã¸ã§ã³ãæ¢ãã¦ãã ããã çå? æè¦? Googleã°ã«ã¼ãã¸ã®åå : ãããã¯ãFreeNodeã®#python-docsãã£ã³ãã«ã¸ã©ãã ä½ãæ°ã¥ãããã¨ãããã°ãissue trackerã使ç¨ãã¦éç¥ãããã¨ãã§ãã¾ãã Sphinxã¯ç¥çã§ç¾ããããã¥ã¡ã³ããç°¡åã«ä½ããããã«ãããã¼ã«ã§ããGeorg Brandlã«ãã£ã¦éçºãããBSDã©ã¤ã»ã³ã¹ã®ãã¨ã§å ¬éããã¦ãã¾ãã ãã®ãã¼ã«ã¯ãã¨ãã¨ãæ°ããPythonã®ããã¥ã¡ã³ãã®å¤æã®ããã«ä½ããã¾ãããããã¦ãä»ã¾ã§ã«æ°ã ã®Pythonããä»ã®è¨èªã§éçºããã¦ããããã¸ã§ã¯ãã«å¯¾ãã¦ããã°ãããããã¥ã¡ã³ãã¼ã·
2008.03.23 SPHINX ã«ããããã¥ã¡ã³ãçæã¨ãPygment ã«ããã½ã¼ã¹ã³ã¼ãã®ãã¤ã©ã¤ã (317) ãã¼ãï¼ããã°ã©ãã³ã°è¨èª Python ã使ã(336) ã«ãã´ãªï¼Python SPHINX: PYTHON DOCUMENTATION GENERATOR ãè¦ããSPHINX ã¯ãGeorg Brandl æ°ã«ãã£ã¦ä½ããã Python ããã¸ã§ã¯ãã®ããã¥ã¡ã³ããçæãã¦ãããããã°ã©ã ãreStructuredText ã®ã½ã¼ã¹ã HTMLãWindows HTML HelpãLaTeXãPDF ã¨ãã£ãåºåå½¢å¼ã§åºåãã¦ããããreStructuredText ã®ãã¼ã¹ã¯ãDocutils ã使ã£ã¦ããããã ãå ã¯ãPython Documentation ã®ããã«ä½ããã¦ãä»ã§ã使ããããã«ããããã«æ¸ãç´ããããã®ã®ããã ã 対象ã¨ãªãã®ã¯ãåºæ¬çã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}