Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
richerfu committed May 23, 2024
1 parent df84929 commit 2755abe
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 49 deletions.
94 changes: 47 additions & 47 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -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",
},
},
});
4 changes: 2 additions & 2 deletions src/community/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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 |
|-------------------------------|-------------|-----------|
Expand Down

0 comments on commit 2755abe

Please sign in to comment.