This is an automated email from the ASF dual-hosted git repository.
errose28 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new a7da4f70195 HDDS-17373. Remove obsolete docs from runtime services
(#11710)
a7da4f70195 is described below
commit a7da4f70195a8d2c442d4faf691e1334a8744a49
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Fri Oct 23 22:38:37 2026 +0200
HDDS-17373. Remove obsolete docs from runtime services (#11710)
Co-authored-by: Ethan Rose <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
---
hadoop-hdds/container-service/pom.xml | 11 -----------
.../framework/src/main/resources/webapps/static/ozone.js | 12 +-----------
.../src/main/resources/webapps/static/templates/menu.html | 2 +-
hadoop-hdds/server-scm/pom.xml | 11 -----------
hadoop-ozone/ozone-manager/pom.xml | 11 -----------
hadoop-ozone/s3gateway/pom.xml | 11 -----------
.../s3gateway/src/main/resources/webapps/s3g-web/index.html | 4 ++--
7 files changed, 4 insertions(+), 58 deletions(-)
diff --git a/hadoop-hdds/container-service/pom.xml
b/hadoop-hdds/container-service/pom.xml
index 489fd7e2139..bcb899f2128 100644
--- a/hadoop-hdds/container-service/pom.xml
+++ b/hadoop-hdds/container-service/pom.xml
@@ -198,11 +198,6 @@
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.ozone</groupId>
- <artifactId>hdds-docs</artifactId>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>com.github.luben</groupId>
<artifactId>zstd-jni</artifactId>
@@ -326,12 +321,6 @@
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<includes>webapps/static/**/*.*</includes>
</artifactItem>
- <artifactItem>
- <groupId>org.apache.ozone</groupId>
- <artifactId>hdds-docs</artifactId>
-
<outputDirectory>${project.build.outputDirectory}/webapps/hddsDatanode</outputDirectory>
- <includes>docs/**/*.*</includes>
- </artifactItem>
</artifactItems>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
diff --git a/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.js
b/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.js
index 356b0e3f63f..991916983f4 100644
--- a/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.js
+++ b/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.js
@@ -261,17 +261,7 @@
snapshot: '@',
snapshotLinkHref: '@'
},
- templateUrl: 'static/templates/menu.html',
- controller: function($http) {
- var ctrl = this;
- ctrl.docs = false;
- $http.head("docs/index.html")
- .then(function(result) {
- ctrl.docs = true;
- }, function() {
- ctrl.docs = false;
- });
- }
+ templateUrl: 'static/templates/menu.html'
});
angular.module('ozone').component('config', {
diff --git
a/hadoop-hdds/framework/src/main/resources/webapps/static/templates/menu.html
b/hadoop-hdds/framework/src/main/resources/webapps/static/templates/menu.html
index 889d061aebc..153d0840fab 100644
---
a/hadoop-hdds/framework/src/main/resources/webapps/static/templates/menu.html
+++
b/hadoop-hdds/framework/src/main/resources/webapps/static/templates/menu.html
@@ -38,7 +38,7 @@
</li>
<li><a href="#!/config">Configuration</a></li>
<li><a href="#!/ratis_events">Ratis event timeline</a></li>
- <li ng-show="$ctrl.docs"><a href="/docs">Documentation</a></li>
+ <li><a href="https://ozone.apache.org/docs/">Documentation</a></li>
<li>
<a class="dropdown-toggle"
id="toolsMenu"
diff --git a/hadoop-hdds/server-scm/pom.xml b/hadoop-hdds/server-scm/pom.xml
index 16b1b6a4a33..c8756b11219 100644
--- a/hadoop-hdds/server-scm/pom.xml
+++ b/hadoop-hdds/server-scm/pom.xml
@@ -174,11 +174,6 @@
<artifactId>hdds-annotation-processing</artifactId>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.apache.ozone</groupId>
- <artifactId>hdds-docs</artifactId>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
@@ -303,12 +298,6 @@
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<includes>webapps/static/**/*.*</includes>
</artifactItem>
- <artifactItem>
- <groupId>org.apache.ozone</groupId>
- <artifactId>hdds-docs</artifactId>
-
<outputDirectory>${project.build.outputDirectory}/webapps/scm</outputDirectory>
- <includes>docs/**/*.*</includes>
- </artifactItem>
</artifactItems>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
diff --git a/hadoop-ozone/ozone-manager/pom.xml
b/hadoop-ozone/ozone-manager/pom.xml
index b87874f1ca2..b4022b21c91 100644
--- a/hadoop-ozone/ozone-manager/pom.xml
+++ b/hadoop-ozone/ozone-manager/pom.xml
@@ -238,11 +238,6 @@
<artifactId>hdds-annotation-processing</artifactId>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.apache.ozone</groupId>
- <artifactId>hdds-docs</artifactId>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
@@ -379,12 +374,6 @@
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<includes>webapps/static/**/*.*</includes>
</artifactItem>
- <artifactItem>
- <groupId>org.apache.ozone</groupId>
- <artifactId>hdds-docs</artifactId>
-
<outputDirectory>${project.build.outputDirectory}/webapps/ozoneManager</outputDirectory>
- <includes>docs/**/*.*</includes>
- </artifactItem>
</artifactItems>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
diff --git a/hadoop-ozone/s3gateway/pom.xml b/hadoop-ozone/s3gateway/pom.xml
index 3fe6da393d4..589654d1ba3 100644
--- a/hadoop-ozone/s3gateway/pom.xml
+++ b/hadoop-ozone/s3gateway/pom.xml
@@ -203,11 +203,6 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.ozone</groupId>
- <artifactId>hdds-docs</artifactId>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http2</artifactId>
@@ -297,12 +292,6 @@
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<includes>webapps/static/**/*.*</includes>
</artifactItem>
- <artifactItem>
- <groupId>org.apache.ozone</groupId>
- <artifactId>hdds-docs</artifactId>
-
<outputDirectory>${project.build.outputDirectory}/webapps/static</outputDirectory>
- <includes>docs/**/*.*</includes>
- </artifactItem>
</artifactItems>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
diff --git
a/hadoop-ozone/s3gateway/src/main/resources/webapps/s3g-web/index.html
b/hadoop-ozone/s3gateway/src/main/resources/webapps/s3g-web/index.html
index 7489f93b6f7..73d411d3fa9 100644
--- a/hadoop-ozone/s3gateway/src/main/resources/webapps/s3g-web/index.html
+++ b/hadoop-ozone/s3gateway/src/main/resources/webapps/s3g-web/index.html
@@ -49,7 +49,7 @@
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav" id="ui-tabs">
- <li><a href="static/docs">Documentation</a></li>
+ <li><a
href="https://ozone.apache.org/docs/">Documentation</a></li>
</ul>
</div><!--/.nav-collapse -->
@@ -62,7 +62,7 @@
<h1>S3 gateway</h1>
- <p>For more information, please check the <a
href="static/docs">documentation.</a>
+ <p>For more information, please check the <a
href="https://ozone.apache.org/docs/">documentation.</a>
</p>
</div><!-- /.container -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]