From 854f568830f0d9dd99e2d7f60434bf425c1a828d Mon Sep 17 00:00:00 2001 From: Masayuki Igawa Date: Thu, 29 Jun 2017 12:25:06 +0900 Subject: [PATCH] Fix deprecated warning about use_html_smartypants config This commit fixes the deprecated warning about 'use_html_smartypants' config. We actually don't need to use it because when we quote command line options, the conversion doesn't happen. So, this commit just removes the config, and quotes the '--database-connection' option. Change-Id: Ib1470e5f6febd08a9757a8773076faf3e9cd0eab --- doc/source/conf.py | 4 ---- doc/source/user/index.rst | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 97a0fcc..edb0969 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -81,7 +81,3 @@ latex_documents = [ # Example configuration for intersphinx: refer to the Python standard library. #intersphinx_mapping = {'http://docs.python.org/': None} - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -html_use_smartypants = False diff --git a/doc/source/user/index.rst b/doc/source/user/index.rst index ed41f30..4f77307 100644 --- a/doc/source/user/index.rst +++ b/doc/source/user/index.rst @@ -33,7 +33,7 @@ There are several options for running coverage2sql, they can be listed with:: coverage2sql --help -The only required option is --database-connection. The options can either be +The only required option is ``--database-connection``. The options can either be used on the CLI, or put in a config file. If a config file is used you need to specify the location on the CLI.