Skip to content

docs(cli): polish Docker Hub README rendering — absolute links, blockquote restructure, streamline steps - #8064

Merged
bijin-bruno merged 3 commits into
usebruno:mainfrom
sundram-bruno:feature/docker-readme-polish
May 21, 2026
Merged

bijin-bruno merged 3 commits into
usebruno:mainfrom
sundram-bruno:feature/docker-readme-polish

Conversation

@sundram-bruno

@sundram-bruno sundram-bruno commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Polish pass on packages/bruno-cli/docker/README.md (the README synced to Docker Hub via peter-evans/dockerhub-description). Three groups of changes, all driven by rendering bugs / clutter visible only on the published Docker Hub overview — GitHub renders the source file correctly already.

1. Broken relative README links → absolute GitHub URLs

The Variants table, the "Usage by variant" section, and the "Try it from this repo" docker-compose link all used relative paths like ./images/alpine/README.md and ../../bruno-tests/docker-compose.yml. GitHub resolves these against the file's location in the repo. Docker Hub has no concept of the repo tree, so the links 404.

Fix: swapped all four relative links to absolute https://github.com/usebruno/bruno/blob/main/... URLs. Both renderers resolve absolute URLs correctly.

2. Step 3 (now Step 2) — blockquote bullet bleed + --rm note panel

The Step 3 intro was one multi-line blockquote containing a paragraph, a sub-list (PowerShell / CMD options), and another paragraph (the "Adding bru options" note). GitHub closes the list at the next paragraph; Docker Hub's renderer kept the list open and absorbed "Adding bru options" into the last - CMD: bullet.

The --rm note panel had the same fragility — a fenced code block nested inside a > -prefixed blockquote, which Docker Hub re-flowed.

Fix:

  • Split the Step 2 intro blockquote into three discrete blockquotes (separated by blank lines), and inlined the PowerShell / CMD options as prose to dodge list-in-blockquote rendering entirely.
  • Pulled the --rm example code block OUT of the --rm note blockquote, so the structure is now: blockquote → fenced code block → blockquote. Both renderers handle this cleanly.

3. Step-by-step section streamlining

Trimmed the step-by-step guide to focus on docker-specific usage. Removed the bru-flag-only steps (Choose environment, Pin version, Choose alpine or debian) since those are covered by the "Adding bru options" pointer to the CLI docs and the Tags / Variants tables higher up. "Check it works" downgraded to a #### subsection under Step 1 to reflect that it's a sanity probe, not a full numbered step.

Final shape: Step 1 — Pull the image → Check it works → Step 2 — Run your collection → CI/CD → Docker Compose → Image details → Versioning.

Tracks: BRU-1220 (follow-up polish to merged PR #8036)

Test plan

  • After merge + next Docker image release, verify Docker Hub overview shows the Alpine / Debian README links as working hyperlinks
  • After merge + next release, verify Step 2 in the Docker Hub overview shows three discrete note panels (no list-bleed into "Adding bru options")
  • After merge + next release, verify the --rm note panel renders cleanly with the example code block inline
  • Confirm GitHub render of packages/bruno-cli/docker/README.md still looks correct

Summary by CodeRabbit

  • Documentation
    • Reorganized the Docker step-by-step guide and added a new "Check it works" subsection with a runnable example.
    • Clarified cross-platform instructions using inline Windows shell suggestions.
    • Updated variant references and replaced relative compose links with absolute GitHub URLs for clearer external references.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2983a30d-6b4c-45c0-b541-91f9ddf09527

📥 Commits

Reviewing files that changed from the base of the PR and between b8673a5 and d811548.

📒 Files selected for processing (1)
  • packages/bruno-cli/docker/README.md
💤 Files with no reviewable changes (1)
  • packages/bruno-cli/docker/README.md

Walkthrough

Updated the Docker CLI README: removed the Folder structure section, standardized variant and docker-compose links to GitHub blob URLs, added a "Check it works" verification step, and reformatted cross-platform and --rm examples.

Changes

Docker Documentation Updates

Layer / File(s) Summary
Folder structure removal & variant/docker-compose links
packages/bruno-cli/docker/README.md
Removed the "Folder structure" section; replaced relative ./images/... variant links and the docker-compose reference with absolute GitHub blob/.../README.md URLs.
Step-by-step guide, verification, and examples
packages/bruno-cli/docker/README.md
Added a "Check it works" subsection with docker run --rm ... --version; reformatted Step 2 cross-platform note to use inline Windows shell substitutions; presented the docker run --rm ... example in a fenced code block.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • usebruno/bruno#8001: Overlapping Docker image README updates for Alpine/Debian variants and step-by-step guide content.
  • usebruno/bruno#8036: Concurrent Docker README documentation changes around run examples and variant table link formatting.

Suggested labels

size/XS

Suggested reviewers

  • helloanoop
  • lohit-bruno
  • naman-bruno
  • sid-bruno

Poem

🐳 Readmes pruned and links made bright,
A quick "Check it works" to confirm the light,
--rm now fenced and guidance neat,
Blob URLs point to docs complete,
Docker docs refreshed — ship it right. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main changes: documentation polish for Docker Hub README focusing on absolute links, blockquote restructuring, and streamlined steps.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/bruno-cli/docker/README.md`:
- Around line 107-111: Remove the empty quoted lines so the consecutive
blockquote paragraphs are contiguous (fixing MD028/no-blanks-blockquote); edit
the block of three quoted lines in the Docker README sample (the paragraph that
starts "These examples assume..." and includes "Cross-platform note:" and
"Adding `bru` options:") to eliminate the blank quoted lines between them so
each blockquote directly follows the previous one.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 002b752d-2376-408b-9702-de78dbdd02f1

📥 Commits

Reviewing files that changed from the base of the PR and between 113e28d and b8673a5.

📒 Files selected for processing (1)
  • packages/bruno-cli/docker/README.md

Comment thread packages/bruno-cli/docker/README.md Resolved
Comment thread packages/bruno-cli/docker/README.md Resolved
@bijin-bruno
bijin-bruno merged commit 71b53ee into usebruno:main May 21, 2026
16 of 19 checks passed
lyh543 pushed a commit to lyh543/bruno that referenced this pull request May 22, 2026
…quote restructure, streamline steps (usebruno#8064)

* docs(cli): fix Docker Hub overview — absolute README links + restructure Step 3 blockquotes

* docs(cli): pull --rm example out of blockquote so Docker Hub renders it cleanly

* docs(cli): drop folder-structure block from Docker Hub overview
jattsson pushed a commit to jattsson/bruno that referenced this pull request May 26, 2026
…quote restructure, streamline steps (usebruno#8064)

* docs(cli): fix Docker Hub overview — absolute README links + restructure Step 3 blockquotes

* docs(cli): pull --rm example out of blockquote so Docker Hub renders it cleanly

* docs(cli): drop folder-structure block from Docker Hub overview
sharan-bruno pushed a commit to sharan-bruno/bruno that referenced this pull request Jun 4, 2026
…quote restructure, streamline steps (usebruno#8064)

* docs(cli): fix Docker Hub overview — absolute README links + restructure Step 3 blockquotes

* docs(cli): pull --rm example out of blockquote so Docker Hub renders it cleanly

* docs(cli): drop folder-structure block from Docker Hub overview
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants