You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2022/10/28 16:25:51 UTC

[incubator-streampipes-website] branch master updated: [STREAMPIPES-599] Fix broken links in version overview (#30) (#31)

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f6d4ad62 [STREAMPIPES-599] Fix broken links in version overview (#30) (#31)
f6d4ad62 is described below

commit f6d4ad62bfaabdf5c36cf42a0593052f2a69d87c
Author: Tim <50...@users.noreply.github.com>
AuthorDate: Fri Oct 28 18:25:47 2022 +0200

    [STREAMPIPES-599] Fix broken links in version overview (#30) (#31)
    
    * [STREAMPIPES-599] fix broken links on project's version overview
    
    * [STREAMPIPES-599] Add link to issue tracker
    
    * [STREAMPIPES-599] improve appearance
    
    Co-authored-by: Philipp Zehnder <ze...@fzi.de>
    
    Co-authored-by: Philipp Zehnder <ze...@fzi.de>
---
 documentation/website/pages/en/versions.js | 39 ++++++++++++++++++++++--------
 1 file changed, 29 insertions(+), 10 deletions(-)

diff --git a/documentation/website/pages/en/versions.js b/documentation/website/pages/en/versions.js
index 4d3557c0..750eeb77 100644
--- a/documentation/website/pages/en/versions.js
+++ b/documentation/website/pages/en/versions.js
@@ -42,10 +42,10 @@ function Versions(props) {
               <tr>
                 <th>{latestVersion}</th>
                 <td>
-                  <a href={`${siteConfig.baseUrl}docs/user-guide-introduction`}>Documentation</a>
+                  <a href={`${siteConfig.baseUrl}docs/user-guide-introduction`}>&#x1F4DA; Documentation</a>
                 </td>
                 <td>
-                  <a href={`${repoUrl}/releases/tag/${latestVersion}`}>Release Notes</a>
+                  <a href={`${repoUrl}/releases/tag/release/${latestVersion}`}>&#x1F5DE; Release Notes</a>
                 </td>
               </tr>
             </tbody>
@@ -55,42 +55,61 @@ function Versions(props) {
             install this project.
           </p>
           <h3 id="rc">Pre-release versions</h3>
+          <p>The current development status can be found in our dev-branch on GitHub.<br/>
+            Please note that the software is still under development, which means that features may still change or disappear or behave error-prone until the next release.<br/>
+            If you have ideas for new features, you can discuss them on the mailing list or create an entry in the issue tracker.</p>
           <table className="versions">
             <tbody>
               <tr>
-                <th>master</th>
                 <td>
-                  <a href={`${siteConfig.baseUrl}docs/next/user-guide-introduction`}>Documentation</a>
+                  <a href="https://github.com/apache/incubator-streampipes/tree/dev">&#128421; Development Branch</a>
                 </td>
                 <td>
-                  <a href="">Release Notes</a>
+                  <a href="https://streampipes.apache.org/mailinglists.html">&#x1F4EF; Mailing list</a>
+                </td>
+                <td>
+                  <a href="https://issues.apache.org/jira/projects/STREAMPIPES/issues/">&#x1F4A1; Issue Tracker</a>
                 </td>
               </tr>
             </tbody>
           </table>
-          <p>Other text describing this section.</p>
+          <p></p>
           <h3 id="archive">Past Versions</h3>
           <table className="versions">
             <tbody>
               {versions.map(
                 version =>
-                  version !== latestVersion && (
+                  version !== latestVersion && !version.includes("pre-asf") && (
                     <tr>
                       <th>{version}</th>
                       <td>
-                        <a href={`${siteConfig.baseUrl}docs/${version}/user-guide-introduction`}>Documentation</a>
+                        <a href={`${siteConfig.baseUrl}docs/${version}/user-guide-introduction`}>&#x1F4DA; Documentation</a>
                       </td>
                       <td>
-                        <a href={`${repoUrl}/releases/tag/${version}`}>Release Notes</a>
+                        <a href={`${repoUrl}/releases/tag/release/${version}`}>&#x1F5DE; Release Notes</a>
                       </td>
                     </tr>
                   ),
               )}
+              {versions.map(
+                  version =>
+                      version !== latestVersion && version.includes("pre-asf") && (
+                          <tr>
+                            <th>{version}</th>
+                            <td>
+                              <a href={`${siteConfig.baseUrl}docs/${version}/user-guide-introduction`}>&#x1F4DA; Documentation</a>
+                            </td>
+                            <td>
+                              <a href={`${repoUrl}/releases/tag/${version.replace("-pre-asf", "")}`}>&#x1F5DE; Release Notes</a>
+                            </td>
+                          </tr>
+                      ),
+              )}
             </tbody>
           </table>
           <p>
             You can find past versions of this project on{' '}
-            <a href={repoUrl}>GitHub</a>.
+            <a href={`${repoUrl}/releases`}>GitHub</a>
           </p>
         </div>
       </Container>