mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Merge topic 'help-command-anon-hyperlink'
119b2e62f8cmRST: match anonymous hyperlink syntax9ed206876ftestRST: add test cases for anonymous hyperlinks Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !12482
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ cmRST::cmRST(std::string docroot)
|
||||
"cmake-workflow-option|cpack-option|ctest-option|"
|
||||
"ctest-dashboard-option"
|
||||
"):`(<*([^`<]|[^` \t]<)*)([ \t]+<[^`]*>)?`")
|
||||
, InlineLink("`(<*([^`<]|[^` \t]<)*)([ \t]+<[^`]*>)?`_")
|
||||
, InlineLink("`(<*([^`<]|[^` \t]<)*)([ \t]+<[^`]*>)?`__?")
|
||||
, InlineLiteral("``([^`]*)``")
|
||||
, Substitution("(^|[^A-Za-z0-9_])"
|
||||
"((\\|[^| \t\r\n]([^|\r\n]*[^| \t\r\n])?\\|)(__|_|))"
|
||||
|
||||
@@ -33,6 +33,9 @@ Inline cref ``Link_Text_<Placeholder>``.
|
||||
Inline link Link Dest.
|
||||
Inline link Link Text.
|
||||
Inline link Link Text <With \-escaped Brackets>.
|
||||
Inline link anon Link Dest.
|
||||
Inline link anon Link Text.
|
||||
Inline link anon Link Text <With \-escaped Brackets>.
|
||||
Inline literal ``__`` followed by inline link Link Text.
|
||||
Inline literal ``~!@#$%^&*( )_+-=\\[]{}'":;,<>.?/``.
|
||||
|
||||
|
||||
@@ -40,6 +40,9 @@ Inline cref :cref:`Link_Text_<Placeholder> <ExternalDest>`.
|
||||
Inline link `Link Dest`_.
|
||||
Inline link `Link Text <ExternalDest>`_.
|
||||
Inline link `Link Text \<With \\-escaped Brackets\> <ExternalDest>`_.
|
||||
Inline link anon `Link Dest`__.
|
||||
Inline link anon `Link Text <ExternalDest>`__.
|
||||
Inline link anon `Link Text \<With \\-escaped Brackets\> <ExternalDest>`__.
|
||||
Inline literal ``__`` followed by inline link `Link Text <InternalDest_>`_.
|
||||
Inline literal ``~!@#$%^&*( )_+-=\\[]{}'":;,<>.?/``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user