summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorEric Fried <openstack@fried.cc>2019-10-31 18:38:21 -0500
committerStephen Finucane <stephenfin@redhat.com>2020-12-01 11:54:59 +0000
commit284c38bcf2624c8b82d77f2eb5a2015822f21aa0 (patch)
tree69c25c3145122593bc9dee5b04ff670c435eb20b /doc/source
parent8387b114e38f21922967ba982bb1a25289fdb3ab (diff)
downloadpython-openstackclient-284c38bcf2624c8b82d77f2eb5a2015822f21aa0.tar.gz
Let autoprogram-cliff know who's running
The autoprogram-cliff directive has a habit of producing text like This command is provided by the $me plugin. which doesn't make any sense. Cliff recently added a config option whereby consumers can let it know who $me is so it can suppress that message where appropriate (while still producing it for $plugin, as intended). Depends-On: https://review.opendev.org/692464 Change-Id: I0d580fb1d34dd56740eb6d976caa795e0e951047
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 2216ddd7..4b60ce4a 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -263,6 +263,9 @@ autoprogram_cliff_ignored = [
'--help', '--format', '--column', '--max-width', '--fit-width',
'--print-empty', '--prefix', '--noindent', '--quote']
+# Prevent cliff from generating "This command is provided by the
+# python-openstackclient plugin."
+autoprogram_cliff_app_dist_name = 'python-openstackclient'
# -- Options for sphinxcontrib.apidoc ----------------------------------------