提交 7ca06db9 编写于 作者: W wusongqing

corrected link errors

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 7f331b1e
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
> >
> The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version. > The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
> >
> The APIs of API version 9 is of the Canary version and are for trial use only. The API call may be unstable. > The APIs of API version 9 are of the canary version and are for trial use only. The API call may be unstable.
## Modules to Import ## Modules to Import
......
...@@ -127,9 +127,9 @@ zlib.unzipFile(inFile, outFile, options).then((data) => { ...@@ -127,9 +127,9 @@ zlib.unzipFile(inFile, outFile, options).then((data) => {
| Name | Description | | Name | Description |
| --------------------------- | ------------------------------------------------------------ | | --------------------------- | ------------------------------------------------------------ |
| level?: CompressLeve | See [zip.CompressLevel](#zip.CompressLevel).| | level?: CompressLeve | See [zip.CompressLevel](#zipcompresslevel). |
| memLevel?: MemLevel | See [zip.MemLevel](#zip.MemLevel) | | memLevel?: MemLevel | See [zip.MemLevel](#zipmemlevel) |
| strategy?: CompressStrategy | See [zip.CompressStrategy](#zip.CompressStrategy)| | strategy?: CompressStrategy | See [zip.CompressStrategy](#zipcompressstrategy) |
## zip.MemLevel ## zip.MemLevel
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
You can search for common development resources on [DevEco Marketplace](https://repo.harmonyos.com) and import required resources to your projects through dependencies. If you cannot find the desired resources there, develop the resources on your own and publish them in the form of an HPM Part. To develop HPM Parts, install the hpm-cli tool first. You can search for common development resources on [DevEco Marketplace](https://repo.harmonyos.com) and import required resources to your projects through dependencies. If you cannot find the desired resources there, develop the resources on your own and publish them in the form of an HPM Part. To develop HPM Parts, install the hpm-cli tool first.
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
>
> You are advised to perform the following operations on Ubuntu 18.04 or later. > You are advised to perform the following operations on Ubuntu 18.04 or later.
...@@ -17,9 +18,10 @@ The hpm-cli tool is developed based on Node.js. Therefore, you must install Node ...@@ -17,9 +18,10 @@ The hpm-cli tool is developed based on Node.js. Therefore, you must install Node
### Installing Node.js and hpm-cli ### Installing Node.js and hpm-cli
1. Install Node.js. 1. Install Node.js.
Download Node.js from its official website and install it on your local PC.
You are advised to install the latest LTS version (not earlier than 12.x) of [Node.js](https://nodejs.org/). Download Node.js from its official website and install it on your local PC.
You are advised to install the latest LTS version (not earlier than 12.x) of [Node.js](https://nodejs.org/).
2. Install the hpm-cli tool using **npm** delivered with **Node.js**. Run the following command: 2. Install the hpm-cli tool using **npm** delivered with **Node.js**. Run the following command:
...@@ -49,7 +51,7 @@ After hpm-cli is installed, run the following command to view the hpm configurat ...@@ -49,7 +51,7 @@ After hpm-cli is installed, run the following command to view the hpm configurat
hpm config hpm config
``` ```
The default hpm configuration is displayed upon successful command execution. You can modify the default configuration as required. The following lists the common hpm configuration: The default hpm configuration is displayed upon successful command execution. You can modify the default configuration as required. The following lists the common hpm configuration:
``` ```
registry = https://hpm.harmonyos.com registry = https://hpm.harmonyos.com
...@@ -88,7 +90,8 @@ You can create an HPM Part by using a template or define an existing project as ...@@ -88,7 +90,8 @@ You can create an HPM Part by using a template or define an existing project as
``` ```
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
> -In the preceding command, **default** indicates that the **default** template is used. You can use another template such as **simple** or **dist**. >
> In the preceding command, **default** indicates that the **default** template is used. You can use another template such as **simple** or **dist**.
The generated directory structure is as follows: The generated directory structure is as follows:
...@@ -103,7 +106,7 @@ You can create an HPM Part by using a template or define an existing project as ...@@ -103,7 +106,7 @@ You can create an HPM Part by using a template or define an existing project as
└── Makefile # Build description file (example) └── Makefile # Build description file (example)
└── README.md # Readme file └── README.md # Readme file
``` ```
2. Write the code and build script of the HPM Part. 2. Write the code and build script of the HPM Part.
...@@ -120,7 +123,7 @@ You can create an HPM Part by using a template or define an existing project as ...@@ -120,7 +123,7 @@ You can create an HPM Part by using a template or define an existing project as
The hpm-cli tool provides a few default templates. More templates are available on [DevEco Marketplace](https://repo.harmonyos.com). You can run the **hpm search -t template** command to search for a template stored on [DevEco Marketplace](https://repo.harmonyos.com). The hpm-cli tool provides a few default templates. More templates are available on [DevEco Marketplace](https://repo.harmonyos.com). You can run the **hpm search -t template** command to search for a template stored on [DevEco Marketplace](https://repo.harmonyos.com).
![zh-cn_image_0000001217486680](figures/zh-cn_image_0000001217486680.png) ![en-us_image_0000001217486680](figures/en-us_image_0000001217486680.png)
### Defining an Existing Project as an HPM Part ### Defining an Existing Project as an HPM Part
...@@ -275,7 +278,7 @@ hpm build ...@@ -275,7 +278,7 @@ hpm build
After all build operations are complete, the message "build succeed" is displayed. You need to check the build result. After all build operations are complete, the message "build succeed" is displayed. You need to check the build result.
![zh-cn_image_0000001262166533](figures/zh-cn_image_0000001262166533.png) ![en-us_image_0000001262166533](figures/en-us_image_0000001262166533.png)
### Building an Image ### Building an Image
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
- [Sensor Usage Guidelines](subsys-sensor-guide.md) - [Sensor Usage Guidelines](subsys-sensor-guide.md)
- [Sensor Usage Example](subsys-sensor-demo.md) - [Sensor Usage Example](subsys-sensor-demo.md)
- [USB](subsys-usbservice.md) - [USB](subsys-usbservice.md)
- [[USB Overview](subsys-usbservice-overview.md) - [USB Overview](subsys-usbservice-overview.md)
- [USB Usage Guidelines](subsys-usbservice-guide.md) - [USB Usage Guidelines](subsys-usbservice-guide.md)
- [USB Usage Example](subsys-usbservice-demo.md) - [USB Usage Example](subsys-usbservice-demo.md)
- [Application Framework](subsys-application-framework.md) - [Application Framework](subsys-application-framework.md)
...@@ -61,10 +61,10 @@ ...@@ -61,10 +61,10 @@
- [Setting Up a Development Environment](subsys-application-framework-envbuild.md) - [Setting Up a Development Environment](subsys-application-framework-envbuild.md)
- [Development Guidelines](subsys-application-framework-guide.md) - [Development Guidelines](subsys-application-framework-guide.md)
- [Development Example](subsys-application-framework-demo.md) - [Development Example](subsys-application-framework-demo.md)
- [OTA Upgrade](subsys-ota-guide.md) - [OTA Update](subsys-ota-guide.md)
- [Telephony Service ](subsys-tel.md) - [Telephony ](subsys-tel.md)
- [Telephony Service](telephony-service.md) - [Telephony Overview](subsys-tel-overview.md)
- [Development Guidelines](development-guidelines.md) - [Telephony Development](subsys-tel-guide.md)
- [Security](subsys-security.md) - [Security](subsys-security.md)
- [Overview](subsys-security-overview.md) - [Overview](subsys-security-overview.md)
- [Development on Application Signature Verification](subsys-security-sigverify.md) - [Development on Application Signature Verification](subsys-security-sigverify.md)
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
- [syspara Module](subsys-boot-syspara.md) - [syspara Module](subsys-boot-syspara.md)
- [FAQs](subsys-boot-faqs.md) - [FAQs](subsys-boot-faqs.md)
- [Reference](subsys-boot-ref.md) - [Reference](subsys-boot-ref.md)
- [Testing](subsys-testguide-test.md) - [Test](subsys-testguide-test.md)
- [DFX](subsys-dfx.md) - [DFX](subsys-dfx.md)
- [DFX](subsys-dfx-overview.md) - [DFX](subsys-dfx-overview.md)
- [HiLog Development](subsys-dfx-hilog-rich.md) - [HiLog Development](subsys-dfx-hilog-rich.md)
......
# Subsystems # Telephony
- [Telephony Service](telephony-service.md) - [Telephony Overview](subsys-tel-overview.md)
- [Telephony Service](telephony-service.md) - [Telephony Development](subsys-tel-guide.md)
- [Development Guidelines](development-guidelines.md)
# Subsystem Development Guidelines<a name="EN-US_TOPIC_0000001111199452"></a> # Subsystem Development Guidelines<a name="EN-US_TOPIC_0000001111199452"></a>
- **[Compilation and Building](subsys-build.md)** - **[Compilation and Building](subsys-build.md)**
- **[Distributed Remote Startup](subsys-remote-start.md)** - **[Distributed Remote Startup](subsys-remote-start.md)**
- **[Graphics](subsys-graphics.md)** - **[Graphics](subsys-graphics.md)**
- **[Multimedia](subsys-multimedia.md)** - **[Multimedia](subsys-multimedia.md)**
- **[Data Management](subsys-data.md)** - **[Data Management](subsys-data.md)**
- **[Utils](subsys-utils.md)** - **[Utils](subsys-utils.md)**
- **[AI Framework](subsys-aiframework.md)** - **[AI Framework](subsys-aiframework.md)**
- **[Sensors](subsys-sensor.md)** - **[Sensors](subsys-sensor.md)**
- **[Application Framework](subsys-application-framework.md)** - **[Application Framework](subsys-application-framework.md)**
- **[OTA Update](subsys-ota-guide.md)**
- **[OTA Upgrade](subsys-ota-guide.md)** - **[Telephony](subsys-tel.md)**
- **[Security](subsys-security.md)** - **[Security](subsys-security.md)**
- **[Startup](subsys-boot.md)** - **[Startup](subsys-boot.md)**
- **[Test](subsys-testguide-test.md)**
- **[Testing](subsys-testguide-test.md)**
- **[DFX](subsys-dfx.md)** - **[DFX](subsys-dfx.md)**
- **[R&D Tools](subsys-toolchain.md)** - **[R&D Tools](subsys-toolchain.md)**
- **[XTS](subsys-xts-guide.md)** - **[XTS](subsys-xts-guide.md)**
...@@ -12,4 +12,5 @@ ...@@ -12,4 +12,5 @@
- **[调试验证](quickstart-ide-lite-steps-hi3861-debug.md)** - **[调试验证](quickstart-ide-lite-steps-hi3861-debug.md)**
- **[运行](quickstart-ide-lite-steps-hi3816-running.md)** - **[运行](quickstart-ide-lite-steps-hi3861-running.md)**
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册