testRST.expect 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. title_text
  2. ----------
  3. Command ``some_cmd()`` explicit cmake domain.
  4. Command ``some_cmd()`` without target.
  5. Command ``some_cmd`` with target.
  6. Command ``some_cmd_<cmd>()`` placeholder without target.
  7. Command ``some_cmd_<cmd>`` placholder with target.
  8. Command ``some_cmd()`` with parens.
  9. Command ``some_cmd(SUB)`` with subcommand.
  10. Command ``some_cmd(SUB)`` with subcommand and target.
  11. Command ``some_cmd (SUB)`` with space and subcommand and target.
  12. Command ``some command`` with space and target.
  13. Variable ``some variable`` space and target.
  14. Variable ``<PLACEHOLDER>_VARIABLE`` with leading placeholder.
  15. Variable ``VARIABLE_<PLACEHOLDER>`` with trailing placeholder.
  16. Variable ``<PLACEHOLDER>_VARIABLE`` with leading placeholder and target.
  17. Variable ``VARIABLE_<PLACEHOLDER>`` with trailing placeholder and target.
  18. Environment variable ``SOME_ENV_VAR``.
  19. Environment variable ``some env var`` with space and target.
  20. Generator ``Some Generator`` with space.
  21. Generator ``Some Generator`` with space.
  22. Inline literal ``~!@#$%^&*( )_+-=\\[]{}'":;,<>.?/``.
  23. Inline link Link Text.
  24. Inline link Link Text <With \-escaped Brackets>.
  25. Inline literal ``__`` followed by inline link Link Text.
  26. First TOC entry.
  27. |not replaced|
  28. Second TOC entry.
  29. CMake Module Content
  30. More CMake Module Content
  31. Bracket Comment Content
  32. [
  33. Bracket Comment Content
  34. ]
  35. .. cmake:command:: some_cmd
  36. Command some_cmd description.
  37. .. command:: other_cmd
  38. Command other_cmd description.
  39. .. cmake:variable:: some_var
  40. Variable some_var description.
  41. .. variable:: other_var
  42. Variable other_var description.
  43. Parsed-literal included without directive.
  44. Common Indentation Removed
  45. # replaced in parsed literal
  46. # Sample CMake code block
  47. if(condition)
  48. message(indented)
  49. endif()
  50. # |not replaced in literal|
  51. A literal block starts after a line consisting of two colons
  52. ::
  53. Literal block.
  54. Common Indentation Removed
  55. # |not replaced in literal|
  56. or after a paragraph ending in two colons::
  57. Literal block.
  58. Common Indentation Removed
  59. # |not replaced in literal|
  60. but not after a line ending in two colons::
  61. in the middle of a paragraph.
  62. A literal block can be empty::
  63. .. productionlist::
  64. grammar: `production`
  65. production: "content rendered"
  66. .. note::
  67. Notes are called out.
  68. substituted text with multiple lines becomes one line
  69. End of first include.
  70. Cross-include substitution text with ``some_cmd()`` reference.
  71. End of second include.