-
Notifications
You must be signed in to change notification settings - Fork 1
Updating screenshots and some text content for cloud-227 #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughFormatting and copy edits across cloud docs: sentence reflows, punctuation/spacing, heading and image alt-text updates; database guide simplifies backup/options and adds PostgreSQL version selector reference; mkdocs navigation entry for Developer Edition commented out. No functional or API changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation Review - PR #32
Thank you for updating the documentation and screenshots for cloud-227. The changes generally align well with the pgEdge stylesheet requirements.
✅ Strengths
- Line wrapping: Properly implemented at 79 characters while keeping inline markdown links intact
- Active voice: Maintained throughout with grammatically correct sentences
- Formatting: Correct use of backticks for code elements, proper article usage, and bulleted list spacing
- Punctuation fix: Corrected the space before semicolon in the PostgreSQL port description (line 112 in create_cluster.md)
- Content reorganization: Moving the PostgreSQL Version field earlier in create_db.md improves logical flow
⚠️ Issues to Address
1. Indentation Error in create_cluster.md (around line 22)
The continuation line has incorrect leading spaces:
Next, select up to 5 availability zones in any regions to which you have access.
To use the map for location selection, use the `Show map` toggle to enable
the map.This should either:
- Be part of a bulleted list item (if that's the intent), OR
- Start at the left margin without leading spaces
Recommendation: Remove the leading spaces on line 22 unless this is meant to be a sub-bullet.
📋 Other Observations
- Security: No issues found in examples or documented code
- Links: All external links properly use docs.pgedge.com (no github.io links)
- Screenshots: Seven PNG files updated - ensure they accurately reflect current UI
- Content removed: The "Implementing a Backup Strategy" section header was removed from create_db.md, which appears intentional for better flow
Summary
The changes improve documentation readability and align with the stylesheet. Please address the indentation issue in create_cluster.md before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@docs/cloud/cluster/create_cluster.md`:
- Around line 108-135: The nested list indentation under the "Firewall Rules"
section is using 4 spaces for sub-bullets (e.g., the nested items under "Use the
`Type` drop-down..." and "Use the `Sources` drop-down..."); change those nested
bullet lines to use 2-space indentation so all sub-items (the
PostgreSQL/HTTPS/SSH bullets and the My IP/All IPV4 bullets) are indented by 2
spaces and use consistent list markers to satisfy markdownlint.
🧹 Nitpick comments (2)
docs/cloud/database/create_db.md (1)
20-36: Editorial improvements enhance readability.The paragraph reflows and formatting adjustments improve consistency. Optionally, consider varying the structure of the bullet points on lines 32-36 to avoid repetitive sentence patterns (each starts with a region name followed by "offers"), though the current version is clear and functional.
docs/cloud/cluster/create_cluster.md (1)
16-18: Consider simplifying terminology.The reflow improves readability. Optionally, "drop-down listbox" could be simplified to "drop-down list" or just "drop-down" for more concise and standard terminology.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (7)
docs/cloud/images/cluster_regions.pngis excluded by!**/*.pngdocs/cloud/images/configure_network.pngis excluded by!**/*.pngdocs/cloud/images/create_new_db.pngis excluded by!**/*.pngdocs/cloud/images/firewall_rules.pngis excluded by!**/*.pngdocs/cloud/images/resource_tag_add.pngis excluded by!**/*.pngdocs/cloud/images/select_additional_options.pngis excluded by!**/*.pngdocs/cloud/images/vpc_association.pngis excluded by!**/*.png
📒 Files selected for processing (2)
docs/cloud/cluster/create_cluster.mddocs/cloud/database/create_db.md
🧰 Additional context used
🪛 LanguageTool
docs/cloud/cluster/create_cluster.md
[grammar] ~16-~16: Ensure spelling is correct
Context: ..._cluster_name.png) * Use the drop-down listbox in the Cloud Account field to select ...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
[style] ~48-~48: Consider using “inaccessible” to avoid wordiness.
Context: ...net. * Private network clusters are not accessible from the public internet. Note that...
(NOT_ABLE_PREMIUM)
[style] ~154-~154: This phrase is redundant. Consider using “outside”.
Context: ...DNS names and records that you create outside of the pgEdge console. * a single-purpose,...
(OUTSIDE_OF)
docs/cloud/database/create_db.md
[style] ~35-~35: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...est Coast configuration. * Global offers servers on the West Coast, in Frankfurt...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~57-~57: Using many exclamation marks might seem excessive (in this case: 6 exclamation marks for a text that’s 3555 characters long)
Context: ...mizing-backup-details-for-pgbackrest). !!! note You cannot modify a backup co...
(EN_EXCESSIVE_EXCLAMATION)
🪛 markdownlint-cli2 (0.18.1)
docs/cloud/cluster/create_cluster.md
116-116: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
119-119: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
122-122: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
127-127: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
129-129: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Cloudflare Pages
🔇 Additional comments (14)
docs/cloud/database/create_db.md (6)
3-6: Editorial improvements look good.The paragraph reflow improves readability while maintaining the original meaning.
12-19: Good addition of PostgreSQL version selection.The reflow of the display name description and the addition of the PostgreSQL version selection step both improve the documentation clarity and completeness.
42-56: Backup configuration section improvements approved.The reflow of the backup configuration details improves line wrapping and readability while preserving all technical information.
60-61: Note formatting improved.The multiline formatting of the backup configuration constraint improves readability.
65-82: Options section formatting looks good.The consistent line wrapping and formatting of each toggle switch option improves the documentation structure and readability.
83-87: Closing paragraph reflow approved.The formatting adjustment maintains clarity while improving line wrapping consistency.
docs/cloud/cluster/create_cluster.md (8)
5-10: Opening section improvements approved.The paragraph reflows improve consistency and readability while maintaining all necessary information about prerequisites and initial steps.
22-32: Region and zone selection formatting improved.The paragraph reflows enhance readability and maintain clear instructions for region and availability zone selection.
34-50: Network settings section formatting looks good.The reflows improve the presentation of network configuration options, making the distinction between public and private networks clearer.
58-70: Deployment details formatting approved.The consistent line wrapping across instance type, volume size, and SSH key descriptions improves documentation structure.
72-81: Backup stores section formatting improved.The paragraph reflows enhance readability while maintaining all important information about backup store selection.
83-104: Resource tags and VPC associations formatting approved.The reflows improve the presentation of these advanced configuration options while maintaining clarity.
139-156: Deployment options formatting approved.The reflows improve the presentation of the firewall rules option and single-database cluster benefits while maintaining clarity.
158-168: Closing section formatting looks good.The reflows improve the presentation of the final deployment steps and troubleshooting reference.
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
Deploying pgedge-docs with
|
| Latest commit: |
9e4a452
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://233dce25.pgedge-docs.pages.dev |
| Branch Preview URL: | https://cloud-227.pgedge-docs.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation Review
I've reviewed this PR against the project stylesheet (pgedge_stylesheet.md) and overall documentation quality standards. The changes improve readability and update screenshots to match current UI.
✅ Strengths
Line Length Compliance: The rewrapping to 79 characters is consistently applied throughout both files, which aligns with the stylesheet requirement. Markdown links are properly kept on single lines.
Screenshot Updates: All 8 updated screenshots reflect current UI state, which improves documentation accuracy.
Content Improvements:
- Simplified info note in
create_cluster.md(removed redundant Enterprise Edition reference) - Removed Developer Edition sections in
create_db.mdthat may no longer be applicable - Changed "PostgreSQL" to "Postgres" in
create_db.md:56for consistency
⚠️ Issues Found
Stylesheet Violations
1. Missing blank lines before lists (stylesheet line 21)
In create_cluster.md:144-147, the bulleted list lacks a blank line before the first item:
Single database clusters are beneficial because:
* they allow connections to the database with an IP address (rather than byShould have a blank line after "because:" and before the first bullet.
2. Sentence length violations (stylesheet line 10: "7-20 words")
Several sentences exceed the 20-word limit:
create_db.md:2-5(43 words)create_db.md:12-15(25 words)create_cluster.md:27-30(25 words)create_cluster.md:64-67(24 words)create_cluster.md:82-86(27 words)
Consider using semi-colons to break these into shorter, linked sentences.
3. Contractions (stylesheet line 11: "full and grammatically correct sentences")
In create_cluster.md:141, "you'll" should be "you will" for formal documentation.
4. Space before punctuation
In create_db.md:35, there's a trailing space before the period:
icon (a pencil) in the upper-right corner to modify backup settings. The Content Issues
5. Inconsistent link formatting
In create_cluster.md:71-72:
Optionally, select the
[backup stores](https://docs.pgedge.com/cloud/backup/backup_store)The link is split across lines unnecessarily. Per stylesheet line 7, links should stay on one line even if it exceeds 79 characters.
6. Removed heading structure
In create_db.md, the sections "Implementing a Backup Strategy" and "Additional Database Installation Options" were removed as bold text/headers. This reduces navigability. Consider whether section structure should be preserved.
📋 Recommendations
- Add blank lines before all bulleted lists
- Break long sentences using semi-colons (7-20 word guideline)
- Keep markdown links on single lines (don't wrap them)
- Remove trailing spaces
- Change "you'll" to "you will"
- Consider if removed Developer Edition content should be documented elsewhere
Security & Code Quality
No security issues identified. No code examples present in these documentation changes.
Overall, this is a solid documentation improvement that enhances readability and updates visuals. The line wrapping work is excellent. Addressing the stylesheet violations above would make it fully compliant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation Review for PR #32
I've reviewed this PR against the pgEdge stylesheet (pgedge_stylesheet.md) and checked for security issues and code quality. Overall, the changes improve readability by wrapping lines to 79 characters as required. However, there are several stylesheet violations that need attention.
✅ Positive Changes
- Line wrapping: All documentation now correctly wraps to 79 characters while keeping inline markdown links on single lines (stylesheet requirement)
- Content cleanup: Removed outdated Developer Edition references, streamlining the documentation
- Screenshot updates: Updated images to reflect current UI
- No security issues: No SQL injection, authentication bypasses, or other security concerns in the examples
❌ Stylesheet Violations
1. Bold font in section headings (docs/cloud/index.md:7-37)
The stylesheet explicitly states: "Do not use bold font bullet items" (line 23).
The "Fully distributed PostgreSQL Made Easy" section uses bold formatting for feature headings:
**Multi-Region and Multi-Cloud:**→ Should beMulti-Region and Multi-Cloud:**Easy Deployment:**→ Should beEasy Deployment:**Control and Monitoring:**→ Should beControl and Monitoring:- And 5 more instances
These should be plain text with colons, not bold.
2. Missing bulleted list formatting (docs/cloud/index.md:7-37)
According to the stylesheet (line 19-24), after an introductory sentence, features should be formatted as a bulleted list with:
- A blank line before the first item
- Complete sentences with articles for each entry
Current format:
## Fully distributed PostgreSQL Made Easy
Multi-Region and Multi-Cloud: Deploy nodes...Should be:
## Fully distributed PostgreSQL Made Easy
The pgEdge Cloud platform includes the following features:
* Multi-Region and Multi-Cloud: Deploy nodes across multiple cloud provider regions...
* Easy Deployment: Creation and deployment of Cloud clusters is a breeze...3. Incomplete sentence at end of file (docs/cloud/index.md:50)
The file ends abruptly with no closing sentence. The stylesheet requires complete sentences. Consider adding back a closing statement similar to the original (but without the typo "pgEdgepgEdge").
4. Missing blank line before image (docs/cloud/cluster/create_cluster.md:97)
The stylesheet requires blank lines before list items (line 21). There should be a blank line before the image at line 97.
5. Active voice consistency (docs/cloud/database/create_db.md:35)
The phrase "select the `edit` icon (a pencil)" could be more active: "Select the `edit` icon (a pencil)..." (capitalize to start the sentence properly).
📝 Minor Suggestions
-
docs/cloud/cluster/create_cluster.md:124: "Select `PostgreSQL` to create a connection to port `5432`" - The semicolon before "this is" could be replaced with a period for better sentence structure.
-
docs/cloud/database/create_db.md:36: Trailing space after "The" on line 36 should be removed.
-
mkdocs.yml: The commented-out line for Developer Edition is fine for now, but consider removing it entirely in a future cleanup PR if it's permanently deprecated.
🔍 No Issues Found
- ✅ No security vulnerabilities in code examples
- ✅ Proper use of backticks for inline code
- ✅ Links formatted correctly
- ✅ Image alt text updated appropriately
- ✅ Proper use of articles (a, an, the)
Summary
The line wrapping and content updates are excellent improvements. The main issues are formatting-related:
- Remove bold formatting from feature headings in
docs/cloud/index.md - Convert feature descriptions to proper bulleted list format
- Add a closing sentence to
docs/cloud/index.md - Minor formatting cleanup
These changes will bring the documentation into full compliance with the stylesheet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
🤖 Fix all issues with AI agents
In `@docs/cloud/index.md`:
- Around line 3-4: Change the compound adjective "single node" to "single-node"
in the sentence containing the phrase "pgEdge Cloud offers single node or
fully-distributed PostgreSQL" so it reads "pgEdge Cloud offers single-node or
fully-distributed PostgreSQL"; update the corresponding text in
docs/cloud/index.md at the phrase to ensure consistent hyphenation.
- Around line 37-39: Update the sentence containing the phrase "Edge Platform
Integration: Cloud is especially well suited for use with edge development
platforms..." to hyphenate the compound adjective by changing "well suited" to
"well-suited" so it reads "Cloud is especially well-suited for use with..." to
fix the grammar; locate the string in docs/cloud/index.md and make the
single-word change in that line.
In `@mkdocs.yml`:
- Line 334: The commented navigation line referencing de_getting_started.md
leaves that document orphaned; either remove the unused file
docs/cloud/getting_started/de_getting_started.md if Developer Edition is
removed, or restore the navigation by uncommenting the line "- Developer
Edition: cloud/getting_started/de_getting_started.md" in mkdocs.yml (ensuring
the path matches the file name de_getting_started.md) so the page is
discoverable; choose and apply one of these actions and update mkdocs.yml
accordingly.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
docs/cloud/index.mdmkdocs.yml
🧰 Additional context used
🪛 LanguageTool
docs/cloud/index.md
[grammar] ~3-~3: Use a hyphen to join words.
Context: ...loud Edition pgEdge Cloud offers single node or fully-distributed PostgreSQL, de...
(QB_NEW_EN_HYPHEN)
[grammar] ~37-~37: Use a hyphen to join words.
Context: ...rm Integration: Cloud is especially well suited for use with edge development pla...
(QB_NEW_EN_HYPHEN)
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Codacy Static Code Analysis
🔇 Additional comments (1)
docs/cloud/index.md (1)
1-49: LGTM on the formatting improvements.The text rewrapping and readability improvements look good. The content is well-structured and clearly presents pgEdge Cloud's features.
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
| pgEdge Cloud offers single node or fully-distributed PostgreSQL, deployable | ||
| across multiple cloud regions or data centers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor grammar: hyphenate compound adjective.
Per static analysis, "single node" should be hyphenated when used as a compound adjective before a noun.
📝 Suggested fix
-pgEdge Cloud offers single node or fully-distributed PostgreSQL, deployable
+pgEdge Cloud offers single-node or fully-distributed PostgreSQL, deployable
across multiple cloud regions or data centers.📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| pgEdge Cloud offers single node or fully-distributed PostgreSQL, deployable | |
| across multiple cloud regions or data centers. | |
| pgEdge Cloud offers single-node or fully-distributed PostgreSQL, deployable | |
| across multiple cloud regions or data centers. |
🧰 Tools
🪛 LanguageTool
[grammar] ~3-~3: Use a hyphen to join words.
Context: ...loud Edition pgEdge Cloud offers single node or fully-distributed PostgreSQL, de...
(QB_NEW_EN_HYPHEN)
🤖 Prompt for AI Agents
In `@docs/cloud/index.md` around lines 3 - 4, Change the compound adjective
"single node" to "single-node" in the sentence containing the phrase "pgEdge
Cloud offers single node or fully-distributed PostgreSQL" so it reads "pgEdge
Cloud offers single-node or fully-distributed PostgreSQL"; update the
corresponding text in docs/cloud/index.md at the phrase to ensure consistent
hyphenation.
| Edge Platform Integration: Cloud is especially well suited for use with | ||
| edge development platforms and software such as Cloudflare Workers, Terraform, | ||
| Vercel, and Fastly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor grammar: hyphenate compound adjective.
Per static analysis, "well suited" should be hyphenated when used as a compound adjective.
📝 Suggested fix
-Edge Platform Integration: Cloud is especially well suited for use with
+Edge Platform Integration: Cloud is especially well-suited for use with
edge development platforms and software such as Cloudflare Workers, Terraform,
Vercel, and Fastly.📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| Edge Platform Integration: Cloud is especially well suited for use with | |
| edge development platforms and software such as Cloudflare Workers, Terraform, | |
| Vercel, and Fastly. | |
| Edge Platform Integration: Cloud is especially well-suited for use with | |
| edge development platforms and software such as Cloudflare Workers, Terraform, | |
| Vercel, and Fastly. |
🧰 Tools
🪛 LanguageTool
[grammar] ~37-~37: Use a hyphen to join words.
Context: ...rm Integration: Cloud is especially well suited for use with edge development pla...
(QB_NEW_EN_HYPHEN)
🤖 Prompt for AI Agents
In `@docs/cloud/index.md` around lines 37 - 39, Update the sentence containing the
phrase "Edge Platform Integration: Cloud is especially well suited for use with
edge development platforms..." to hyphenate the compound adjective by changing
"well suited" to "well-suited" so it reads "Cloud is especially well-suited for
use with..." to fix the grammar; locate the string in docs/cloud/index.md and
make the single-word change in that line.
| - Getting Started: | ||
| - Enterprise Edition: cloud/getting_started/ee_getting_started.md | ||
| - Developer Edition: cloud/getting_started/de_getting_started.md | ||
| #- Developer Edition: cloud/getting_started/de_getting_started.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Check if the Developer Edition doc file still exists
if [ -f "docs/cloud/getting_started/de_getting_started.md" ]; then
echo "File exists - consider deleting or adding a note about why it's retained"
head -20 "docs/cloud/getting_started/de_getting_started.md"
else
echo "File does not exist - navigation removal is clean"
fiRepository: pgEdge/pgedge-docs
Length of output: 1371
Address orphaned Developer Edition documentation.
The commented-out navigation entry leaves the referenced file docs/cloud/getting_started/de_getting_started.md orphaned—it will no longer be discoverable through site navigation. Since the file contains full product documentation, either delete it if Developer Edition is being fully removed, or restore the navigation entry if the product remains supported.
🤖 Prompt for AI Agents
In `@mkdocs.yml` at line 334, The commented navigation line referencing
de_getting_started.md leaves that document orphaned; either remove the unused
file docs/cloud/getting_started/de_getting_started.md if Developer Edition is
removed, or restore the navigation by uncommenting the line "- Developer
Edition: cloud/getting_started/de_getting_started.md" in mkdocs.yml (ensuring
the path matches the file name de_getting_started.md) so the page is
discoverable; choose and apply one of these actions and update mkdocs.yml
accordingly.
This content contains changes for these pages:
http://127.0.0.1:9000/cloud/cluster/create_cluster/
https://docs.pgedge.com/cloud/database/create_db/
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.