pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject [incubator-pulsar] branch master updated: [documentation] Issue 2386: release notes link of old versions broken (#2388)
Date Fri, 17 Aug 2018 15:45:34 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 4f43a3f  [documentation] Issue 2386: release notes link of old versions broken (#2388)
4f43a3f is described below

commit 4f43a3f5fe6046cbc034b65c1f625348d310cd11
Author: Sijie Guo <guosijie@gmail.com>
AuthorDate: Fri Aug 17 08:45:31 2018 -0700

    [documentation] Issue 2386: release notes link of old versions broken (#2388)
    
    ### Motivation
    
    Fixes #2386.
    
    Release notes links of old versions are broken due to an additional "/".
    
     ### Changes
    
    Remove the extra "/"
---
 site2/website/pages/en/versions.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/site2/website/pages/en/versions.js b/site2/website/pages/en/versions.js
index 9c26af1..fa176df 100644
--- a/site2/website/pages/en/versions.js
+++ b/site2/website/pages/en/versions.js
@@ -91,7 +91,7 @@ function Versions(props) {
                         </a>
                       </td>
                       <td>
-                        <a href={`${siteConfig.baseUrl}/release-notes#${version}`}>
+                        <a href={`${siteConfig.baseUrl}release-notes#${version}`}>
                           <translate>Release Notes</translate>
                         </a>
                       </td>
@@ -105,12 +105,12 @@ function Versions(props) {
                       <th>{version}</th>
                       <td>
                         <a
-                          href={`${siteConfig.url}/docs/v${version}/getting-started/LocalCluster/`}>
+                          href={`${siteConfig.baseUrl}docs/v${version}/getting-started/LocalCluster/`}>
                           <translate>Documentation</translate>
                         </a>
                       </td>
                       <td>
-                        <a href={`${siteConfig.baseUrl}/release-notes#${version}`}>
+                        <a href={`${siteConfig.baseUrl}release-notes#${version}`}>
                           <translate>Release Notes</translate>
                         </a>
                       </td>


Mime
View raw message