diff options
| author | Théo Zimmermann | 2020-03-23 16:40:24 +0100 |
|---|---|---|
| committer | Théo Zimmermann | 2020-03-23 16:40:24 +0100 |
| commit | b079040702d34ab06a0b1da2893d739e04477b78 (patch) | |
| tree | 58e2dcc592ed1dee03c43ca6da7f619f89f30325 /doc | |
| parent | 154e75bb619f7d9d288f7e7ec488e69463e0673a (diff) | |
| parent | 7d5130835c8d768f96399c958b8171c88e00002d (diff) | |
Merge PR #11888: Fix broken links in prodn:: in doc
Reviewed-by: Zimmi48
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/tools/coqrst/coqdomain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tools/coqrst/coqdomain.py b/doc/tools/coqrst/coqdomain.py index 84f32e187b..0b94b0d675 100644 --- a/doc/tools/coqrst/coqdomain.py +++ b/doc/tools/coqrst/coqdomain.py @@ -519,7 +519,7 @@ class ProductionObject(CoqObject): row = nodes.inline(classes=['prodn-row']) entry = nodes.inline(classes=['prodn-cell-nonterminal']) if lhs != "": - target_name = 'grammar-token-' + lhs + target_name = 'grammar-token-' + nodes.make_id(lhs) target = nodes.target('', '', ids=[target_name], names=[target_name]) # putting prodn-target on the target node won't appear in the tex file inline = nodes.inline(classes=['prodn-target']) |
