tektoncd / website

Tekton Website
https://tekton.dev
Apache License 2.0
62 stars 149 forks source link

Mermaid chart broken possibly due to old version #544

Closed avinal closed 8 months ago

avinal commented 1 year ago

Expected Behavior

The Mermaid diagram should correctly be rendered. The GitHub correctly renders the following mermaid syntax.

---
title: Tekton Results Data Model 
---
graph BT
  B(TaskRun) --> |Record| A[Result]
  C(Log) --> |Record| A
  D(PipelineRun) --> |Record| A

Furthermore, in the mermaid official editor, the diagram is correctly rendered.

image

Actual Behavior

The website is unable to correctly render the diagram: https://tekton.dev/docs/results/#data-model

image

Possible Reasons

The website uses mermaid version 9.2.2. Both GitHub and Mermaid official editor seem to be using version 10.1.0. Title support was introduced by this pr mermaid-js/mermaid#3706 and was available in the version 9.3.0

Refer:

tekton-robot commented 11 months ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale with a justification. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

avinal commented 10 months ago

/remove-lifecycle stale issue is not yet resolved

tekton-robot commented 9 months ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten with a justification. Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with /close with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle rotten

Send feedback to tektoncd/plumbing.

tekton-robot commented 8 months ago

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen with a justification. Mark the issue as fresh with /remove-lifecycle rotten with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/close

Send feedback to tektoncd/plumbing.

tekton-robot commented 8 months ago

@tekton-robot: Closing this issue.

In response to [this](https://github.com/tektoncd/website/issues/544#issuecomment-1751698220): >Rotten issues close after 30d of inactivity. >Reopen the issue with `/reopen` with a justification. >Mark the issue as fresh with `/remove-lifecycle rotten` with a justification. >If this issue should be exempted, mark the issue as frozen with `/lifecycle frozen` with a justification. > >/close > >Send feedback to [tektoncd/plumbing](https://github.com/tektoncd/plumbing). Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.