X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fconf.py.in;fp=doc%2Fconf.py.in;h=4af1ff0d696847cb096cb199d71d6682afc250ae;hb=58937377e37effc15646598d52a2c1d4c50fd75e;hp=e032e175310a3db381c62480eca66c69cc2102c9;hpb=011a564a1a8966fafaf682006a4ee703b44fd350;p=modules%2Fyacs.git diff --git a/doc/conf.py.in b/doc/conf.py.in index e032e1753..4af1ff0d6 100644 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -12,6 +12,7 @@ # serve to show the default. import sys, os +import sphinx # If your extensions are in another directory, add it here. If the directory # is relative to the documentation root, use os.path.abspath to make it @@ -97,7 +98,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. -html_theme = '@SPHINX_THEME@' +html_theme = 'default' if sphinx.version_info[:2] < (1,3) else 'classic' # The name for this set of Sphinx documents. If None, it defaults to # " v documentation".