diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-11-09 13:58:34 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-11-09 13:58:34 +0400 |
commit | 655f7ded1993fb05f1e3a4931193feda1f2df1d2 (patch) | |
tree | 45886f99f13e9629811817d7070be8c0cc5af423 /scripts | |
parent | 07512f50bd5c4c3265c3974a973afc4c8cdd92ac (diff) |
Handle references
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/parse-faq.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/parse-faq.py b/scripts/parse-faq.py index babc567217..e2b536a3fb 100644 --- a/scripts/parse-faq.py +++ b/scripts/parse-faq.py @@ -55,6 +55,8 @@ def format_content(tag, ignore_links = False, skip = (), document_mode = False): out.append('see :ref:`%s`' % href[1:]) elif 'FAQ' in content: out.append(':ref:`%s`' % href[1:]) + else: + out.append(':ref:`%s`' % href[1:]) else: out.append('`%s <%s>`_' % (content, href)) continue |