prometheus / prometheus/docs

website: Support mermaid diagram rendering

Open
#2,935 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
717
Forks
1.2k
Avg merge
3d 15h
Merged PRs (30d)
19

Description

We start to leverage mermaid for diagrams in OM2: https://prometheus.io/docs/specs/om/open_metrics_spec_2_0/

Let's add some renderer to our website for it too.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting how the website renders the OM2 specification page at the linked URL and where diagram content is processed. Determine the existing website build and rendering entry points before choosing an integration approach. Done means Mermaid diagrams in the documentation render correctly in the built website.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.