diff options
| author | ruki <waruqi@gmail.com> | 2019-06-23 20:48:18 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2019-06-23 20:48:18 +0800 |
| commit | 6f7387e12aeac26276b520137101b7f97f1d2ada (patch) | |
| tree | c8de5db2504e159eb6abcb63d705d338db44d4d1 /guide | |
| parent | 4ac242122f78a558d5c2fbc9a13a3c5282887524 (diff) | |
| download | xmake-docs-6f7387e12aeac26276b520137101b7f97f1d2ada.tar.gz xmake-docs-6f7387e12aeac26276b520137101b7f97f1d2ada.zip | |
fix some links
Diffstat (limited to 'guide')
| -rw-r--r-- | guide/package_management.md | 8 | ||||
| -rw-r--r-- | guide/syntax_description.md | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/guide/package_management.md b/guide/package_management.md index 9e0f853a..169b7aa5 100644 --- a/guide/package_management.md +++ b/guide/package_management.md @@ -21,7 +21,7 @@ If you want the current project to recognize loading these packages, you first n add_packagedirs("packages") ``` -Once specified, you can add integration package dependencies in the target scope via the [add_packages](https://xmake.io/#/zh/manual?id=targetadd_packages) interface, for example: +Once specified, you can add integration package dependencies in the target scope via the [add_packages](/manual/project_target?id=targetadd_packages) interface, for example: ```lua target("tbox") @@ -42,13 +42,13 @@ $ cd tbox $ xmake package -o ../test/packages ``` -In this way, the test project can pass [add_packages](https://xmake.io/#/zh/manual?id=targetadd_packages) and [add_packagedirs](https://xmake.io/#/zh/manual?id=add_packagedirs) to configure and use the tbox.pkg package. +In this way, the test project can pass [add_packages](/manual/project_target?id=targetadd_packages) and [add_packagedirs](/manual/global_interfaces?id=add_packagedirs) to configure and use the tbox.pkg package. For a detailed description of the built-in package, you can also refer to the following related article, which is described in detail: [Dependency package addition and automatic detection mechanism](https://tboox.org/cn/2016/08/06/add-package-and-autocheck/) ## System Search Mode -If you feel that the above built-in package management method is very inconvenient, you can use the extension interface [lib.detect.find_package](https://xmake.io/#/zh/manual?id=detect-find_package) to find the system. Existing dependencies. +If you feel that the above built-in package management method is very inconvenient, you can use the extension interface [lib.detect.find_package](/manual/extension_modules?id=detectfind_package) to find the system. Existing dependencies. Currently this interface supports the following package management support: @@ -92,7 +92,7 @@ target("test") If third-party tools such as `homebrew`, `pkg-config` are installed on the system, then this interface will try to use them to improve the search results. -For a more complete description of the usage, please refer to the [find_packages](https://xmake.io/#/en/manual?id=find_packages) interface documentation. +For a more complete description of the usage, please refer to the [find_packages](/manual/builtin_modules?id=find_packages) interface documentation. ### Homebrew Integration Support diff --git a/guide/syntax_description.md b/guide/syntax_description.md index b23aab44..88c1a188 100644 --- a/guide/syntax_description.md +++ b/guide/syntax_description.md @@ -79,7 +79,7 @@ The current external scope lating lua built-in apis are: - print - os -Of course, although the built-in lua api does not provide much, xmake also provides a lot of extension APIs. It is not much to describe the api. For details, please refer to: [API Manual] (https://xmake.io/#/zh/manual) +Of course, although the built-in lua api does not provide much, xmake also provides a lot of extension APIs. It is not much to describe the api. For details, please refer to: [API Manual](/manual) There are also some auxiliary apis, for example: @@ -135,7 +135,7 @@ task("hello") In this scope, not only can you use most lua apis, but you can also use many extension modules provided by xmake. All extension modules are imported through import. -For details, please refer to: [import module document](https://xmake.io/#/zh/manual?id=import) +For details, please refer to: [import module document](/manual/builtin_modules?id=import) Here we give a simple example, after the compilation is complete, ldid signature on the ios target program: |
