Skip to content

README: a quick start example after the intro and four status badges #28

Closed

Description

@tudor-pop

Problem

The README opens with the description, the diagram and then Install and Commands. A reader who lands on the repository sees no proxyfile and no rendered output before scrolling to the Keys section or opening examples/, so the shortest answer to "what does a proxyfile look like and what do I run" is not on the first screen. The README also carries no badges, so the latest release, the build status, the Go reference and the licence each take a search.

What changes

  • A ## Quick start section right after the intro (before ## Install): the smallest proxyfile that renders (examples/minimal/gateway.yaml, as committed, or shortened only where a line is not needed to render), the two commands (proxyfile render with -o envoy.yaml, then proxyfile check in the build), and one sentence on what comes out and where the full examples are.
  • Four badges under the title line: the latest release (shields.io github/v/release/kitecorp/proxyfile, linking to the releases page), the Pre-merge workflow on master (GitHub's required.yml/badge.svg?branch=master, linking to the workflow), the Go reference (pkg.go.dev/badge/github.com/kitecorp/proxyfile/v2.svg, linking to the package page) and the licence (shields.io github/license/kitecorp/proxyfile, linking to LICENSE).
  • The Keys list, the diagram and every relative link stay as the documentation tests expect; nothing else in the README moves.

Acceptance

  • grep -c -E 'img\.shields\.io|badge\.svg' README.md prints 4 (control at master: 0).
  • The quick start's proxyfile is examples/minimal/gateway.yaml, or renders to the same committed envoy.yaml with proxyfile render 2.0.0 (quoted in the PR).
  • go test ./internal/format -run 'TestDocs|TestSchema' green (the tests that read README.md), and every badge URL answers 200.

Consumers

  • internal/format/docs_test.go: reads README.md's Keys list and resolves every relative link; the new section adds no relative link and leaves the list alone. Checked: grep -rn README --include='*_test.go', 13 lines in 2 files (docs_test.go, schema_test.go, whose -update rewrites the key tables only).
  • Open tickets checked: gh search issues 'README quick start badge' --repo kitecorp/proxyfile --state open, none.

Lane

LIGHT - prose and badge images only; no code, no format change.

Activity

  1. added
    documentation
    on Nov 12, 2026
  2. tudor-pop commented on Nov 12, 2026

    @tudor-pop
    ContributorAuthor

    Merged as #29, master c699705: four badges under the title and a Quick start with the minimal example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions