Explorar o código

fix some links

ruki %!s(int64=6) %!d(string=hai) anos
pai
achega
6f7387e12a

+ 3 - 4
_coverpage.md

@@ -4,9 +4,8 @@
 
 > A cross-platform build utility based on Lua
 
-- Simple grammar, get started quickly
-- Cross-platform build, full platform coverage
-- Modern C/C++ build tools, multi-language hybrid compilation support
+- Simple, Fast, Cross-platform 
+- Modern C/C++ build tools, Support multi-language hybrid compilation
 
 [github](https://github.com/xmake-io/xmake/)
-[Getting Started](/guide/installation)
+[Getting Started](/getting_started)

+ 1 - 0
about/introduction.md

@@ -3,3 +3,4 @@ xmake is a cross-platform build utility based on lua.
 
 The project focuses on making development and building easier and provides many features (.e.g package, install, plugin, macro, action, option, task ...), 
 so that any developer can quickly pick it up and enjoy the productivity boost when developing and building project.
+

+ 0 - 0
README.md → getting_started.md


+ 4 - 4
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
 

+ 2 - 2
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:
 

+ 2 - 3
zh-cn/_coverpage.md

@@ -4,9 +4,8 @@
 
 > 一个基于Lua的轻量级跨平台自动构建工具
 
-- 语法简洁,快速上手
-- 跨平台构建,全平台覆盖 
+- 简单,快速,跨平台
 - 现代化的C/C++构建工具,多语言混合编译支持
 
 [GitHub](https://github.com/xmake-io/xmake/)
-[快速开始](/zh-cn/guide/installation)
+[快速开始](/zh-cn/getting_started)

+ 0 - 0
zh-cn/README.md → zh-cn/getting_started.md


+ 3 - 3
zh-cn/guide/package_management.md

@@ -21,7 +21,7 @@
 add_packagedirs("packages")
 ```
 
-指定好后,就可以在target作用域中,通过[add_packages](https://xmake.io/#/zh/manual?id=targetadd_packages)接口,来添加集成包依赖了,例如:
+指定好后,就可以在target作用域中,通过[add_packages](/zh-cn/manual/project_target?id=targetadd_packages)接口,来添加集成包依赖了,例如:
 
 ```lua
 target("tbox")
@@ -42,7 +42,7 @@ $ cd tbox
 $ xmake package -o ../test/packages
 ```
 
-这样,test工程就可以通过[add_packages](https://xmake.io/#/zh/manual?id=targetadd_packages)和[add_packagedirs](https://xmake.io/#/zh/manual?id=add_packagedirs)去配置和使用tbox.pkg包了。
+这样,test工程就可以通过[add_packages]((/zh-cn/manual/project_target?id=targetadd_packages)和[add_packagedirs](/zh-cn/manual/global_interfaces?id=add_packagedirs)去配置和使用tbox.pkg包了。
 
 关于内置包的详细描述,还可以参考下相关文章,这里面有详细介绍:[依赖包的添加和自动检测机制](https://tboox.org/cn/2016/08/06/add-package-and-autocheck/)
 
@@ -92,7 +92,7 @@ target("test")
 
 如果系统上装有`homebrew`, `pkg-config`等第三方工具,那么此接口会尝试使用它们去改进查找结果。
 
-更完整的使用描述,请参考:[find_packages](https://xmake.io/#/zh/manual?id=find_packages)接口文档。
+更完整的使用描述,请参考:[find_packages](/zh-cn/manual/builtin_modules?id=find_packages)接口文档。
 
 ##### homebrew集成支持
 

+ 2 - 2
zh-cn/guide/syntax_description.md

@@ -79,7 +79,7 @@ target("demo")
 - print
 - os
 
-当然虽然内置lua api提供不多,但xmake还提供了很多扩展api,像描述api就不多说,详细可参考:[API手册](https://xmake.io/#/zh/manual)
+当然虽然内置lua api提供不多,但xmake还提供了很多扩展api,像描述api就不多说,详细可参考:[API手册](/zh-cn/manual)
 
 还有些辅助api,例如:
 
@@ -135,7 +135,7 @@ task("hello")
 
 在此作用域中,不仅可以使用大部分lua的api,还可以使用很多xmake提供的扩展模块,所有扩展模块,通过import来导入
 
-具体可参考:[import模块导入文档](https://xmake.io/#/zh/manual?id=import)
+具体可参考:[import模块导入文档](/zh-cn/manual/builtin_modules?id=import)
 
 这里我们给个简单的例子,在编译完成后,对ios目标程序进行ldid签名: