]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
man: skip directive starting with ".." 23580/head
authorKefu Chai <kchai@redhat.com>
Wed, 15 Aug 2018 05:28:53 +0000 (13:28 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 15 Aug 2018 05:28:54 +0000 (13:28 +0800)
commitad93d71c8fc4f00ef1821b855de181738324445e
tree55d8fef5794ff3205ef7834c886cc6389fb23481
parent4cf9e35cf5a3e7440651ec0634fd572b972fa0f6
man: skip directive starting with ".."

the target definition of hyper link looks like:

.. _a-reference-label:

there is chance that we need to add `:ref:` referencing man pages,
and add target definition at the beginning of the manapges for the
references. in that case, we need to skip the ref directives when
looking for the title of the manpage.

Signed-off-by: Kefu Chai <kchai@redhat.com>
man/conf.py