You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/05/26 07:44:05 UTC

[incubator-opendal] branch fix-website-link created (now e6a1157a)

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

xuanwo pushed a change to branch fix-website-link
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


      at e6a1157a docs: Adopt docusaurus pathname protocol

This branch includes the following new commits:

     new e6a1157a docs: Adopt docusaurus pathname protocol

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-opendal] 01/01: docs: Adopt docusaurus pathname protocol

Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch fix-website-link
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit e6a1157ae59c30928e71932cab6c080465d6759b
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Fri May 26 15:43:40 2023 +0800

    docs: Adopt docusaurus pathname protocol
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 website/docusaurus.config.js                                 | 12 ++++++------
 .../src/components/HomepageFeatures/_feature_languages.mdx   |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index c3461e05..5137a214 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -106,16 +106,16 @@ const config = {
                 to: '/docs/category/services'
               },
               {
-                type: 'html',
-                value: '<a class="dropdown__link" href="/docs/rust/opendal">Rust Core</a>'
+                label: 'Rust Core',
+                to: 'pathname:///docs/rust/opendal/'
               },
               {
-                type: 'html',
-                value: '<a class="dropdown__link" href="/docs/nodejs/">Node.js Binding</a>'
+                label: 'Node.js Binding',
+                to: 'pathname:///docs/nodejs/'
               },
               {
-                type: 'html',
-                value: '<a class="dropdown__link" href="/docs/python/">Python Binding</a>'
+                label: 'Python Binding',
+                to: 'pathname:///docs/python/'
               },
             ]
           },
diff --git a/website/src/components/HomepageFeatures/_feature_languages.mdx b/website/src/components/HomepageFeatures/_feature_languages.mdx
index 442ce02e..cded02ba 100644
--- a/website/src/components/HomepageFeatures/_feature_languages.mdx
+++ b/website/src/components/HomepageFeatures/_feature_languages.mdx
@@ -1,4 +1,4 @@
-Apache OpenDAL provides [Rust Core](/docs/rust/opendal) and builds different language bindings like [Node.js Binding](/docs/nodejs) and [Python Binding](/docs/python).
+Apache OpenDAL provides [Rust Core](pathname:///docs/rust/opendal/) and builds different language bindings like [Node.js Binding](pathname:///docs/nodejs/) and [Python Binding](pathname:///docs/python/).
 
 > *More bindings like [C](https://github.com/apache/incubator-opendal/blob/main/bindings/c/README.md), [Java](https://github.com/apache/incubator-opendal/blob/main/bindings/java/README.md), [Ruby](https://github.com/apache/incubator-opendal/blob/main/bindings/ruby/README.md) are still working on.*