diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 9537e9f..5a06be8 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -1,50 +1,50 @@ -import {defineConfig} from "vitepress"; -import {BasicSideBar} from "./BasicSideBar.mjs"; -import {EcosystemSideBar} from "./Ecosystem.mjs"; +import { defineConfig } from "vitepress"; +import { BasicSideBar } from "./BasicSideBar.mjs"; +import { EcosystemSideBar } from "./Ecosystem.mjs"; export default defineConfig({ - title: "ohos-rs", - description: - "A framework for building compiled OpenHarmony SDK in Rust via Node-API(Forked from napi-rs)", - srcDir: "./src", - markdown: { - image: { - lazyLoading: true, - }, - }, - head: [["link", {rel: "icon", href: "/favicon.ico"}]], - themeConfig: { - logo: "/logo.svg", - nav: [ - {text: "Home", link: "/"}, - {text: "Docs", link: "/docs/basic"}, - {text: "Ecosystem", link: "/ecosystem/"}, - {text: 'Community', link: "/community/"}, - {text: 'Blog', link: "/blog/"}, - { - text: "About", - items: [ - {text: "Logo", link: "/about/"}, - {text: "Issue", link: "https://github.com/ohos-rs/example/issues"}, - ], - }, - ], - sidebar: { - "/docs": BasicSideBar, - "/ecosystem": EcosystemSideBar, - "/about": [], - }, - socialLinks: [{icon: "github", link: "https://github.com/ohos-rs"}], - editLink: { - pattern: - "https://github.com/ohos-rs/ohos-rs.github.io/tree/master/src/:path", - text: "Edit this page on GitHub", - }, - lastUpdated: { - text: "Last updated", - }, - search: { - provider: "local", - }, - }, + title: "ohos-rs", + description: + "A framework for building compiled OpenHarmony SDK in Rust via Node-API(Forked from napi-rs)", + srcDir: "./src", + markdown: { + image: { + lazyLoading: true, + }, + }, + head: [["link", { rel: "icon", href: "/favicon.ico" }]], + themeConfig: { + logo: "/logo.svg", + nav: [ + { text: "Home", link: "/" }, + { text: "Docs", link: "/docs/basic" }, + { text: "Ecosystem", link: "/ecosystem/" }, + { text: "Community", link: "/community/" }, + { text: "Blog", link: "/blog/" }, + { + text: "About", + items: [ + { text: "Logo", link: "/about/" }, + { text: "Issue", link: "https://github.com/ohos-rs/example/issues" }, + ], + }, + ], + sidebar: { + "/docs": BasicSideBar, + "/ecosystem": EcosystemSideBar, + "/about": [], + }, + socialLinks: [{ icon: "github", link: "https://github.com/ohos-rs" }], + editLink: { + pattern: + "https://github.com/ohos-rs/ohos-rs.github.io/tree/master/src/:path", + text: "Edit this page on GitHub", + }, + lastUpdated: { + text: "Last updated", + }, + search: { + provider: "local", + }, + }, }); diff --git a/src/community/index.md b/src/community/index.md index 092bca7..b0925bf 100644 --- a/src/community/index.md +++ b/src/community/index.md @@ -8,7 +8,7 @@ packages that are utilizing this repository. ## Application If you've utilized this repository to develop native features for your app, we'd love for you to submit -a [PR](https://github.com/ohos-rs/ohos-rs.github.io/pulls). We'd be +a [Pull Request](https://github.com/ohos-rs/ohos-rs.github.io/pulls). We'd be thrilled to know about it and showcase it here. | Application Name | Icon | More Info | @@ -18,7 +18,7 @@ thrilled to know about it and showcase it here. ## Package If you've used this repository to develop ohpm packages for higher-level applications, we'd be delighted if you could -submit a [PR](https://github.com/ohos-rs/ohos-rs.github.io/pulls). We'd love to know about it and feature it here. +submit a [Pull Request](https://github.com/ohos-rs/ohos-rs.github.io/pulls). We'd love to know about it and feature it here. | Package Name | Description | More Info | |-------------------------------|-------------|-----------|