snazy commented on code in PR #3876:
URL: https://github.com/apache/polaris/pull/3876#discussion_r2848756494


##########
site/content/docs/_index.md:
##########
@@ -0,0 +1,53 @@
+---
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+title: 'Polaris Documentation'
+linkTitle: 'Documentation'
+type: docs
+# Mark this as the documentation root - used by breadcrumb.html partial
+params:
+  docs_root: true
+---
+
+Welcome to the Apache Polaris documentation. Select a version below to get 
started.
+
+## In Development
+
+The latest unreleased documentation from the main branch:
+
+- [**Unreleased**](/in-dev/unreleased/) - Latest development version
+
+## Released Versions
+
+### Active Releases
+
+These versions are currently supported:
+
+- [**1.3.0**](/releases/1.3.0/) - Latest stable release
+- [**1.2.0**](/releases/1.2.0/)
+- [**1.1.0**](/releases/1.1.0/)
+- [**1.0.1**](/releases/1.0.1/)

Review Comment:
   I think, this list and the EOL list could be replaced with a shortcode. Not 
sure how complicated it is, so it can be done later.



##########
site/hugo.yaml:
##########
@@ -65,12 +65,11 @@ params:
   # at the very right in the navbar.
   active_releases:
     # Mention all active releases here, in semver descending order
+    # EOL releases (0.9.0, 1.0.0) should NOT be listed here

Review Comment:
   IMO even 1.0.1, 1.1.0 and 1.2.0 could be listed as EOL. We haven't settled 
on a policy for supported releases, so 🤷 



##########
site/layouts/_default/redirect.html:
##########
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="{{ site.Language.LanguageCode }}">
+  <head>
+    <title>{{ .Title }}</title>
+    <link rel="canonical" href="{{ .Params.redirect_to }}">
+    <meta name="robots" content="noindex">
+    <meta charset="utf-8">
+    <meta http-equiv="refresh" content="0; url={{ .Params.redirect_to }}">

Review Comment:
   Ah, the good old html redirect ;)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to