pytho****@googl*****
pytho****@googl*****
2011年 2月 14日 (月) 00:06:22 JST
Revision: 3fafb94e47 Author: Naoki INADA <inada****@klab*****> Date: Sun Feb 13 07:00:39 2011 Log: Use sphinx-ja instead of svn.python.org/projects/sphinx http://code.google.com/p/python-doc-ja/source/detail?r=3fafb94e47 Modified: /Makefile /make.bat /tools/sphinx-build.py ======================================= --- /Makefile Sat Dec 4 23:20:33 2010 +++ /Makefile Sun Feb 13 07:00:39 2011 @@ -40,7 +40,7 @@ checkout: @if [ ! -d tools/sphinx ]; then \ echo "Checking out Sphinx..."; \ - svn checkout $(SVNROOT)/external/Sphinx-1.0.5/sphinx tools/sphinx; \ + hg clone https://sphinx-ja.python-doc-ja.googlecode.com/hg/ tools/sphinx; \ fi @if [ ! -d tools/docutils ]; then \ echo "Checking out Docutils..."; \ ======================================= --- /make.bat Sat May 8 22:05:30 2010 +++ /make.bat Sun Feb 13 07:00:39 2011 @@ -34,14 +34,16 @@ goto end :checkout -svn co %SVNROOT%/external/Sphinx-0.6.5/sphinx tools/sphinx +::svn co %SVNROOT%/external/Sphinx-0.6.5/sphinx tools/sphinx +hg clone https://sphinx-ja.python-doc-ja.googlecode.com/hg/ tools/sphinx svn co %SVNROOT%/external/docutils-0.6/docutils tools/docutils svn co %SVNROOT%/external/Jinja-2.3.1/jinja2 tools/jinja2 svn co %SVNROOT%/external/Pygments-1.3.1/pygments tools/pygments goto end :update -svn update tools/sphinx +::svn update tools/sphinx +hg --cwd tools/sphinx pull -uf svn update tools/docutils svn update tools/jinja2 svn update tools/pygments ======================================= --- /tools/sphinx-build.py Fri Dec 19 00:03:21 2008 +++ /tools/sphinx-build.py Sun Feb 13 07:00:39 2011 @@ -7,8 +7,13 @@ :license: Python license. """ +import os import sys +_sphinx_path = os.path.dirname(os.path.abspath(__file__)) + '/sphinx' +if os.path.isdir(_sphinx_path): + sys.path.insert(0, _sphinx_path) + if __name__ == '__main__': if sys.version_info[:3] < (2, 4, 0):