]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools: ceph-release-notes: escape _ for unintended links
authorKefu Chai <kchai@redhat.com>
Mon, 24 Jul 2017 10:16:05 +0000 (18:16 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 24 Jul 2017 10:18:24 +0000 (18:18 +0800)
commitc3607562be6043fc9e56af01b7641cdc69531db1
tree5be9860ab1b0ede9fe22f57d8af9f5b8036ea312
parent7536d2ecaee0c77cc7ad315276bb0aa48ffbb89a
tools: ceph-release-notes: escape _ for unintended links

foobar_ is taken as a hyper link by RST. so escape the underscores.
this change can avoid the warnings like:

ceph/doc/release-notes.rst:4593: ERROR: Unknown target name: "rgwgetusage".

where the source code looks like:
```
 rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_…(`issue#17499 <http://tracker.ceph.com/issues/17499>`_, `pr#11325 <http://github.com/ceph/ceph/pull/11325>\
`_, weiqiaomiao)
```
and apparently, "RGWGetUsage_" is not a hyper link here.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/script/ceph-release-notes