diff options
author | Manuel Klimek <klimek@google.com> | 2012-09-07 13:10:32 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2012-09-07 13:10:32 +0000 |
commit | 67619ff51b49ca34a4b6ee420af01b87fa63dcc5 (patch) | |
tree | 03ac54330062aa77abcf4e3186db9c5894970d7c /docs/tools | |
parent | 76dafa7e6487c0b51fadebd16bdefe0e0e23d595 (diff) |
Introduces anchors into LibASTMatchersReference.html.
This allows linking to LibASTMatchersRefernce.html#<matcher><N>Anchor to
link to the N'the declaration of a matcher and automatically expand
its documentation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/dump_ast_matchers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tools/dump_ast_matchers.py b/docs/tools/dump_ast_matchers.py index 83fc420c96..bc5f1a64a5 100644 --- a/docs/tools/dump_ast_matchers.py +++ b/docs/tools/dump_ast_matchers.py @@ -14,7 +14,7 @@ MATCHERS_FILE = '../../include/clang/ASTMatchers/ASTMatchers.h' # The subsequent row contains the documentation and is hidden by default, # becoming visible via javascript when the user clicks the matcher name. TD_TEMPLATE=""" -<tr><td>%(result)s</td><td class="name" onclick="toggle('%(id)s')">%(name)s</td><td>%(args)s</td></tr> +<tr><td>%(result)s</td><td class="name" onclick="toggle('%(id)s')"><a name="%(id)sAnchor">%(name)s</a></td><td>%(args)s</td></tr> <tr><td colspan="4" class="doc" id="%(id)s"><pre>%(comment)s</pre></td></tr> """ |