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 <[email protected]> AuthorDate: Fri May 26 15:43:40 2023 +0800 docs: Adopt docusaurus pathname protocol Signed-off-by: Xuanwo <[email protected]> --- 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.*
