[Python-checkins] distutils2: Update configuration, now requires Sphinx 1.0

tarek.ziade python-checkins at python.org
Thu Aug 19 08:34:12 CEST 2010


tarek.ziade pushed 5ecfdecf26bb to distutils2:

http://hg.python.org/distutils2/rev/5ecfdecf26bb
changeset:   533:5ecfdecf26bb
user:        ?ric Araujo <merwok at netwok.org>
date:        Mon Aug 09 10:14:25 2010 +0200
summary:     Update configuration, now requires Sphinx 1.0
files:       .hgignore, docs/source/conf.py

diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -3,8 +3,9 @@
 __pycache__/
 *.so
 configure.cache
+MANIFEST
 build/
-MANIFEST
 dist/
+_static/
 *.swp
 .coverage
diff --git a/docs/source/conf.py b/docs/source/conf.py
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -3,7 +3,8 @@
 # Distutils2 documentation build configuration file, created by
 # sphinx-quickstart on Sun Feb 28 15:23:06 2010.
 #
-# This file is execfile()d with the current directory set to its containing dir.
+# This file is execfile()d with the current directory set to its containing
+# dir. It requires Sphinx 1.0.
 #
 # Note that not all possible configuration values are present in this
 # autogenerated file.
@@ -39,7 +40,7 @@
 
 # General information about the project.
 project = u'Distutils2'
-copyright = u'2010, Tarek Ziade and contributors'
+copyright = u'2010, Tarek Ziadé and contributors'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -48,7 +49,7 @@
 # The short X.Y version.
 version = '1.0a1'
 # The full version, including alpha/beta/rc tags.
-release = '1.0a1'
+release = '1.0a1+'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -97,14 +98,14 @@
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
 # documentation.
-#html_theme_options = {}
+html_theme_options = {'collapsiblesidebar': True}
 
 # Add any paths that contain custom themes here, relative to this directory.
 #html_theme_path = []
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".
-#html_title = None
+html_title = 'Distutils2'
 
 # A shorter title for the navigation bar.  Default is the same as html_title.
 #html_short_title = None
@@ -174,7 +175,7 @@
 # (source start file, target name, title, author, documentclass [howto/manual]).
 latex_documents = [
   ('index', 'Distutils2.tex', u'Distutils2 Documentation',
-   u'Tarek Ziade and contributors', 'manual'),
+   u'Tarek Ziadé and contributors', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list