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:
parent
c29d578224
commit
7422b86569
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue