Merge "Remove :option:"
This commit is contained in:
commit
5949597d1e
|
@ -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