]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/conf.py: do not set html_use_smartypants explicitly 17127/head
authorKefu Chai <kchai@redhat.com>
Tue, 22 Aug 2017 03:24:12 +0000 (11:24 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 22 Aug 2017 03:24:13 +0000 (11:24 +0800)
because it's deprecated, and is on by default in the specified sphinx
version (v1.6.3):

this change silences following warning:

build-doc/virtualenv/local/lib/python2.7/site-packages/sphinx/environment/__init__.py:683:
RemovedInSphinx17Warning: html_use_smartypants option is deprecated.
Smart quotes are on by default; if you want to disable or customize
them, use the smart_quotes option in docutils.conf.
  RemovedInSphinx17Warning)

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/conf.py

index afcb778e85ed33784092e45e6338c0c12bb9f526..a1330f7996f1d85a4c909b592a9ef06b3a27cb0c 100644 (file)
@@ -34,7 +34,6 @@ html_theme_path = ['_themes']
 html_title = "Ceph Documentation"
 html_logo = 'logo.png'
 html_favicon = 'favicon.ico'
-html_use_smartypants = True
 html_show_sphinx = False
 html_sidebars = {
     '**': ['smarttoc.html', 'searchbox.html'],