Remove :option:

Sphinx 1.5 warns about :option: usage without .. option:: description.
Since we do not use .. option:: to describe parameter, remove
:option: from the tools.

Change-Id: I995ad6772b8cc65b8ff255a1c2dad96bdff8adbc
This commit is contained in:
Andreas Jaeger 2017-01-11 15:03:27 +01:00 committed by KATO Tomoyuki
parent c29d578224
commit 7422b86569
1 changed files with 0 additions and 6 deletions

View File

@ -14,7 +14,6 @@
import argparse
import os
import re
import subprocess
import sys
import yaml
@ -40,11 +39,6 @@ def quote_rst(line):
line = line.replace('\\', '\\\\').replace('`', '\\`').replace('*', '\\*')
if '--' in line:
line = re.sub(r'(--[^ .\'\\]*)', r":option:`\1`", line)
# work around for "`--`" at murano
line = line.replace('\\`:option:`--`\\`', '```--```')
if 'DEPRECATED!' in line:
line = line.replace('DEPRECATED!', '**DEPRECATED!**')
elif 'DEPRECATED' in line: