Browse Source

fix links

ruki 6 months ago
parent
commit
553ef09e3f

+ 2 - 1
docs/api/description/package-dependencies.md

@@ -772,7 +772,8 @@ package("zlib")
 
 Custom download requires the user to fully control the download logic, which will be more complicated, and is not recommended unless necessary.
 
-If you just want to add custom http headers to obtain download authorization, you can see [Set http headers when downloading package](https://xmake.io/#/manual/project_target?id=setting-http-headers-for-package-downloads)
+If you just want to add custom http headers to obtain download authorization,
+you can see [Set http headers when downloading package](/api/description/builtin-policies#package-download-http-headers).
 
 ### Platform Filtering
 

+ 2 - 2
docs/examples/cpp/qt.md

@@ -17,11 +17,11 @@ $ xmake f --qt=~/Qt/Qt5.9.1
 ```
 
 The MingW SDK specified above uses the environment that comes with the Tools directory under Qt. Of course, if there are other third-party MingW compilation environments, they can also be specified manually. 
-For details, please refer to: [MingW Configuration](https://xmake.io/#/guide/configuration?id=mingw).
+For details, please refer to: [MingW Configuration](/guide/basic-commands/build-configuration#mingw).
 
 For more details, please refer to: [#160](https://github.com/xmake-io/xmake/issues/160)
 
-In addition, currently xmake also supports Qt/Wasm. For details, see: [Wasm Configuration](https://xmake.io/#/guide/configuration?id=wasm)
+In addition, currently xmake also supports Qt/Wasm. For details, see: [Wasm Configuration](/guide/basic-commands/build-configuration#wasm-webassembly)
 
 ```sh
 $ xmake f -p wasm

+ 2 - 2
docs/guide/basic-commands/cross-compilation.md

@@ -67,7 +67,7 @@ If the above automatic detection fails to completely compile for some tool chain
 
 ## Set toolchain bin directory
 
-For the irregular tool chain directory structure, by simply setting the [--sdk](https://xmake.io/#/zh-cn/guide/configuration?id=-sdk) option, it is impossible to completely detect the passing situation Next, you can continue to set the location of the bin directory of the toolchain through this option.
+For the irregular tool chain directory structure, by simply setting the [--sdk](#sdk) option, it is impossible to completely detect the passing situation Next, you can continue to set the location of the bin directory of the toolchain through this option.
 
 For example: for some special cross toolchains, the compiler bin directory is not in the `/home/toolchains_sdkdir/bin` position, but is instead in `/usr/opt/bin`
 
@@ -305,7 +305,7 @@ toolchain("myclang")
     - ...
 ```
 
-For details about this piece, you can go to the [Custom Toolchain](https://xmake.io/#/manual/custom_toolchain).
+For details about this piece, you can go to the [Custom Toolchain](/api/description/custom-toolchain).
 
 For more details, please see: [#780](https://github.com/xmake-io/xmake/issues/780)
 

+ 3 - 3
docs/guide/package-management/package-distribution.md

@@ -67,15 +67,15 @@ This package rule adds installation rules to windows, linux, macosx, iphoneos, m
 
 Of course, some packages rely on source code implementation and are not completely cross-platform, so you only need to set the installation rules for the platforms it supports.
 
-For more detailed package configuration API descriptions see: [Package Interface Documentation](https://xmake.io/#/manual/package_dependencies)
+For more detailed package configuration API descriptions see: [Package Interface Documentation](/api/description/package-dependencies)
 
 ### Extended configuration parameters
 
-See: [add_configs](https://xmake.io/#/manual/package_dependencies?id=packageadd_configs) for details.
+See: [add_configs](/api/description/package-dependencies#add-configs) for details.
 
 ### Built-in configuration parameters
 
-In addition to setting some extended configuration parameters via [add_configs](https://xmake.io/#/manual/package_dependencies?id=packageadd_configs), xmake also provides some built-in configuration parameters that can be used.
+In addition to setting some extended configuration parameters via [add_configs](/api/description/package-dependencies#add-configs), xmake also provides some built-in configuration parameters that can be used.
 
 #### Enable debug package
 

+ 3 - 2
docs/zh/examples/cpp/qt.md

@@ -22,11 +22,12 @@ $ xmake f --qt=~/Qt/Qt5.9.1
 $ xmake f -p mingw --sdk=C:\Qt\Qt5.10.1\Tools\mingw530_32
 ```
 
-上述指定的 MingW SDK 用的是Qt下Tools目录自带的环境,当然如果有其他第三方 MingW 编译环境,也可以手动指定, 具体可以参考:[MingW 编译配置](https://xmake.io/#/zh-cn/guide/configuration?id=mingw)。
+上述指定的 MingW SDK 用的是Qt下Tools目录自带的环境,当然如果有其他第三方 MingW 编译环境,也可以手动指定,
+具体可以参考:[MingW 编译配置](/zh/guide/basic-commands/build-configuration#mingw)。
 
 更多详情可以参考:[#160](https://github.com/xmake-io/xmake/issues/160)
 
-另外,当前xmake也支持Qt/Wasm,详情见:[Wasm 配置](https://xmake.io/#/zh-cn/guide/configuration?id=wasm)
+另外,当前xmake也支持Qt/Wasm,详情见:[Wasm 配置](/zh/guide/basic-commands/build-configuration#wasm-webassembly)
 
 ```sh
 $ xmake f -p wasm

+ 2 - 2
docs/zh/guide/basic-commands/cross-compilation.md

@@ -67,7 +67,7 @@ $ xmake
 
 ## 设置工具链bin目录
 
-对于不规则工具链目录结构,靠单纯地[--sdk](https://xmake.io/#/zh-cn/guide/configuration?id=-sdk)选项设置,没法完全检测通过的情况下,可以通过这个选项继续附加设置工具链的bin目录位置。
+对于不规则工具链目录结构,靠单纯地[--sdk](#sdk)选项设置,没法完全检测通过的情况下,可以通过这个选项继续附加设置工具链的bin目录位置。
 
 例如:一些特殊的交叉工具链的,编译器bin目录,并不在  `/home/toolchains_sdkdir/bin`  这个位置,而是独立到了  `/usr/opt/bin`
 
@@ -305,7 +305,7 @@ toolchain("myclang")
     -- ...
 ```
 
-关于这块的详情介绍,可以到[自定义工具链](https://xmake.io/#/zh-cn/manual/custom_toolchain)章节查看
+关于这块的详情介绍,可以到[自定义工具链](/zh/api/description/custom-toolchain)章节查看
 
 更多详情见:[#780](https://github.com/xmake-io/xmake/issues/780)
 

+ 3 - 3
docs/zh/guide/package-management/package-distribution.md

@@ -67,15 +67,15 @@ package("zlib")
 
 当然,有些包依赖源码实现力度,并不能完全跨平台,那么只需对它支持的平台设置安装规则即可。
 
-更多详细的包配置 API 说明见:[包接口文档](https://xmake.io/#/zh-cn/manual/package_dependencies)
+更多详细的包配置 API 说明见:[包接口文档](/zh/api/description/package-dependencies)
 
 ### 扩展配置参数
 
-详情见:[add_configs](https://xmake.io/#/zh-cn/manual/package_dependencies?id=packageadd_configs)
+详情见:[add_configs](/zh/api/description/package-dependencies#add-configs)
 
 ### 内置配置参数
 
-除了可以通过[add_configs](https://xmake.io/#/zh-cn/manual/package_dependencies?id=packageadd_configs)设置一些扩展的配置参数以外,xmake还提供了一些内置的配置参数,可以使用
+除了可以通过[add_configs](/zh/api/description/package-dependencies#add-configs)设置一些扩展的配置参数以外,xmake还提供了一些内置的配置参数,可以使用
 
 #### 启用调试包