Browse Source

update docs

ruki 5 months ago
parent
commit
42c1632cd6

+ 2 - 0
docs/guide/project-configuration/add-packages.md

@@ -1,5 +1,7 @@
 # Add Packages {#add-packages}
 
+## Introduction
+
 Xmake has built-in support for package dependency integration. You can declare the required dependency packages through the [add_requires](/api/description/global-interfaces#add-requires) interface.
 
 Then, through the [add_packages](/api/description/project-target#add-packages) interface, bind the declared package to the required compilation target, for example:

+ 3 - 1
docs/zh/guide/project-configuration/add-packages.md

@@ -1,4 +1,6 @@
-# 添加包 {#add-packages}
+# 添加依赖包 {#add-packages}
+
+## 简介
 
 Xmake 内置支持包依赖集成,可以通过 [add_requires](/zh/api/description/global-interfaces.html#add-requires) 接口声明需要的依赖包。