From 4ece22462f13c4e275101f58f3c8eaacb4e5a849 Mon Sep 17 00:00:00 2001 From: Eric X Date: Sun, 7 Aug 2022 11:34:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=8B=86=E7=BF=BB=E8=AF=91=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=88=B0=E5=8D=95=E7=8B=AC=E5=88=86=E6=94=AF=EF=BC=8C?= =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=8E=9FPR=E4=B8=AD=E7=9A=84=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- get-started/_common/components/_overview.md | 29 ++---- get-started/explore_fuchsia.md | 109 ++++++++++++++------ 2 files changed, 87 insertions(+), 51 deletions(-) diff --git a/get-started/_common/components/_overview.md b/get-started/_common/components/_overview.md index e5b845f5..fd829dc0 100644 --- a/get-started/_common/components/_overview.md +++ b/get-started/_common/components/_overview.md @@ -1,35 +1,28 @@ - -一个组件是一个运行在 Fuchsia 沙盒中的程序。每个组件都是一个可组合的模块,依据各自功能与其它组件交互。Fuchsia 中所有软件都被定义为组件,除了内核、引导进程以及组件管理器。 +except for the kernel image, bootstrapping processes, and the Component Manager. - -Fuchsia 的组件框架致力于让系统可以运行几乎所有的用户空间软件。组件管理器是一个系统进程,负责协调各个组件实例的执行和生命周期、维护组件拓扑、给组件提供相应功能,并使它们彼此隔离。 +from one another. - -组件通过功能获得访问更广泛系统的各个部分的特权。每个组件都可以声明它们提供给系统的新功能以及需要其他组件(或框架)提供的功能。组件管理器解析并验证组件间的所有功能请求,以确保它们与组件已被正确授予的功能相匹配。 +has been properly granted. diff --git a/get-started/explore_fuchsia.md b/get-started/explore_fuchsia.md index c1e32ae8..7a9d302c 100644 --- a/get-started/explore_fuchsia.md +++ b/get-started/explore_fuchsia.md @@ -1,85 +1,119 @@ -# Explore Fuchsia {#explore-fuchsia} + +# 探索 Fuchsia {#explore-fuchsia} -Once you have Fuchsia up and running on a device or emulator, -check out the following resources: + +在设备或模拟器上启动并运行 Fuchsia 后,请查看以下资源: -* [Run ffx commands](#run-ffx-commands). + +* [运行 ffx 命令](#run-ffx-commands). +* [运行示例程序](#run-examples). +* [创建 Fuchsia 组件](#create-fuchsia-components). +* [贡献修订](#contribute-changes). -## Run ffx commands {#run-ffx-commands} + +## 运行 ffx 命令 {#run-ffx-commands} -[`ffx`][ffx-overview] is a host tool for Fuchsia target workflows that + +[`ffx`][ffx-overview] 是 Fuchsia 目标工作流的主机工具,为所有 Fuchsia 环境和主机平台上提供一致的开发体验。 -The following are some of `ffx` command examples: + +以下是一些 `ffx` 命令示例: -* Display the list of devices: + +* 显示设备列表: ```posix-terminal ffx target list ``` -* Display the device information: + +* 显示设备信息: ```posix-terminal ffx target show ``` -* Print the device logs: + +* 输出设备日志: ```posix-terminal ffx log ``` -* Reboot the device: + +* 重启设备: ```posix-terminal ffx target reboot ``` -## Run examples {#run-examples} + +## 运行示例 -To try out Fuchsia's sample software, check out the guides below: + +要试用 Fuchsia 的样例程序,请参考如下指南: -* [Run an example component](/development/run/run-examples.md) + +* [运行样例组件](/development/run/run-examples.md) +* [运行测试组件](/development/run/run-test-component.md) +* [运行端到端测试](/development/testing/run_an_end_to_end_test.md) -## Create Fuchsia components {#create-fuchsia-components} + +## 创建 Fuchsia 组件 {#create-fuchsia-components} -The basic executable units of software in Fuchsia are + +Fuchsia 中最小可运行软件单元是[组件](/concepts/components/v2),这些组件通过 +[FIDL](/concepts/fidl/overview.md)(Fuchsia 接口定义语言)协议彼此交互。 -To learn more about Fuchsia components and FIDL, check out the guides below: + +要想了解更多有关 Fuchsia 组件和 FIDL 的信息,参考如下指南: -* [Build components](/development/components/build.md) + +* [构建组件](/development/components/build.md) +* [FIDL 概览](/development/languages/fidl/README.md) +* [FIDL 教程](/development/languages/fidl/tutorials/overview.md) -## Contribute changes {#contribute-changes} + +## 贡献更改 {#contribute-changes} -When you're ready to contribute to the Fuchsia project, -see [Contribute changes][contribute-changes]. + +当您准备好为 Fuchsia 项目做出贡献时,请参阅[贡献更改][contribute-changes]。 -## See also + +## 参阅 -For more information on Fuchsia's development workflows, -check out the following resources: + +要获取关于 Fuchsia 开发流程的更多信息,请参阅下列资源: -* [fx workflows](/development/build/fx.md) + +* [fx 工作流程](/development/build/fx.md) +* [工作流程技巧和问题](/development/source_code/workflow_tips_and_faq.md) +* [配置编辑器](/development/editors/) +* [源码规划](/development/source_code/layout.md) +* [构建系统](/development/build/build_system/index.md) -[components]: /concepts/components/v2 + +[组件]: /concepts/components/v2 +[运行示例程序]: /development/run/run-examples.md +[ffx 命令概览]: /development/tools/ffx/overview.md +[fidl]: /development/languages/fidl +[fidl 指南]: /development/languages/fidl/tutorials/overview.md +[fidl 概念]: /concepts/fidl/overview.md +[运行 fuchsia 测试]: /development/testing/run_fuchsia_tests.md +[scenic]: /concepts/ui/scenic/index.md +[贡献更改]: /development/source_code/contribute_changes.md