[Groonga-commit] groonga/groonga [master] Document building now requires sphinx 1.0b2.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 6月 18日 (金) 15:16:31 JST


Tasuku SUENAGA a.k.a. gunyarakun	2010-06-18 06:16:31 +0000 (Fri, 18 Jun 2010)

  New Revision: 611f5e198471468b20f94c3155ffb31037388556

  Log:
    Document building now requires sphinx 1.0b2.

  Modified files:
    doc/ja/source/conf.py

  Modified: doc/ja/source/conf.py (+7 -3)
===================================================================
--- doc/ja/source/conf.py    2010-06-16 07:34:48 +0000 (76f69de)
+++ doc/ja/source/conf.py    2010-06-18 06:16:31 +0000 (b7ba64f)
@@ -11,7 +11,7 @@
 # All configuration values have a default; values that are commented out
 # serve to show the default.
 
-SPHINX_VERSION_REQUIRED = "0.6.5"
+SPHINX_VERSION_REQUIRED = "1.0b2"
 RST2PDF_VERSION_REQUIRED = "0.14.2"
 
 import re
@@ -25,8 +25,12 @@ from pkg_resources import parse_version
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #sys.path.append(os.path.abspath('.'))
 
-if parse_version(sphinx.__version__) < parse_version(SPHINX_VERSION_REQUIRED):
-  print 'sphinx version is old. %s is requred. exec "easy_install -U sphinx"' % SPHINX_VERSION_REQUIRED
+#if parse_version(sphinx.__version__) < parse_version(SPHINX_VERSION_REQUIRED):
+#  print 'sphinx version is old. %s is requred. exec "easy_install -U sphinx"' % SPHINX_VERSION_REQUIRED
+#  sys.exit(1)
+
+if sphinx.__version__ != SPHINX_VERSION_REQUIRED:
+  print 'sphinx version is different. %s is requred. exec "easy_install -U sphinx"' % SPHINX_VERSION
   sys.exit(1)
 
 # -- General configuration -----------------------------------------------------




Groonga-commit メーリングリストの案内
Back to archive index