[
https://issues.apache.org/jira/browse/FLINK-23631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393367#comment-17393367
]
wuguihu commented on FLINK-23631:
---------------------------------
[https://ci.apache.org/projects/flink/flink-docs-master/docs/ops/metrics/]
[https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/ops/metrics/]
docs/content/docs/ops/metrics.md
docs/content.zh/docs/ops/metrics.md
1. The following syntax is incorrect, causing link failure
{code:java}
{% gh_link
flink-metrics/flink-metrics-dropwizard/src/main/java/org/apache/flink/dropwizard/metrics/DropwizardHistogramWrapper.java
"Wrapper" %}
{code}
2. It should be modified as follows
{code:java}
{{< gh_link
file="flink-metrics/flink-metrics-dropwizard/src/main/java/org/apache/flink/dropwizard/metrics/DropwizardHistogramWrapper.java"
name="Wrapper" >}}
{code}
> [docs-zh] The name attribute of GH_link in shortcodes was lost. As a result,
> the Link to Flink-examexam-batch failed
> --------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-23631
> URL: https://issues.apache.org/jira/browse/FLINK-23631
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Reporter: wuguihu
> Priority: Major
> Labels: pull-request-available
> Attachments: image-20210805011518012.png, image-20210805014000555.png
>
>
> 1.
> [https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/dataset/examples/]
> 2. docs/content.zh/docs/dev/dataset/examples.md
> 3. The shortcode below contains both 'file' attributes and no 'name'
> {code:java}
> {{< gh_link file="flink-examples/flink-examples-batch"
> file="flink-examples-batch" >}}
> {code}
> 4. It should be modified as follows
> {code:java}
> {{< gh_link file="flink-examples/flink-examples-batch"
> name="flink-examples-batch" >}}
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)