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 02:05:02 UTC

[pulsar-site] 01/01: fix: standalone links fix

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

urfree pushed a commit to branch fix/some-docs-link
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit a24d2db728b0295fa67270fd62ab3b7e5699f590
Author: Li Li <ur...@apache.org>
AuthorDate: Thu Apr 28 10:04:51 2022 +0800

    fix: standalone links fix
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/docs/reference-configuration.md                          |  4 ++--
 site2/website-next/docs/reference-configuration.md             |  4 ++--
 site2/website-next/sidebars.json                               | 10 +++++-----
 .../versioned_sidebars/version-2.10.0-sidebars.json            |  6 +-----
 .../versioned_sidebars/version-2.9.2-sidebars.json             |  6 +-----
 site2/website/pages/en/download.js                             |  2 +-
 site2/website/pages/en/versions.js                             |  6 +++---
 site2/website/sidebars.json                                    |  2 +-
 8 files changed, 16 insertions(+), 24 deletions(-)

diff --git a/site2/docs/reference-configuration.md b/site2/docs/reference-configuration.md
index 4b04273204..53709fe06e 100644
--- a/site2/docs/reference-configuration.md
+++ b/site2/docs/reference-configuration.md
@@ -46,7 +46,7 @@ BookKeeper is a replicated log storage system that Pulsar uses for durable stora
 |logSizeLimit|Max file size of the entry logger, in bytes. A new entry log file will be created when the old one reaches the file size limitation.|2147483648|
 |minorCompactionThreshold|Threshold of minor compaction. Entry log files whose remaining size percentage reaches below this threshold will be compacted in a minor compaction. If set to less than zero, the minor compaction is disabled.|0.2|
 |minorCompactionInterval|Time interval to run minor compaction, in seconds. If set to less than zero, the minor compaction is disabled. Note: should be greater than gcWaitTime. |3600|
-|majorCompactionThreshold|The threshold of major compaction. Entry log files whose remaining size percentage reaches below this threshold will be compacted in a major compaction. Those entry log files whose remaining size percentage is still higher than the threshold will never be compacted. If set to less than zero, the minor compaction is disabled.|0.5|
+|majorCompactionThreshold|The threshold of major compaction. Entry log files whose remaining size percentage reaches below this threshold will be compacted in a major compaction. Those entry log files whose remaining size percentage is still higher than the threshold will never be compacted. If set to less than zero, the major compaction is disabled.|0.5|
 |majorCompactionInterval|The time interval to run major compaction, in seconds. If set to less than zero, the major compaction is disabled. Note: should be greater than gcWaitTime. |86400|
 |readOnlyModeEnabled|If `readOnlyModeEnabled=true`, then on all full ledger disks, bookie will be converted to read-only mode and serve only read requests. Otherwise the bookie will be shutdown.|true|
 |forceReadOnlyBookie|Whether the bookie is force started in read only mode.|false|
@@ -858,4 +858,4 @@ server.2=zk2.us-west.example.com:2888:3888
 server.3=zk3.us-west.example.com:2888:3888
 ```
 
-> We strongly recommend consulting the [ZooKeeper Administrator's Guide](https://zookeeper.apache.org/doc/current/zookeeperAdmin.html) for a more thorough and comprehensive introduction to ZooKeeper configuration
\ No newline at end of file
+> We strongly recommend consulting the [ZooKeeper Administrator's Guide](https://zookeeper.apache.org/doc/current/zookeeperAdmin.html) for a more thorough and comprehensive introduction to ZooKeeper configuration
diff --git a/site2/website-next/docs/reference-configuration.md b/site2/website-next/docs/reference-configuration.md
index 13da4c4ce5..ef443b3b83 100644
--- a/site2/website-next/docs/reference-configuration.md
+++ b/site2/website-next/docs/reference-configuration.md
@@ -42,7 +42,7 @@ BookKeeper is a replicated log storage system that Pulsar uses for durable stora
 |logSizeLimit|Max file size of the entry logger, in bytes. A new entry log file will be created when the old one reaches the file size limitation.|2147483648|
 |minorCompactionThreshold|Threshold of minor compaction. Entry log files whose remaining size percentage reaches below this threshold will be compacted in a minor compaction. If set to less than zero, the minor compaction is disabled.|0.2|
 |minorCompactionInterval|Time interval to run minor compaction, in seconds. If set to less than zero, the minor compaction is disabled. Note: should be greater than gcWaitTime. |3600|
-|majorCompactionThreshold|The threshold of major compaction. Entry log files whose remaining size percentage reaches below this threshold will be compacted in a major compaction. Those entry log files whose remaining size percentage is still higher than the threshold will never be compacted. If set to less than zero, the minor compaction is disabled.|0.5|
+|majorCompactionThreshold|The threshold of major compaction. Entry log files whose remaining size percentage reaches below this threshold will be compacted in a major compaction. Those entry log files whose remaining size percentage is still higher than the threshold will never be compacted. If set to less than zero, the major compaction is disabled.|0.5|
 |majorCompactionInterval|The time interval to run major compaction, in seconds. If set to less than zero, the major compaction is disabled. Note: should be greater than gcWaitTime. |86400|
 |readOnlyModeEnabled|If `readOnlyModeEnabled=true`, then on all full ledger disks, bookie will be converted to read-only mode and serve only read requests. Otherwise the bookie will be shutdown.|true|
 |forceReadOnlyBookie|Whether the bookie is force started in read only mode.|false|
@@ -856,4 +856,4 @@ server.3=zk3.us-west.example.com:2888:3888
 
 ```
 
-> We strongly recommend consulting the [ZooKeeper Administrator's Guide](https://zookeeper.apache.org/doc/current/zookeeperAdmin.html) for a more thorough and comprehensive introduction to ZooKeeper configuration
\ No newline at end of file
+> We strongly recommend consulting the [ZooKeeper Administrator's Guide](https://zookeeper.apache.org/doc/current/zookeeperAdmin.html) for a more thorough and comprehensive introduction to ZooKeeper configuration
diff --git a/site2/website-next/sidebars.json b/site2/website-next/sidebars.json
index 277aff84ad..d1240e8576 100644
--- a/site2/website-next/sidebars.json
+++ b/site2/website-next/sidebars.json
@@ -8,7 +8,7 @@
       "type": "category",
       "label": "Get Started",
       "items": [
-        "standalone",
+        "getting-started-standalone",
         "getting-started-docker",
         "getting-started-helm"
       ]
@@ -144,6 +144,7 @@
       "label": "Security",
       "items": [
         "security-overview",
+        "security-policy-and-supported-versions",
         "security-tls-transport",
         "security-tls-authentication",
         "security-tls-keystore",
@@ -154,8 +155,7 @@
         "security-authorization",
         "security-encryption",
         "security-extending",
-        "security-bouncy-castle",
-        "security-policy-and-supported-versions"
+        "security-bouncy-castle"
       ]
     },
     {
@@ -222,9 +222,9 @@
       "label": "Development",
       "items": [
         "develop-tools",
+        "developing-binary-protocol",
         "develop-load-manager",
-        "develop-plugin",
-        "developing-binary-protocol"
+        "develop-plugin"
       ]
     },
     {
diff --git a/site2/website-next/versioned_sidebars/version-2.10.0-sidebars.json b/site2/website-next/versioned_sidebars/version-2.10.0-sidebars.json
index 4a48fb1544..3da9668301 100644
--- a/site2/website-next/versioned_sidebars/version-2.10.0-sidebars.json
+++ b/site2/website-next/versioned_sidebars/version-2.10.0-sidebars.json
@@ -10,7 +10,7 @@
       "items": [
         {
           "type": "doc",
-          "id": "version-2.10.0/standalone"
+          "id": "version-2.10.0/getting-started-standalone"
         },
         {
           "type": "doc",
@@ -19,10 +19,6 @@
         {
           "type": "doc",
           "id": "version-2.10.0/getting-started-helm"
-        },
-        {
-          "type": "doc",
-          "id": "version-2.10.0/getting-started-standalone"
         }
       ]
     },
diff --git a/site2/website-next/versioned_sidebars/version-2.9.2-sidebars.json b/site2/website-next/versioned_sidebars/version-2.9.2-sidebars.json
index 11b793863d..1688c80d69 100644
--- a/site2/website-next/versioned_sidebars/version-2.9.2-sidebars.json
+++ b/site2/website-next/versioned_sidebars/version-2.9.2-sidebars.json
@@ -10,7 +10,7 @@
       "items": [
         {
           "type": "doc",
-          "id": "version-2.9.2/standalone"
+          "id": "version-2.9.2/getting-started-standalone"
         },
         {
           "type": "doc",
@@ -19,10 +19,6 @@
         {
           "type": "doc",
           "id": "version-2.9.2/getting-started-helm"
-        },
-        {
-          "type": "doc",
-          "id": "version-2.9.2/getting-started-standalone"
         }
       ]
     },
diff --git a/site2/website/pages/en/download.js b/site2/website/pages/en/download.js
index 4364919c88..3dbb232620 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>&nbsp;
-                <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 dce5ba127d..27878e8c08 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 ca4d122898..c1c42da3a4 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"
     ],