You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/08/16 12:05:13 UTC
[GitHub] [flink] Thesharing commented on a change in pull request #16724: [FLINK-23172][docs] Fix broken links to Task Failure Recovery page on Configuration page
Thesharing commented on a change in pull request #16724:
URL: https://github.com/apache/flink/pull/16724#discussion_r689477143
##########
File path: flink-core/src/main/java/org/apache/flink/configuration/RestartStrategyOptions.java
##########
@@ -63,21 +63,21 @@
code("fixeddelay"),
code("fixed-delay"),
link(
- "../../ops/state/task_failure_recovery#fixed-delay-restart-strategy",
+ "{{.Site.BaseURL}}docs/ops/state/task_failure_recovery#fixed-delay-restart-strategy",
"here")),
text(
"%s, %s: Failure rate restart strategy. More details can be found %s.",
code("failurerate"),
code("failure-rate"),
link(
- "../../ops/state/task_failure_recovery#failure-rate-restart-strategy",
+ "{{.Site.BaseURL}}docs/ops/state/task_failure_recovery#failure-rate-restart-strategy",
"here")),
text(
"%s, %s: Exponential delay restart strategy. More details can be found %s.",
code("exponentialdelay"),
code("exponential-delay"),
link(
- "../../ops/state/task_failure_recovery#exponential-delay-restart-strategy",
+ "{{.Site.BaseURL}}docs/ops/state/task_failure_recovery#exponential-delay-restart-strategy",
Review comment:
> maybe `{{.Site.BaseURL}}/docs` to be safer?
Yes, it will make sure the URL won't be broken if `{{.Site.BaseURL}}` is not ended with `/`. But for now it will make the URL as `https://ci.apache.org/projects/flink/flink-docs-master//docs/ops/state/task_failure_recovery/`, would it be okay?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org