You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/04/28 01:46:35 UTC
[pulsar] branch master updated: fix: docs id link (#15359)
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 3927c2c10d2 fix: docs id link (#15359)
3927c2c10d2 is described below
commit 3927c2c10d22f42741006e192e3c57634803d72a
Author: Li Li <ur...@apache.org>
AuthorDate: Thu Apr 28 09:46:28 2022 +0800
fix: docs id link (#15359)
---
site2/website/pages/en/download.js | 2 +-
site2/website/pages/en/versions.js | 6 +++---
site2/website/sidebars.json | 2 +-
site2/website/siteConfig.js | 7 +++++--
4 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/site2/website/pages/en/download.js b/site2/website/pages/en/download.js
index 8c1344c0e60..65a802f83d4 100644
--- a/site2/website/pages/en/download.js
+++ b/site2/website/pages/en/download.js
@@ -217,7 +217,7 @@ class Download extends React.Component {
Once you've downloaded a Pulsar release, instructions on getting up and running with a standalone cluster
that you can run on your laptop can be found in the{' '}
</translate>
- <a href={`${siteConfig.baseUrl}docs/${this.props.language}/standalone`}><translate>Run Pulsar locally</translate></a> <translate>tutorial</translate>.
+ <a href={`${siteConfig.baseUrl}docs/${this.props.language}/getting-started-standalone`}><translate>Run Pulsar locally</translate></a> <translate>tutorial</translate>.
</p>
</div>
<p>
diff --git a/site2/website/pages/en/versions.js b/site2/website/pages/en/versions.js
index dce5ba127dc..27878e8c088 100644
--- a/site2/website/pages/en/versions.js
+++ b/site2/website/pages/en/versions.js
@@ -35,7 +35,7 @@ function Versions(props) {
<th>{latestStableVersion}</th>
<td>
<a
- href={`${siteConfig.baseUrl}docs/${props.language}/standalone`}>
+ href={`${siteConfig.baseUrl}docs/${props.language}/getting-started-standalone`}>
<translate>
Documentation
</translate>
@@ -61,7 +61,7 @@ function Versions(props) {
<th>master</th>
<td>
<a
- href={`${siteConfig.baseUrl}docs/${props.language}/next/standalone`}>
+ href={`${siteConfig.baseUrl}docs/${props.language}/next/getting-started-standalone`}>
<translate>Documentation</translate>
</a>
</td>
@@ -86,7 +86,7 @@ function Versions(props) {
<th>{version}</th>
<td>
<a
- href={`${siteConfig.baseUrl}docs/${props.language}/${version}/standalone`}>
+ href={`${siteConfig.baseUrl}docs/${props.language}/${version}/getting-started-standalone`}>
<translate>Documentation</translate>
</a>
</td>
diff --git a/site2/website/sidebars.json b/site2/website/sidebars.json
index ca4d1228988..c1c42da3a41 100644
--- a/site2/website/sidebars.json
+++ b/site2/website/sidebars.json
@@ -1,7 +1,7 @@
{
"docs": {
"Get Started": [
- "standalone",
+ "getting-started-standalone",
"getting-started-docker",
"getting-started-helm"
],
diff --git a/site2/website/siteConfig.js b/site2/website/siteConfig.js
index b175066fd2d..5607a6230b8 100644
--- a/site2/website/siteConfig.js
+++ b/site2/website/siteConfig.js
@@ -122,7 +122,7 @@ const siteConfig = {
// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
- { doc: "standalone", label: "Docs" },
+ { doc: "getting-started-standalone", label: "Docs" },
{ page: "download", label: "Download" },
{ doc: "client-libraries", label: "Clients" },
{ href: "#restapis", label: "REST APIs" },
@@ -130,7 +130,10 @@ const siteConfig = {
{ blog: true, label: "Blog" },
{ href: "#community", label: "Community" },
{ href: "#apache", label: "Apache" },
- { href: "https://pulsar-next.staged.apache.org/", label: "New Website(Beta)" },
+ {
+ href: "https://pulsar-next.staged.apache.org/",
+ label: "New Website (Beta)",
+ },
// Determines search bar position among links
//{ search: true },
// Determines language drop down position among links