sijie closed pull request #2388: [documentation] Issue 2386: release notes link 
of old versions broken
URL: https://github.com/apache/incubator-pulsar/pull/2388
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/site2/website/pages/en/versions.js 
b/site2/website/pages/en/versions.js
index 9c26af1324..fa176df36d 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>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to