Fix documentation typos and formatting - #2629
Conversation
|
@khoveRH DOC is good now! but you need to rebase this on master and fix the conflicts. |
nirs
left a comment
There was a problem hiding this comment.
Need rebase and fixing the conflicts
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
✅ Files skipped from review due to trivial changes (6)
📝 WalkthroughWalkthroughThis PR updates API comments and several documentation files, fixing typos, reflowing prose, and changing one example endpoint. ChangesDocumentation and comment updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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 `@docs/user-quick-start.md`:
- Around line 432-438: Resolve the merge conflict in the failover instructions
by removing the conflict markers and keeping only the intended sentence in the
user quick start guide. Update the affected paragraph in the failover/relocate
section so it reads cleanly using the final wording from the merged text, and
ensure no duplicate phrasing from HEAD remains.
In `@README.md`:
- Around line 48-52: The README still contains unresolved merge-conflict markers
around the fencing specification link, so remove the conflict delimiters and
keep only the single correct link text in the affected README section. Update
the Markdown in the README content to eliminate the duplicated block and leave
just one clean “fencing specification” link entry.
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: e6e1caac-d557-4546-930b-3be13f72042c
📒 Files selected for processing (6)
README.mdapi/v1alpha1/drplacementcontrol_types.goapi/v1alpha1/volumereplicationgroup_types.godocs/drcluster-crd.mddocs/metrics.mddocs/user-quick-start.md
📜 Review details
🧰 Additional context used
🪛 markdownlint-cli2 (0.22.1)
docs/user-quick-start.md
[warning] 432-432: Heading style
Expected: atx; Actual: setext
(MD003, heading-style)
🔇 Additional comments (5)
api/v1alpha1/drplacementcontrol_types.go (1)
46-46: LGTM!api/v1alpha1/volumereplicationgroup_types.go (1)
120-120: LGTM!Also applies to: 296-303
docs/drcluster-crd.md (1)
193-193: LGTM!docs/metrics.md (1)
8-14: LGTM!Also applies to: 38-38
docs/user-quick-start.md (1)
43-47: LGTM!
| [fencing specification](https://github.com/csi-addons/spec/tree/main/fence) | ||
| ======= | ||
| [fencing specification](https://github.com/csi-addons/spec/tree/main/fence) | ||
| >>>>>>> d3de870a (Fix typo in README.md) |
There was a problem hiding this comment.
The conflict must be fixed in this commit. Every commit must be correct.
usr interactive rebase to fix the conflicts. If you cannot do this reset all commits and recreate them.
Or ask AI agent to fix it.
Signed-off-by: khoveRH <khover@redhat.com>
was invalid endpoint Signed-off-by: khoveRH <khover@redhat.com>
Signed-off-by: khoveRH <khover@redhat.com>
Correct grammatical errors and improve clarity in user guide. Signed-off-by: khoveRH <khover@redhat.com>
Signed-off-by: khoveRH <khover@redhat.com>
Signed-off-by: khoveRH <khover@redhat.com>
Signed-off-by: khoveRH <khover@redhat.com>
|
|
||
| [fencing specification](https://github.com/csi-addons/spec/tree/main/fence) | ||
|
|
||
|
|
There was a problem hiding this comment.
Can you explain this change? The only change needed is replacing csi-addon with csi-addons.
You added one blank line before and 2 after the link. Please avoid unneeded chagnes.
There was a problem hiding this comment.
i did not realize anything was added .. I just removed the conflict lines
There was a problem hiding this comment.
i think i removed csi-addons accidental
| registry in each controller. There are two ways where you can look at the | ||
| metrics in ramen. One way is use prometheus stack(recommended) and the other way | ||
| is to use curl or postman. More details on each of these in the below sections. | ||
|
|
There was a problem hiding this comment.
Why did you add blank line before the paragraph?
| metrics registry in each controller. There are two ways where you can | ||
| look at the metrics in ramen. One way is use Prometheus stack(recommended) | ||
| and the other way is to use curl or postman. More details on | ||
| each of these in the below sections. |
There was a problem hiding this comment.
Why did you change formatting? To change prometheus to Prometheus you need one character change in single line. You reformatted the entire paragraph.
There was a problem hiding this comment.
How is that happening ? I literally changed p to P
There was a problem hiding this comment.
Maybe you editor added unwanted spacing? Maybe this leftover from resolving conflicts?
| The *Ramen* project uses a python tool to create and provision test | ||
| environment and run tests. This creates a virtual environment including | ||
| the tools run: | ||
|
|
There was a problem hiding this comment.
The modified text looks good. Remove the added blank line before and after the paragraph.
There was a problem hiding this comment.
43 and 44 ? Those were present afaik
|
|
||
| At this point you can manually failover, relocate one or more | ||
| times as needed. | ||
|
|
There was a problem hiding this comment.
This is not better than the original. When see run manually failover mean the failover script inside basic-test. But this code is not used for long time so there is no point in improving this text. We need to remove basic-test and the related docs.
And again you add blank lines before and after the paragraph.
There was a problem hiding this comment.
run run manually failover is better ? I did not add blank lines intentionally
|
Extra whitespace can be fixed by running |
Supersedes #2603 with corrected branch name
Summary by CodeRabbit
VolSyncSpecnaming, and related comment text).csi-addonswording in fencing-related guidance.