Skip to content

docs(guides): read the merchant analytics #98

Open

Description

@titilope12

Summary

The dashboard shows revenue, churn, forecast and plan stats. Merchants need to know what each number means.

Background

The documentation is a Jekyll site using the just-the-docs theme (remote_theme in _config.yml), published by GitHub Pages at https://mmm-pay.github.io/payflow-docs/. Page order and nesting come from each page's front matter; SUMMARY.md lists pages for readers browsing the repository on GitHub. Content describes the v0.2.0 contracts (protocol/, reference/), the backend API and SDK usage (developers/) and user walkthroughs (guides/).

Why this matters

Numbers are misread (e.g. MRR on minute-long demo plans).

Where the change goes

  • guides/merchants.md
  • SUMMARY.md

Implementation plan

  1. Explain each metric, its formula and its caveats, with screenshots.

If you find a better approach while working, describe it in a comment before changing direction.

Things to watch for

  • Accuracy against the v0.2.0 code: link to the source file or function a claim relies on.
  • Every new page needs front matter (title, and nav_order or parent) or it will not appear in navigation.
  • Tables and code blocks must stay readable at phone width.
  • Use the project's terms consistently (mandate, vault, keeper, plan) and define anything new.
  • Contract ids change on redeploys; avoid copying them into new pages where a link to deployments/testnet.env will do.

Acceptance criteria

  • Formulas match the backend README

Test plan

Preview the site locally (see Getting started) and click through every changed page, link and anchor. Run any command or code sample yourself, against testnet where relevant, and say in the PR that you did.

Every acceptance criterion above needs evidence in the PR: a test for code, or a described manual check (with screenshots for UI) where a test is not possible.

Getting started

git clone https://github.com/MMM-pay/payflow-docs
cd payflow-docs
bundle install              # Ruby with Bundler
bundle exec jekyll serve    # http://localhost:4000

Effort and skills

  • Complexity: trivial. Small and well-bounded: a few hours for someone new to the codebase. A good first contribution.
  • Skills: technical writing and Markdown.

Related issues

These touch the same files. Check them before starting, to avoid conflicts or to combine notes.

References

PR guideline

Branch issue-<n>-<slug>. Conventional commit title, e.g. docs(guides): .... New pages need front matter (title, nav_order or parent) and an entry in SUMMARY.md. Code samples must match the current contracts (v0.2.0) and API. Comment on this issue before starting so two people do not build the same thing, and link the issue in the PR (Closes #<n>).

CI checks (must be green)

  • GitHub Pages build succeeds
  • Every link on changed pages resolves
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions