nacos-group/nacos-group.github.io
Fork: 133 Star: 93 (ๆดๆฐไบ 2024-04-18 11:56:20)
license: Apache-2.0
Language: Astro .
nacos-group.github.io
Nacos Official WebSite
This project keeps all sources used for building up Nacos official website which's served at http://nacos.io.
README.md
- en English
- zh_CN ็ฎไฝไธญๆ
Build instruction
- Run
npm i
in the root directory to install the dependencies. - Run
npm run dev
in the root directory to start a local server, you will see the website inlocalhost:4321
. - Run
npm run build
to build source code.
Requirements
Node.js version >= 18.14.1
๐ Project Structure
Inside of your Astro + Starlight project, you'll see the following folders and files:
โโโ public/ # Static Assest
โ โโโ font/
โ โโโ img/
โโโ src/ # Source Directory
โ โโโ assets/
โ โโโ components/ # Common Components
โ โ โโโ cloud/
โ โ โโโ common/ # General Components
โ โ โโโ contributors/
โ โ โโโ home/ # Homepage Components
โ โ โโโ icon/
โ โ โโโ markdownSet/
โ โ โโโ starlight/
โ โโโ content/
โ โ โโโ blog/ # Blog Directory
โ โ โโโ docs/ # Docs Directory
โ โ โโโ download/ # Download Directory
โ โ โโโ config.ts
โ โโโ helpers/
โ โโโ i18n/ # International entry configuration
โ โ โโโ en/
โ โ โโโ zh-cn/
โ โโโ layouts/ # Basic layout of the project
โ โโโ pages/
โ โโโ style/
โ โโโ consts.ts # Project Constant Management
โ โโโ env.d.ts
โ โโโ util.ts # General utility functions
โโโ template/ # 404 and other universal page templates
โโโ astro.config.mjs # Astro profile
โโโ package.json
โโโ tailwind.config.json # tailwindcss profile
โโโ themeColor.json
โโโ tsconfig.json
Starlight looks for .md
or .mdx
files in the src/content/docs/
directory. Each file is exposed as a route based on its file name.
Images can be added to src/assets/
and embedded in Markdown with a relative link.
Static assets, like favicons, can be placed in the public/
directory.
How to Contribute
- Create an issue first to description the issue
- Do not use
git add .
to commit all the changes. - Just push your changed files, such as:
-
*.md
- _sidebar.json
-
- Send a PR to
master
branch.
SEO
Make sure each .md starts with the following texts:
---
title: title
keywords: [keywords1,keywords2,keywords3]
description: some description
sidebar:
order: Article table of contents order(optional)
---
Refer to this blog Note:
-
title
can not include:
-
keywords
must be aArray
Guide for adding new document
Add a new doc
- Add new .md file under
docs/en
ordocs/zh-cn
. - Update
_sidebar.json
, add a new entry to the blog in either en or zh-cn. - Send the pull request contains the
.md
and_sidebar.json
only.
๐ Want to learn more?
Check out Starlightโs docs, read the Astro documentation, or jump into the Astro Discord server.
ๆ่ฟ็ๆฌๆดๆฐ:(ๆฐๆฎๆดๆฐไบ 1970-01-01 00:00:00)
ไธป้ข(topics):
dubbo, istio, kubernetes, nacos, nacos-sync, springcloud
nacos-group/nacos-group.github.ioๅ่ฏญ่จ Astroๆ่ฟๆดๆฐไปๅบ
2023-12-09 22:46:09 tw93/weekly
2022-02-08 04:34:23 ColorlibHQ/AdminLTE
1970-01-01 00:00:00 midudev/pruebas-tecnicas
1970-01-01 00:00:00 midudev/porfolio.dev
1970-01-01 00:00:00 midudev/la-velada-web-oficial
1970-01-01 00:00:00 NixOS/nixos-homepage