RST: implement internal targets (#16614)

This commit is contained in:
Andrey Makarov 2021-01-11 21:51:04 +03:00 • committed by GitHub
commit fd5c8ef208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 379 additions and 101 deletions

View file

@ -206,7 +206,8 @@ $moduledesc
$content
"""
doc.listing_start = "<pre class=\"listing\">"
# $1 - number of listing in document, $2 - language (e.g. langNim), $3 - anchor
doc.listing_start = "<pre$3 class=\"listing\">"
doc.listing_end = "</pre>"
# * $analytics: Google analytics location, includes <script> tags