Skip to content

Commit 84ce53e

Browse files
authored
Merge pull request #401 from RichardHoch/fixlinks
Fixing broken links in MTA docs
2 parents 7cbe4cf + 387b7a8 commit 84ce53e

11 files changed

+32
-21
lines changed

docs/getting-started-guide/master-docinfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<title>{GettingStartedBookName}</title>
1+
<title>{IntroToMTABookName}</title>
22
<productname>{DocInfoProductName}</productname>
33
<productnumber>{DocInfoProductNumber}</productnumber>
44
<subtitle>Learn how to use the {ProductName} to migrate and modernize Java applications and components.</subtitle>

docs/getting-started-guide/master.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ include::topics/templates/document-attributes.adoc[]
88
:context: getting-started-guide
99
:getting-started-guide:
1010

11-
= {GettingStartedBookName}
11+
= {IntroToMTABookName}
1212

1313
//Inclusive language statement
1414
include::topics/making-open-source-more-inclusive.adoc[]
1515

1616
== Introduction
1717

18-
// About the {GettingStartedBookName}
19-
include::topics/about-the-gs-guide.adoc[leveloffset=+2]
18+
// About the {IntroToMTABookName}
19+
include::topics/about-the-intro-to-mta-guide.adoc[leveloffset=+2]
2020

2121
// About the Toolkit
2222
include::topics/what-is-the-toolkit.adoc[leveloffset=+1]

docs/topics/about-rules.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Module included in the following assemblies:
22
// * docs/rules-development-guide/master.adoc
3+
// * docs/getting-started-guide/master.adoc
34

45
[id='about-rules_{context}']
56
= About {ProductShortName} rules
@@ -19,5 +20,5 @@ otherwise(action)
1920
{ProductShortName} provides a comprehensive set of standard migration rules out-of-the-box. Because applications may contain custom libraries or components, {ProductShortName} allows you to write your own rules to identify use of components or software that may not be covered by the existing ruleset.
2021

2122
ifndef::rules-development-guide[]
22-
If you plan to write your own custom rules, see the {ProductDocRulesGuideURL} in _{RulesDevBookName}_ for detailed instructions.
23+
If you plan to write your own custom rules, see the {ProductDocRulesGuideURL}[_{RulesDevBookName}_] for detailed instructions.
2324
endif::rules-development-guide[]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Module included in the following assemblies:
22
// * docs/getting-started-guide/master.adoc
33

4-
[id='about-the-gs-guide_{context}']
5-
= About the {GettingStartedBookName}
4+
[id='about-the-intro-to-mta-guide_{context}']
5+
= About the {IntroToMTABookName}
66

77
This guide is for engineers, consultants, and others who want to use the {ProductName} ({ProductShortName}) to migrate Java applications or other components. It provides an overview of the {ProductName} and how to get started using the tools to plan and execute your migration.

docs/topics/cli-args.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The `--source` argument now provides version support, which follows the link:htt
145145
====
146146
When migrating to JBoss EAP, be sure to specify the version, for example, `eap:6`. Specifying only `eap` will run rulesets for all versions of JBoss EAP, including those not relevant to your migration path.
147147
148-
See link:{ProductDocGettingStartedGuideURL}/index#migration_paths_getting-started-guide[Supported migration paths] in the {ProductShortName} _{GettingStartedBookName}_ for which JBoss EAP version is appropriate for your source platform.
148+
See link:{ProductDocIntroToMTAGuideURL}/index#migration_paths_getting-started-guide[Supported migration paths] in the {ProductShortName} _{IntroToMTABookName}_ for the appropriate JBoss EAP version.
149149
====
150150

151151
[id='target_argument_{context}']
@@ -166,7 +166,7 @@ The `--target` argument now provides version support, which follows the link:htt
166166
====
167167
When migrating to JBoss EAP, be sure to specify the version in the target, for example, `eap:6`. Specifying only `eap` will run rulesets for all versions of JBoss EAP, including those not relevant to your migration path.
168168
169-
See link:{ProductDocGettingStartedGuideURL}/index#migration_paths_getting-started-guide[Supported migration paths] in the {ProductShortName} _{GettingStartedBookName}_ for which JBoss EAP version is appropriate for your source platform.
169+
See link:{ProductDocIntroToMTAGuideURL}/index#migration_paths_getting-started-guide[Supported migration paths] in the {ProductShortName} _{IntroToMTABookName}_ for the appropriate JBoss EAP version.
170170
====
171171

172172
[id='packages_argument_{context}']

docs/topics/installing-web-console-on-openshift.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ endif::[]
4141
ifdef::ocp-41,ocp-311[]
4242
.Procedure
4343

44-
. Download the installation archive file from the link:https://developers.redhat.com/products/mta/download[{ProductShortName} download page].
44+
. Navigate to the link:{MTADownloadPageURL}[{ProductShortName} Download page] and download the {WebName} `Local install & OpenShift` file.
4545
. Extract the `.zip` file to a directory, for example, `MTA_HOME`.
4646
endif::[]
4747
ifdef::ocp-45[]

docs/topics/installing-web-console.adoc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ifdef::cli-guide,maven-guide,web-console-guide,plugin-guide,plugin-guide-offline
5353
* macOS: The value of `maxproc` must be `2048` or greater.
5454
endif::[]
5555
ifdef::plugin-guide,plugin-guide-offline[]
56-
* link:https://developers.redhat.com/products/codeready-studio/download/[Red Hat CodeReady Studio]
56+
* link:{CodeReadyStudioDownloadPageURL}[Red Hat CodeReady Studio]
5757
+
5858
_or_
5959

@@ -62,8 +62,15 @@ endif::[]
6262
6363
.Procedure
6464

65+
ifdef::cli-guide[]
66+
. Navigate to the link:{MTADownloadPageURL}[{ProductShortName} Download page] and download the `Migration Toolkit CLI` file.
67+
endif::[]
68+
69+
ifdef::web-console-guide[]
70+
. Navigate to the link:{MTADownloadPageURL}[{ProductShortName} Download page] and download the {WebName} `Local install & OpenShift` file.
71+
endif::[]
72+
6573
ifdef::cli-guide,web-console-guide[]
66-
. Download the installation archive file from the link:https://developers.redhat.com/products/mta/download[{ProductShortName} Download page].
6774
. Extract the `.zip` file to a directory of your choice.
6875
+
6976
[NOTE]
@@ -120,7 +127,7 @@ $ mvn clean install
120127
The `windup-maven-plugin` jar is installed in your local Maven repository.
121128
endif::[]
122129
ifdef::plugin-guide-offline[]
123-
. Download the link:{ProductDownloadURL}{IDEPluginFilename}-{ProductVersion}.zip[IDE Plugin archive file].
130+
. Navigate to the link:{MTADownloadPageURL}[Migration Toolkit for Applications download site] and download the `IDE Plugin Repository` file.
124131
endif::[]
125132
ifdef::plugin-guide,plugin-guide-offline[]
126133
. Launch your IDE.

docs/topics/maven-arguments.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ The `targetTechnologies` argument now provides version support, which follows th
134134
====
135135
When migrating to JBoss EAP, be sure to specify the version in the target, for example, `eap:6`. Specifying only `eap` will run rulesets for all versions of JBoss EAP, including those not relevant to your migration path.
136136
137-
See link:{ProductDocGettingStartedGuideURL}#migration_paths[Supported migration paths] in the {ProductShortName} _{GettingStartedBookName}_ for which JBoss EAP version is appropriate for your source platform.
137+
See link:{ProductDocIntroToMTAGuideURL}/index#migration_paths_getting-started-guide[Supported migration paths] in the {ProductShortName} _{IntroToMTABookName}_ for the appropriate JBoss EAP version.
138+
138139
====
139140

140141
[id='packages_argument_{context}']

docs/topics/rules-guide-intro.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
This guide is for engineers, consultants, and others who want to create custom XML-based rules for {ProductName} ({ProductShortName}) tools.
77

8-
If you are new to {ProductShortName}, it is recommended that you start with the link:{ProductDocUserGuideURL}[_{GettingStartedBookName}_] for an overview of the {ProductName} features and system requirements. It is also recommended that you review the link:{ProductDocUserGuideURL}[_{UserCLIBookName}_], which provides detailed instructions on how to install and execute the {CLIName}.
8+
For more information, see the link:{ProductDocIntroToMTAGuideURL}[_{IntroToMTABookName}_] for an overview and the link:{ProductDocUserGuideURL}[_{UserCLIBookName}_] for details.
99

10-
If you would like to contribute to the {ProductShortName} source code base or provide Java-based rule add-ons, see the link:{ProductDocCoreGuideURL}[_{CoreDevelopmentBookName}_].
10+
To contribute to the {ProductShortName} source code base or provide Java-based rule add-ons, see the link:{ProductDocCoreGuideURL}[_{CoreDevelopmentBookName}_].

docs/topics/templates/document-attributes.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
:UserCLIBookName: CLI Guide
4545
:RulesDevBookName: Rules Development Guide
4646
:PluginBookName: IDE Plugin Guide
47-
:GettingStartedBookName: Introduction to the Migration Toolkit for Applications
47+
:IntroToMTABookName: Introduction to the Migration Toolkit for Applications
4848
:WebConsoleBookName: Web Console Guide
4949
:MavenBookName: Maven Plugin Guide
5050
:ReleaseNotesName: Release Notes
@@ -72,7 +72,8 @@
7272
:ProductDocUserGuideURL: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/cli_guide
7373
:ProductDocRulesGuideURL: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/rules_development_guide
7474
:ProductDocPluginGuideURL: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/ide_plugin_guide
75-
:ProductDocGettingStartedGuideURL: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/introduction_to_the_migration_toolkit_for_applications
75+
:ProductDocIntroToMTAGuideURL: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/introduction_to_the_migration_toolkit_for_applications
76+
7677
:ProductDocWebConsoleGuideURL: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/web_console_guide
7778
:ProductDocMavenGuideURL: https://access.redhat.com/documentation/en-us/{DocInfoProductNameURL}/{DocInfoProductNumber}/html-single/maven_plugin_guide
7879
:OpenShiftDocsURL: https://docs.openshift.com/container-platform/{OpenShiftProductNumber}
@@ -82,8 +83,9 @@
8283
// Point to the GitHub wiki version since there is no product version of this guide.
8384
:ProductDocCoreGuideURL: https://github.com/windup/windup/wiki/Core-Development-Guide
8485

85-
// URL for downloads on developers.redhat.com
86-
:ProductDownloadURL: https://developers.redhat.com/products/
86+
// URLs for downloads on developers.redhat.com
87+
:MTADownloadPageURL: https://developers.redhat.com/products/mta/download
88+
:CodeReadyStudioDownloadPageURL: https://developers.redhat.com/products/codeready-studio/download/
8789

8890
// KBase Article links:
8991
:KBArticleTechnologyPreview: https://access.redhat.com/support/offerings/techpreview

0 commit comments

Comments
 (0)