From 19d61ef43ab0296764b89ad5ba33891c76f8754c Mon Sep 17 00:00:00 2001 From: Prabha Kylasamiyer Sundara Rajan Date: Wed, 12 Feb 2025 18:11:54 +0530 Subject: [PATCH 1/3] Prabha defeats if::def statement --- docs/cli-guide/master.adoc | 2 ++ docs/topics/conditional-a.adoc | 20 ++++++++++++++++++++ docs/topics/conditional-b.adoc | 20 ++++++++++++++++++++ docs/topics/conditional-c.adoc | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 docs/topics/conditional-a.adoc create mode 100644 docs/topics/conditional-b.adoc create mode 100644 docs/topics/conditional-c.adoc diff --git a/docs/cli-guide/master.adoc b/docs/cli-guide/master.adoc index 57ef608e28..06af125756 100644 --- a/docs/cli-guide/master.adoc +++ b/docs/cli-guide/master.adoc @@ -29,6 +29,8 @@ For more information about use cases and migration paths, see the link:https://d // About the {CLINameTitle} include::topics/about-cli.adoc[leveloffset=+2] +include::topics/conditional-c.adoc[leveloffset=+2] + == Installing and Running the CLI // Install the CLI diff --git a/docs/topics/conditional-a.adoc b/docs/topics/conditional-a.adoc new file mode 100644 index 0000000000..583e490d03 --- /dev/null +++ b/docs/topics/conditional-a.adoc @@ -0,0 +1,20 @@ +// Module included in the following assemblies: +// +// * docs/cli-guide/master.adoc +// * docs/getting-started-guide/master.adoc +:env-github: + +:_content-type: CONCEPT +[id="conditional-a_{context}"] += Conditional A + +github github github github github github github github github github github github github github github github github + + +The {CLIName} is a command-line tool in the {ProductName} that you can use to assess and prioritize migration and modernization efforts for applications. It provides numerous reports that highlight the analysis without using the other tools. The {CLIName} includes a wide array of customization options. By using the {CLIName}, you can tune {ProductShortName} analysis options or integrate with external automation tools. + +ifndef::cli-guide[] +For more information about using the {CLIName}, see link:{ProductDocUserGuideURL}[_{UserCLIBookName}_]. +endif::cli-guide[] + +:!env-github: \ No newline at end of file diff --git a/docs/topics/conditional-b.adoc b/docs/topics/conditional-b.adoc new file mode 100644 index 0000000000..0250d75acb --- /dev/null +++ b/docs/topics/conditional-b.adoc @@ -0,0 +1,20 @@ +// Module included in the following assemblies: +// +// * docs/cli-guide/master.adoc +// * docs/getting-started-guide/master.adoc +:env-gitlab: + +:_content-type: CONCEPT +[id="conditional-b_{context}"] += Conditional B + +gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab gitlab + + +The {CLIName} is a command-line tool in the {ProductName} that you can use to assess and prioritize migration and modernization efforts for applications. It provides numerous reports that highlight the analysis without using the other tools. The {CLIName} includes a wide array of customization options. By using the {CLIName}, you can tune {ProductShortName} analysis options or integrate with external automation tools. + +ifndef::cli-guide[] +For more information about using the {CLIName}, see link:{ProductDocUserGuideURL}[_{UserCLIBookName}_]. +endif::cli-guide[] + +:!env-gitlab: diff --git a/docs/topics/conditional-c.adoc b/docs/topics/conditional-c.adoc new file mode 100644 index 0000000000..2accad1503 --- /dev/null +++ b/docs/topics/conditional-c.adoc @@ -0,0 +1,33 @@ +// Module included in the following assemblies: +// +// * docs/cli-guide/master.adoc +// * docs/getting-started-guide/master.adoc +:env-gitlab1: + +:_content-type: CONCEPT +[id="conditional-c_{context}"] += Conditional C + +The {CLIName} is a command-line tool in the {ProductName} that you can use to assess and prioritize migration and modernization efforts for applications. It provides numerous reports that highlight the analysis without using the other tools. The {CLIName} includes a wide array of customization options. By using the {CLIName}, you can tune {ProductShortName} analysis options or integrate with external automation tools. + +include::conditional-a.adoc[leveloffset=+1] +include::conditional-b.adoc[leveloffset=+1] + + +ifndef::cli-guide[] +For more information about using the {CLIName}, see link:{ProductDocUserGuideURL}[_{UserCLIBookName}_]. +endif::cli-guide[] + +ifdef::env-github1[] +This content is for GitHub only. +endif::env-github1[] + +ifdef::env-gitlab[] +This content is for GitLab only. +endif::env-gitlab[] + +ifndef::env-github1[] +This is definitely not for Github! +endif::env-github1[] + +:!env-gitlab1: \ No newline at end of file From e2d0ffe3ddc1217c05154a3d92f86bea64ea993f Mon Sep 17 00:00:00 2001 From: Prabha Kylasamiyer Sundara Rajan Date: Thu, 13 Feb 2025 15:04:12 +0530 Subject: [PATCH 2/3] ASCII Conditions and Nested Conditions make me crazy! --- docs/cli-guide/master.adoc | 3 ++- docs/release-notes-mtr/master.adoc | 3 +++ docs/topics/ascii-test.adoc | 42 ++++++++++++++++++++++++++++++ docs/topics/conditional-c.adoc | 4 +-- 4 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 docs/topics/ascii-test.adoc diff --git a/docs/cli-guide/master.adoc b/docs/cli-guide/master.adoc index 06af125756..67982851d8 100644 --- a/docs/cli-guide/master.adoc +++ b/docs/cli-guide/master.adoc @@ -29,7 +29,8 @@ For more information about use cases and migration paths, see the link:https://d // About the {CLINameTitle} include::topics/about-cli.adoc[leveloffset=+2] -include::topics/conditional-c.adoc[leveloffset=+2] +include::topics/ascii-test.adoc[leveloffset=+2] + == Installing and Running the CLI diff --git a/docs/release-notes-mtr/master.adoc b/docs/release-notes-mtr/master.adoc index ab42e0d304..9e46c52de3 100644 --- a/docs/release-notes-mtr/master.adoc +++ b/docs/release-notes-mtr/master.adoc @@ -50,4 +50,7 @@ include::topics/mtr-rn-new-features-1-2-0.adoc[leveloffset=+2] include::topics/mtr-rn-known-issues-1-2-0.adoc[leveloffset=+2] include::topics/mtr-rn-resolved-issues-1-2-0.adoc[leveloffset=+2] +== Ascii Testing +include::topics/ascii-test.adoc[leveloffset=+2] + :!release-notes: diff --git a/docs/topics/ascii-test.adoc b/docs/topics/ascii-test.adoc new file mode 100644 index 0000000000..64f7e8c824 --- /dev/null +++ b/docs/topics/ascii-test.adoc @@ -0,0 +1,42 @@ +// Module included in the following assemblies: +// +// * docs/cli-guide/master.adoc +// * docs/getting-started-guide/master.adoc +:env-gitlab: + +:_content-type: CONCEPT +[id="ascii-testing_{context}"] += Ascii Testing + +The {CLIName} is a command-line tool in the {ProductName} that you can use to assess and prioritize migration and modernization efforts for applications. It provides numerous reports that highlight the analysis without using the other tools. The {CLIName} includes a wide array of customization options. By using the {CLIName}, you can tune {ProductShortName} analysis options or integrate with external automation tools. + +ifndef::cli-guide[] +For more information about using the {CLIName}, see link:{ProductDocUserGuideURL}[_{UserCLIBookName}_]. +endif::cli-guide[] + + +ifndef::env-gitlab1[] +You got the negative conditional right. + +ifdef::env-gitlab[] +Nested condition because why not. +endif::env-gitlab[] + +endif::env-gitlab1[] + +:!env-gitlab: + +.Merged Table +[cols="3,3,3"] +|=== +|Column 1 | Column 2 | Column 3 + +2+|Cell 1 and 2 are merged +|Cell 3 + +|Another cell +|One more cell +|Cells! + +|=== + diff --git a/docs/topics/conditional-c.adoc b/docs/topics/conditional-c.adoc index 2accad1503..ae84167c24 100644 --- a/docs/topics/conditional-c.adoc +++ b/docs/topics/conditional-c.adoc @@ -10,8 +10,8 @@ The {CLIName} is a command-line tool in the {ProductName} that you can use to assess and prioritize migration and modernization efforts for applications. It provides numerous reports that highlight the analysis without using the other tools. The {CLIName} includes a wide array of customization options. By using the {CLIName}, you can tune {ProductShortName} analysis options or integrate with external automation tools. -include::conditional-a.adoc[leveloffset=+1] -include::conditional-b.adoc[leveloffset=+1] +//include::conditional-a.adoc[leveloffset=+1] +//include::conditional-b.adoc[leveloffset=+1] ifndef::cli-guide[] From 23daaf2b214240f76bc880f6fdf93c80c4ff34a0 Mon Sep 17 00:00:00 2001 From: Prabha Kylasamiyer Sundara Rajan Date: Thu, 13 Feb 2025 18:12:24 +0530 Subject: [PATCH 3/3] Master has freed Dobby! --- docs/cli-guide/master.adoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/cli-guide/master.adoc b/docs/cli-guide/master.adoc index 67982851d8..dc52a1d269 100644 --- a/docs/cli-guide/master.adoc +++ b/docs/cli-guide/master.adoc @@ -29,8 +29,6 @@ For more information about use cases and migration paths, see the link:https://d // About the {CLINameTitle} include::topics/about-cli.adoc[leveloffset=+2] -include::topics/ascii-test.adoc[leveloffset=+2] - == Installing and Running the CLI