[ 
https://issues.apache.org/jira/browse/FLINK-33970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803909#comment-17803909
 ] 

Zhongqiang Gong commented on FLINK-33970:
-----------------------------------------

Hi [~martijnvisser] [~leonard] 

Here is the pr for complete the docs check for connectors. Here is the 
[PR|https://github.com/apache/flink-connector-shared-utils/pull/33] in 
*flink-connector-shared-utils.* 

*Hugo build check:*

_Because connector docs depends on flink main docs and no dependencies between 
connector docs , so we can just check flink main docs and single connector 
docs. Finally,We use hugo build to check docs._
 * -check out flink repo with only `docs` dir cloned ,use *sparse-checkout*-
 * check out flink repo with only docs dir and check other connectors docs 
exclude current connector docs
 * move connector (which repo related) docs into flink `docs` dir
 * execute hugo build command

 

*Dead links check:*

_Because of hugo build cannot check dead link. It's very useful to add dead 
link check for this._
 * use npm module *markdown-link-check* to check dead link

> Add necessary checks for connector document
> -------------------------------------------
>
>                 Key: FLINK-33970
>                 URL: https://issues.apache.org/jira/browse/FLINK-33970
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Leonard Xu
>            Assignee: Zhongqiang Gong
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: pulsar-4.2.0, pulsar-4.1.1
>
>
> In FLINK-33964, we found the documentation files in independent connector 
> repos lacks basic checks like broken url, this ticket aims to add necessary 
> checks and avoid similar issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to