You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/05/31 04:07:26 UTC

[dolphinscheduler] branch t-doc-img-related created (now b8f9c2e0a6)

This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a change to branch t-doc-img-related
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


      at b8f9c2e0a6 [test] using img related path in docs

This branch includes the following new commits:

     new b8f9c2e0a6 [test] using img related path in docs

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[dolphinscheduler] 01/01: [test] using img related path in docs

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch t-doc-img-related
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit b8f9c2e0a6fc5f91fa102110e43204bcb50d01e4
Author: Jiajie Zhong <zh...@gmail.com>
AuthorDate: Tue May 31 12:06:40 2022 +0800

    [test] using img related path in docs
---
 docs/docs/en/guide/task/shell.md | 6 +++---
 docs/docs/zh/guide/task/shell.md | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/docs/en/guide/task/shell.md b/docs/docs/en/guide/task/shell.md
index 5f6a6411f5..f126d92d7b 100644
--- a/docs/docs/en/guide/task/shell.md
+++ b/docs/docs/en/guide/task/shell.md
@@ -7,7 +7,7 @@ Shell task used to create a shell task type and execute a series of shell script
 ## Create Task
 
 - Click `Project -> Management-Project -> Name-Workflow Definition`, and click the `Create Workflow` button to enter the DAG editing page.
-- Drag  from the toolbar <img src="/img/tasks/icons/shell.png" width="15"/> to the canvas.
+- Drag  from the toolbar <img src="../../../../img/tasks/icons/shell.png" width="15"/> to the canvas.
 
 ## Task Parameter
 
@@ -32,7 +32,7 @@ Shell task used to create a shell task type and execute a series of shell script
 We make an example simulate from a common task which runs by one command. The example is to print one line in the log file, as shown in the following figure:
 "This is a demo of shell task".
 
-![demo-shell-simple](/img/tasks/demo/shell.jpg)
+![demo-shell-simple](../../../../img/tasks/demo/shell.jpg)
 
 ### Custom Parameters
 
@@ -40,7 +40,7 @@ This example simulates a custom parameter task. We use parameters for reusing ex
 we declare a custom parameter named "param_key", with the value "param_val". Then we use `echo` to print the parameter "${param_key}" we just declared. 
 After running this example, we would see "param_val" print in the log.
 
-![demo-shell-custom-param](/img/tasks/demo/shell_custom_param.jpg)
+![demo-shell-custom-param](../../../../img/tasks/demo/shell_custom_param.jpg)
 
 ## Attention
 The shell task type resolves whether the task log contains ```application_xxx_xxx``` to determine whether is the yarn task. If so, the corresponding application
diff --git a/docs/docs/zh/guide/task/shell.md b/docs/docs/zh/guide/task/shell.md
index a656c098e7..80755c89fe 100644
--- a/docs/docs/zh/guide/task/shell.md
+++ b/docs/docs/zh/guide/task/shell.md
@@ -8,7 +8,7 @@ Shell 任务类型,用于创建 Shell 类型的任务并执行一系列的 She
 ## 创建任务
 
 - 点击项目管理-项目名称-工作流定义,点击"创建工作流"按钮,进入DAG编辑页面。
-- 工具栏中拖动 <img src="/img/tasks/icons/shell.png" width="15"/> 到画板中,即可完成创建。
+- 工具栏中拖动 <img src="../../../../img/tasks/icons/shell.png" width="15"/> 到画板中,即可完成创建。
 
 ## 任务参数
 
@@ -33,7 +33,7 @@ Shell 任务类型,用于创建 Shell 类型的任务并执行一系列的 She
 该样例模拟了常见的简单任务,这些任务只需要简单的一两行命令就能运行起来。我们以打印一行日志为例,该任务仅会在日志文件中打印一行
 "This is a demo of shell task"
 
-![demo-shell-simple](/img/tasks/demo/shell.jpg)
+![demo-shell-simple](../../../../img/tasks/demo/shell.jpg)
 
 ### 使用自定义参数
 
@@ -41,7 +41,7 @@ Shell 任务类型,用于创建 Shell 类型的任务并执行一系列的 She
 中定义了参数 "param_key",并将他的值设置为 "param_val"。接着在"脚本"中声明了 echo 命令,将参数 "param_key" 打印了出来。当我们保存
 并运行任务后,在日志中会看到将参数 "param_key" 对应的值 "param_val" 打印出来。
 
-![demo-shell-custom-param](/img/tasks/demo/shell_custom_param.jpg)
+![demo-shell-custom-param](../../../../img/tasks/demo/shell_custom_param.jpg)
 
 ## 注意事项