mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Minor documentation tweak for file.replace state
Using a tilde with `:py:func:` causes it to display only the function name and not the entire `modulepath.funcname` as the link text. This means that it says `search()` instead of `re.search()`. While this is still a hyperlink that goes directly to the upstream Python documentation, using the full name as the link text should help alleviate confusion.
This commit is contained in:
parent
7ab1281a7d
commit
4d82146f8c
1 changed files with 1 additions and 1 deletions
|
@ -4189,7 +4189,7 @@ def replace(name,
|
|||
|
||||
pattern
|
||||
A regular expression, to be matched using Python's
|
||||
:py:func:`~re.search`.
|
||||
:py:func:`re.search`.
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue