Skip to content

Commit c3b52be

Browse files
b-abelKai Hudalla
authored and
Kai Hudalla
committed
Improve the selection of documentation versions.
Versions of the documentation are now mapped on languages for Hugo, allowing to leverage the multilingual features of Hugo. The current stable version is a level above the other versions, improving the search engine ranking of this version. Version "stable" has the URL path "/hono/docs/", nightly master has "/hono/docs/dev/" and e.g. version 1.2.3 would be under "/hono/docs/1.2/". Having a version marked as stable is required for this to work. The version is now selected in the documentation itself and no longer on the homepage. Signed-off-by: Abel Buechner-Mihaljevic <[email protected]>
1 parent 534a706 commit c3b52be

File tree

57 files changed

+236
-224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+236
-224
lines changed

adapters/http-vertx-base/src/main/java/org/eclipse/hono/adapter/http/AbstractVertxBasedHttpProtocolAdapter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ public final void uploadTelemetryMessage(final RoutingContext ctx, final String
514514
* <p>
515515
* This method always sends a response to the device. The status code will be set
516516
* as specified in the
517-
* <a href="https://www.eclipse.org/hono/docs/latest/user-guide/http-adapter/#publish-telemetry-data-authenticated-device">
517+
* <a href="https://www.eclipse.org/hono/docs/user-guide/http-adapter/#publish-telemetry-data-authenticated-device">
518518
* HTTP adapter User Guide</a>.
519519
*
520520
* @param ctx The context to retrieve cookies and the HTTP response from.
@@ -563,7 +563,7 @@ public final void uploadEventMessage(final RoutingContext ctx, final String tena
563563
* <p>
564564
* This method always sends a response to the device. The status code will be set
565565
* as specified in the
566-
* <a href="https://www.eclipse.org/hono/docs/latest/user-guide/http-adapter/#publish-an-event-authenticated-device">
566+
* <a href="https://www.eclipse.org/hono/docs/user-guide/http-adapter/#publish-an-event-authenticated-device">
567567
* HTTP adapter User Guide</a>.
568568
*
569569
* @param ctx The context to retrieve cookies and the HTTP response from.

adapters/http-vertx/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This module contains a protocol adapter that exposes a HTTP based API for Hono's Telemetry and Registration API.
22

3-
Please refer to the [Admin Guide](https://www.eclipse.org/hono/docs/latest/admin-guide/http-adapter-config/)
3+
Please refer to the [Admin Guide](https://www.eclipse.org/hono/docs/admin-guide/http-adapter-config/)
44
for details regarding configuration and to the
5-
[UserGuide](https://www.eclipse.org/hono/docs/latest/user-guide/http-adapter/) for the usage.
5+
[UserGuide](https://www.eclipse.org/hono/docs/user-guide/http-adapter/) for the usage.

adapters/http-vertx/src/main/java/org/eclipse/hono/adapter/http/impl/VertxBasedHttpProtocolAdapter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
/**
5050
* A Vert.x based Hono protocol adapter for accessing Hono's Telemetry &amp; Event API using HTTP
51-
* as described in https://www.eclipse.org/hono/docs/latest/user-guide/http-adapter.
51+
* as described in https://www.eclipse.org/hono/docs/user-guide/http-adapter.
5252
*/
5353
public final class VertxBasedHttpProtocolAdapter extends AbstractVertxBasedHttpProtocolAdapter<HttpProtocolAdapterProperties> {
5454

adapters/mqtt-vertx-base/src/main/java/org/eclipse/hono/adapter/mqtt/AbstractVertxBasedMqttProtocolAdapter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ private Future<DeviceUser> authenticate(final MqttContext connectContext, final
523523
* <p>
524524
* This method currently only supports topic filters for subscribing to
525525
* commands as defined by Hono's
526-
* <a href="https://www.eclipse.org/hono/docs/latest/user-guide/mqtt-adapter/#command-control">
526+
* <a href="https://www.eclipse.org/hono/docs/user-guide/mqtt-adapter/#command-control">
527527
* MQTT adapter user guide</a>.
528528
* <p>
529529
* When a device subscribes to a command topic filter, this method opens a
@@ -665,7 +665,7 @@ private Span newSpan(final String operationName, final MqttEndpoint endpoint, fi
665665
* <p>
666666
* This method currently only supports topic filters for unsubscribing from
667667
* commands as defined by Hono's
668-
* <a href="https://www.eclipse.org/hono/docs/latest/user-guide/mqtt-adapter/#command-control">
668+
* <a href="https://www.eclipse.org/hono/docs/user-guide/mqtt-adapter/#command-control">
669669
* MQTT adapter user guide</a>.
670670
*
671671
* @param endpoint The endpoint representing the connection to the device.

adapters/mqtt-vertx/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This module contains a protocol adapter that exposes an MQTT API for Hono's Telemetry API.
22

3-
Please refer to the [Admin Guide](https://www.eclipse.org/hono/docs/latest/admin-guide/mqtt-adapter-config/)
3+
Please refer to the [Admin Guide](https://www.eclipse.org/hono/docs/admin-guide/mqtt-adapter-config/)
44
for details regarding configuration and to the
5-
[UserGuide](https://www.eclipse.org/hono/docs/latest/user-guide/mqtt-adapter/) for the usage.
5+
[UserGuide](https://www.eclipse.org/hono/docs/user-guide/mqtt-adapter/) for the usage.

client/src/main/java/org/eclipse/hono/client/CommandClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public interface CommandClient extends RequestResponseClient {
4545
* <p>
4646
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing
4747
* the (error) status code. Status codes are defined at
48-
* <a href="https://www.eclipse.org/hono/docs/latest/api/command-and-control-api">Command and Control API</a>.
48+
* <a href="https://www.eclipse.org/hono/docs/api/command-and-control-api">Command and Control API</a>.
4949
* @throws NullPointerException if any of device ID or command are {@code null}.
5050
* @see RequestResponseClient#setRequestTimeout(long)
5151
*/
@@ -68,7 +68,7 @@ public interface CommandClient extends RequestResponseClient {
6868
* The future will succeed if a response with status 2xx has been received from the device. If the response has no payload, the future will complete with {@code null}.
6969
* <p>
7070
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing
71-
* the (error) status code. Status codes are defined at <a href="https://www.eclipse.org/hono/docs/latest/api/command-and-control-api">Command and Control API</a>.
71+
* the (error) status code. Status codes are defined at <a href="https://www.eclipse.org/hono/docs/api/command-and-control-api">Command and Control API</a>.
7272
* @throws NullPointerException if any of device ID or command are {@code null}.
7373
* @see RequestResponseClient#setRequestTimeout(long)
7474
*/

client/src/main/java/org/eclipse/hono/client/CredentialsClient.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* An instance of this interface is always scoped to a specific tenant.
2626
* </p>
2727
* <p>
28-
* See Hono's <a href="https://www.eclipse.org/hono/docs/latest/api/credentials-api/">
28+
* See Hono's <a href="https://www.eclipse.org/hono/docs/api/credentials-api/">
2929
* Credentials API specification</a> for a description of the result codes returned.
3030
* </p>
3131
*/
@@ -40,7 +40,7 @@ public interface CredentialsClient extends RequestResponseClient {
4040
* <p>
4141
* The future will succeed if a response with status 200 has been received from the
4242
* credentials service. The JSON object will then contain values as defined in
43-
* <a href="https://www.eclipse.org/hono/docs/latest/api/credentials-api/#get-credentials">
43+
* <a href="https://www.eclipse.org/hono/docs/api/credentials-api/#get-credentials">
4444
* Get Credentials</a>.
4545
* <p>
4646
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing
@@ -60,7 +60,7 @@ public interface CredentialsClient extends RequestResponseClient {
6060
* <p>
6161
* The future will succeed if a response with status 200 has been received from the
6262
* credentials service. The JSON object will then contain values as defined in
63-
* <a href="https://www.eclipse.org/hono/docs/latest/api/credentials-api/#get-credentials">
63+
* <a href="https://www.eclipse.org/hono/docs/api/credentials-api/#get-credentials">
6464
* Get Credentials</a>.
6565
* <p>
6666
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing
@@ -85,7 +85,7 @@ public interface CredentialsClient extends RequestResponseClient {
8585
* <p>
8686
* The future will succeed if a response with status 200 has been received from the
8787
* credentials service. The JSON object will then contain values as defined in
88-
* <a href="https://www.eclipse.org/hono/docs/latest/api/credentials-api/#get-credentials">
88+
* <a href="https://www.eclipse.org/hono/docs/api/credentials-api/#get-credentials">
8989
* Get Credentials</a>.
9090
* <p>
9191
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing

client/src/main/java/org/eclipse/hono/client/DeviceConnectionClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* <p>
2323
* An instance of this interface is always scoped to a specific tenant.
2424
* <p>
25-
* See Hono's <a href="https://www.eclipse.org/hono/docs/latest/api/device-connection-api/">
25+
* See Hono's <a href="https://www.eclipse.org/hono/docs/api/device-connection-api/">
2626
* Device Connection API specification</a> for a description of the result codes returned.
2727
*/
2828
public interface DeviceConnectionClient extends RequestResponseClient {

client/src/main/java/org/eclipse/hono/client/RegistrationClient.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* <p>
2323
* An instance of this interface is always scoped to a specific tenant.
2424
* <p>
25-
* See Hono's <a href="https://www.eclipse.org/hono/docs/latest/api/device-registration-api/">
25+
* See Hono's <a href="https://www.eclipse.org/hono/docs/api/device-registration-api/">
2626
* Registration API specification</a> for a description of the result codes returned.
2727
*/
2828
public interface RegistrationClient extends RequestResponseClient {
@@ -35,7 +35,7 @@ public interface RegistrationClient extends RequestResponseClient {
3535
* <p>
3636
* The future will succeed if a response with status 200 has been received from the
3737
* registration service. The JSON object will then contain values as defined in
38-
* <a href="https://www.eclipse.org/hono/docs/latest/api/device-registration-api/#assert-device-registration">
38+
* <a href="https://www.eclipse.org/hono/docs/api/device-registration-api/#assert-device-registration">
3939
* Assert Device Registration</a>.
4040
* <p>
4141
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing
@@ -58,7 +58,7 @@ public interface RegistrationClient extends RequestResponseClient {
5858
* <p>
5959
* The future will succeed if a response with status 200 has been received from the
6060
* registration service. The JSON object will then contain values as defined in
61-
* <a href="https://www.eclipse.org/hono/docs/latest/api/device-registration-api/#assert-device-registration">
61+
* <a href="https://www.eclipse.org/hono/docs/api/device-registration-api/#assert-device-registration">
6262
* Assert Device Registration</a>.
6363
* <p>
6464
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing
@@ -86,7 +86,7 @@ public interface RegistrationClient extends RequestResponseClient {
8686
* <p>
8787
* The future will succeed if a response with status 200 has been received from the
8888
* registration service. The JSON object will then contain values as defined in
89-
* <a href="https://www.eclipse.org/hono/docs/latest/api/device-registration-api/#assert-device-registration">
89+
* <a href="https://www.eclipse.org/hono/docs/api/device-registration-api/#assert-device-registration">
9090
* Assert Device Registration</a>.
9191
* <p>
9292
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing
@@ -110,7 +110,7 @@ default Future<JsonObject> assertRegistration(
110110
* <p>
111111
* The future will succeed if a response with status 200 has been received from the
112112
* registration service. The JSON object will then contain values as defined in
113-
* <a href="https://www.eclipse.org/hono/docs/latest/api/device-registration-api/#get-registration-information">
113+
* <a href="https://www.eclipse.org/hono/docs/api/device-registration-api/#get-registration-information">
114114
* Get Registration Information</a>.
115115
* <p>
116116
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing
@@ -133,7 +133,7 @@ default Future<JsonObject> assertRegistration(
133133
* <p>
134134
* The future will succeed if a response with status 200 has been received from the registration service.
135135
* The JSON object will then contain values as defined in
136-
* <a href="https://www.eclipse.org/hono/docs/latest/api/device-registration-api/#get-registration-information"> Get
136+
* <a href="https://www.eclipse.org/hono/docs/api/device-registration-api/#get-registration-information"> Get
137137
* Registration Information</a>.
138138
* <p>
139139
* Otherwise, the future will fail with a {@link ServiceInvocationException} containing the (error) status

client/src/main/java/org/eclipse/hono/client/TenantClient.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* A client for accessing Hono's Tenant API.
2525
* <p>
26-
* See Hono's <a href="https://www.eclipse.org/hono/docs/latest/api/tenant-api">
26+
* See Hono's <a href="https://www.eclipse.org/hono/docs/api/tenant-api">
2727
* Tenant API specification</a> for a description of the result codes returned.
2828
* </p>
2929
*/
@@ -37,7 +37,7 @@ public interface TenantClient extends RequestResponseClient {
3737
* <ul>
3838
* <li>The future will succeed if a response with status 200 has been received from the
3939
* tenant service. The JSON object will then contain values as defined in
40-
* <a href="https://www.eclipse.org/hono/docs/latest/api/tenant-api/#get-tenant-information">
40+
* <a href="https://www.eclipse.org/hono/docs/api/tenant-api/#get-tenant-information">
4141
* Get Tenant Information</a>.</li>
4242
* <li>Otherwise, the future will fail with a {@link ServiceInvocationException} containing
4343
* the (error) status code returned by the service.</li>
@@ -60,7 +60,7 @@ public interface TenantClient extends RequestResponseClient {
6060
* <ul>
6161
* <li>The future will succeed if a response with status 200 has been received from the
6262
* tenant service. The JSON object will then contain values as defined in
63-
* <a href="https://www.eclipse.org/hono/docs/latest/api/tenant-api/#get-tenant-information">
63+
* <a href="https://www.eclipse.org/hono/docs/api/tenant-api/#get-tenant-information">
6464
* Get Tenant Information</a>.</li>
6565
* <li>Otherwise, the future will fail with a {@link ServiceInvocationException} containing
6666
* the (error) status code returned by the service.</li>
@@ -85,7 +85,7 @@ default Future<TenantObject> get(final String tenantId, final SpanContext contex
8585
* <ul>
8686
* <li>The future will succeed if a response with status 200 has been received from the
8787
* tenant service. The JSON object will then contain values as defined in
88-
* <a href="https://www.eclipse.org/hono/docs/latest/api/tenant-api/#get-tenant-information">
88+
* <a href="https://www.eclipse.org/hono/docs/api/tenant-api/#get-tenant-information">
8989
* Get Tenant Information</a>.</li>
9090
* <li>Otherwise, the future will fail with a {@link ServiceInvocationException} containing
9191
* the (error) status code returned by the service.</li>
@@ -114,7 +114,7 @@ default Future<TenantObject> get(final String tenantId, final SpanContext contex
114114
* <ul>
115115
* <li>The future will succeed if a response with status 200 has been received from the
116116
* tenant service. The JSON object will then contain values as defined in
117-
* <a href="https://www.eclipse.org/hono/docs/latest/api/tenant-api/#get-tenant-information">
117+
* <a href="https://www.eclipse.org/hono/docs/api/tenant-api/#get-tenant-information">
118118
* Get Tenant Information</a>.</li>
119119
* <li>Otherwise, the future will fail with a {@link ServiceInvocationException} containing
120120
* the (error) status code returned by the service.</li>

client/src/main/java/org/eclipse/hono/client/impl/CredentialsClientImpl.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public static final Future<CredentialsClient> create(
166166

167167
/**
168168
* Invokes the <em>Get Credentials</em> operation of Hono's
169-
* <a href="https://www.eclipse.org/hono/docs/latest/api/credentials-api/">Credentials API</a>
169+
* <a href="https://www.eclipse.org/hono/docs/api/credentials-api/">Credentials API</a>
170170
* on the service represented by the <em>sender</em> and <em>receiver</em> links.
171171
*/
172172
@Override
@@ -176,7 +176,7 @@ public Future<CredentialsObject> get(final String type, final String authId) {
176176

177177
/**
178178
* Invokes the <em>Get Credentials</em> operation of Hono's
179-
* <a href="https://www.eclipse.org/hono/docs/latest/api/credentials-api/">Credentials API</a>
179+
* <a href="https://www.eclipse.org/hono/docs/api/credentials-api/">Credentials API</a>
180180
* on the service represented by the <em>sender</em> and <em>receiver</em> links.
181181
*/
182182
@Override
@@ -186,7 +186,7 @@ public Future<CredentialsObject> get(final String type, final String authId, fin
186186

187187
/**
188188
* Invokes the <em>Get Credentials</em> operation of Hono's
189-
* <a href="https://www.eclipse.org/hono/docs/latest/api/credentials-api/">Credentials API</a>
189+
* <a href="https://www.eclipse.org/hono/docs/api/credentials-api/">Credentials API</a>
190190
* on the service represented by the <em>sender</em> and <em>receiver</em> links.
191191
*/
192192
@Override

client/src/main/java/org/eclipse/hono/client/impl/DeviceConnectionClientImpl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private Map<String, Object> createDeviceIdProperties(final String deviceId) {
159159

160160
/**
161161
* Invokes the <em>Set Last Known Gateway for Device</em> operation of Hono's
162-
* <a href="https://www.eclipse.org/hono/docs/latest/api/device-connection-api">Device Connection API</a>
162+
* <a href="https://www.eclipse.org/hono/docs/api/device-connection-api">Device Connection API</a>
163163
* on the service represented by the <em>sender</em> and <em>receiver</em> links.
164164
*/
165165
@Override
@@ -192,7 +192,7 @@ public Future<Void> setLastKnownGatewayForDevice(final String deviceId, final St
192192

193193
/**
194194
* Invokes the <em>Get Last Known Gateway for Device</em> operation of Hono's
195-
* <a href="https://www.eclipse.org/hono/docs/latest/api/device-connection-api">Device Connection API</a>
195+
* <a href="https://www.eclipse.org/hono/docs/api/device-connection-api">Device Connection API</a>
196196
* on the service represented by the <em>sender</em> and <em>receiver</em> links.
197197
*/
198198
@Override

0 commit comments

Comments
 (0)