Skip to content

Commit 77371d5

Browse files
OLPEDGE-2875: Fix anchor links
Fixes anchor links detected by the link checker. Resolves: OLPEDGE-2875 Signed-off-by: Tom Papiernik <tomasz.papiernik@here.com>
1 parent 9d7c792 commit 77371d5

File tree

2 files changed

+35
-54
lines changed

2 files changed

+35
-54
lines changed

docs/dataservice-read-catalog-example.md

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ On this page, find instructions on how to build and run the read example project
66

77
1. On the [Apps & keys](https://platform.here.com/admin/apps) page, copy your application access key ID and access key secret.
88

9-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
9+
For instructions on how to get the access key ID and access key secret, see [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
1010

1111
2. In <a href="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/main.cpp" target="_blank">`examples/main.cpp`</a>, replace the placeholders with your access key ID, access key secret, and Here Resource Name (HRN) of the catalog.
1212

@@ -64,22 +64,19 @@ After building and running the example project, you see the following informatio
6464

6565
To integrate the Data SDK libraries in the Android example project:
6666

67-
- [Set up prerequisites](#prerequisites-android)
68-
- [Build the Data SDK](#build-sdk-android)
69-
- [Build and run the APK](#build-and-run-android)
67+
- [Set up prerequisites](#prerequisites-for-android)
68+
- [Build the Data SDK](#build-the-data-sdk-on-android)
69+
- [Build and run the APK](#build-and-run-the-apk)
7070

71-
### <a name="prerequisites-android"></a>Prerequisites
72-
73-
**Before you integrate the Data SDK libraries in the Android example project:**
71+
### Prerequisites for Android
7472

7573
1. Set up the Android environment.
7674
2. In <a href="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/android/app/src/main/cpp/MainActivityNative.cpp.in" target="_blank">`examples/android/app/src/main/cpp/MainActivityNative.cpp.in`</a>, replace the placeholders with your application access key ID, access key secret, and catalog HRN and specify that the example should run `RunExampleRead`.
7775

78-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
79-
80-
### <a name="build-sdk-android"></a>Build the Data SDK
76+
> #### Note
77+
> To learn how to get the access key ID and access key secret, see the [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
8178
82-
**To build the Data SDK on Android:**
79+
### Build the Data SDK on Android
8380

8481
1. Set `OLP_SDK_BUILD_EXAMPLES` to `ON`.
8582
2. (Optional) To disable tests, set `OLP_SDK_ENABLE_TESTING` to `OFF`.
@@ -101,9 +98,7 @@ To integrate the Data SDK libraries in the Android example project:
10198
(sudo) make install
10299
```
103100

104-
### <a name="build-and-run-android"></a>Build and run the APK
105-
106-
**To build and run the APK:**
101+
### Build and run the APK
107102

108103
1. In the Android Studio IDE, open the <a href="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/android/build.gradle" target="_blank">`build/examples/android/build.gradle`</a> script.
109104
2. Provide your application access key ID, access key secret, and catalog HRN.
@@ -115,13 +110,11 @@ The main screen displays the following message: "Example has finished successful
115110

116111
To integrate the Data SDK libraries in the iOS example project written in the Objective-C language:
117112

118-
- [Set up prerequisites](#prerequisites-ios)
119-
- [Build the Data SDK](#build-sdk-ios)
120-
- [Build and run the application](#build-and-run-ios)
113+
- [Set up prerequisites](#prerequisites-for-ios)
114+
- [Build the Data SDK](#build-the-data-sdk-on-ios)
115+
- [Build and run the application](#build-and-run-the-application)
121116

122-
### <a name="prerequisites-ios"></a>Prerequisites
123-
124-
**Before you integrate the Data SDK libraries in the iOS example project:**
117+
### Prerequisites for iOS
125118

126119
1. To set up the iOS development environment, install the Xcode and command-line tools.
127120
2. Install external dependencies.
@@ -130,11 +123,10 @@ To integrate the Data SDK libraries in the iOS example project written in the Ob
130123

131124
3. In <a href="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/ios/ViewController.mm" target="_blank">`examples/ios/ViewController.mm`</a>, replace the placeholders with your application access key ID, access key secret, and catalog HRN and specify that the example should run `RunExampleRead`.
132125

133-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
134-
135-
### <a name="build-sdk-ios"></a>Build the Data SDK
126+
> #### Note
127+
> To learn how to get the access key ID and access key secret, see the [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
136128
137-
**To build the Data SDK on iOS:**
129+
### Build the Data SDK on iOS
138130

139131
1. Set `OLP_SDK_BUILD_EXAMPLES` to `ON`.
140132
2. (Optional) To disable tests, set `OLP_SDK_ENABLE_TESTING` to `OFF`.
@@ -150,9 +142,7 @@ cmake .. -GXcode -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/iOS.cmake -DPLATFOR
150142

151143
To configure Data SDK for a simulator, set the `SIMULATOR` CMake variable to `ON`.
152144

153-
### <a name="build-and-run-ios"></a>Build and run the application
154-
155-
**To build an run the example application on iOS:**
145+
### Build and run the application
156146

157147
1. Open the generated Xcode project.
158148

docs/dataservice-write-example.md

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,20 @@ After building and running the example project, the following message displays a
5454

5555
To integrate the Data SDK libraries in the Android example project:
5656

57-
- [Set up prerequisites](#prerequisites-android)
58-
- [Build the Data SDK](#build-sdk-android)
59-
- [Build and run the APK](#build-and-run-android)
60-
61-
### <a name="prerequisites-android"></a>Prerequisites
62-
63-
**Before you integrate the Data SDK libraries in the Android example project:**
57+
- [Set up prerequisites](#prerequisites-for-android)
58+
- [Build the Data SDK](#build-the-data-sdk-on-android)
59+
- [Build and run the APK](#build-and-run-the-apk)
60+
61+
### Prerequisites for Android
6462

6563
1. Set up the Android environment.
6664
2. In <a href="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/android/app/src/main/cpp/MainActivityNative.cpp.in" target="_blank">`examples/android/app/src/main/cpp/MainActivityNative.cpp.in`</a>, replace the placeholders with your application access key ID, access key secret, catalog HRN, and layer name and specify that the example should run `RunExampleWrite`.
6765

68-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
66+
> #### Note
67+
> To learn how to get the access key ID and access key secret, see the [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
6968
70-
### <a name="build-sdk-android"></a>Build the Data SDK
7169

72-
**To build the Data SDK on Android:**
70+
### Build the Data SDK on Android
7371

7472
1. Set `OLP_SDK_BUILD_EXAMPLES` to `ON`.
7573
2. Specify the path to the Android NDK toolchain file using the `CMAKE_TOOLCHAIN_FILE` variable.
@@ -90,9 +88,7 @@ To integrate the Data SDK libraries in the Android example project:
9088
(sudo) make install
9189
```
9290

93-
### <a name="build-and-run-android"></a>Build and run the APK
94-
95-
**To build and run the APK:**
91+
### Build and run the APK
9692

9793
1. In the Android Studio IDE, open the <a href="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/android/build.gradle" target="_blank">`build/examples/android/build.gradle`</a> script.
9894
2. Provide your application access key ID, access key secret, catalog HRN, and layer name.
@@ -104,13 +100,11 @@ The main screen displays the following message: "Example has finished successful
104100

105101
To integrate the Data SDK libraries in the iOS example application written in the Objective-C language:
106102

107-
- [Set up prerequisites](#prerequisites-ios)
108-
- [Build the Data SDK](#build-sdk-ios)
109-
- [Build and run the Application](#build-and-run-ios)
110-
111-
### <a name="prerequisites-ios"></a>Prerequisites
103+
- [Set up prerequisites](#prerequisites-for-ios)
104+
- [Build the Data SDK](#build-the-data-sdk-on-ios)
105+
- [Build and run the application](#build-and-run-the-application)
112106

113-
**Before you integrate the Data SDK libraries in the iOS example project:**
107+
### Prerequisites for iOS
114108

115109
1. To set up the iOS development environment, install the Xcode and command-line tools.
116110
2. Install external dependencies.
@@ -119,18 +113,17 @@ To integrate the Data SDK libraries in the iOS example application written in th
119113

120114
3. In <a href="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/ios/ViewController.mm" target="_blank">`examples/ios/ViewController.mm`</a>, replace the placeholders with your application access key ID, access key secret, catalog HRN, and layer name and specify that the example should run `RunExampleWrite`.
121115

122-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
123-
116+
> #### Note
117+
> To learn how to get the access key ID and access key secret, see the [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
118+
>
124119
```bash
125120
mkdir build && cd build
126121
cmake .. -GXcode -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/iOS.cmake -DPLATFORM=iphoneos -DOLP_SDK_BUILD_EXAMPLES=ON -DOLP_SDK_ENABLE_TESTING=OFF
127122
```
128123

129124
To configure the Data SDK for a simulator, set the `SIMULATOR` variable to `ON`.
130125

131-
### <a name="build-sdk-ios"></a>Build the Data SDK
132-
133-
**To build the Data SDK on iOS:**
126+
### Build the Data SDK on iOS
134127

135128
1. Set `OLP_SDK_BUILD_EXAMPLES` to `ON`.
136129
2. (Optional) To disable tests, set `OLP_SDK_ENABLE_TESTING` to `OFF`.
@@ -144,9 +137,7 @@ mkdir build && cd build
144137
cmake .. -GXcode -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/iOS.cmake -DPLATFORM=iphoneos -DOLP_SDK_BUILD_EXAMPLES=ON -DOLP_SDK_ENABLE_TESTING=OFF
145138
```
146139

147-
### <a name="build-and-run-ios"></a>Build and run the application
148-
149-
**To build an run the example application on iOS:**
140+
### Build and run the application
150141

151142
1. Open the generated Xcode project.
152143

0 commit comments

Comments
 (0)