Skip to content

Replace refs to "master" branch, fix "!store" doc formatting - #1183

Merged
Nuru (Nuru) merged 2 commits into
mainfrom
store-docs
Apr 3, 2025
Merged

Nuru (Nuru) merged 2 commits into
mainfrom
store-docs

Conversation

@Nuru

@Nuru Nuru (Nuru) commented Apr 3, 2025 •

Copy link
Copy Markdown
Contributor

what

  • Replace references to "master" branch with references to "main" branch
  • Fix "!store" doc formatting

why

  • Repositories have renamed the default branch to "main", and edit references are not redirected
  • Fix rendering, work around IDE parser limitations

Summary by CodeRabbit

  • Documentation
    • Updated documentation links and resource references to reflect the new default branch.
    • Enhanced clarity and formatting in guides and examples for improved readability.
    • Adjusted editing links for documentation and blog content to ensure consistency.

@Nuru
Nuru (Nuru) enabled auto-merge (squash) April 3, 2025 18:24
@Nuru Nuru (Nuru) added the no-release Do not create a new release (wait for additional code changes) label Apr 3, 2025
@coderabbitai

coderabbitai Bot commented Apr 3, 2025

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This pull request updates numerous documentation references across the repository. Most changes involve replacing URLs that originally pointed to the master branch with the main branch. Additionally, a single file has been improved for formatting clarity, and the GitHub edit URL configuration in Docusaurus has been updated accordingly. No functional code or public entity declarations were modified.

Changes

File(s) Change Summary
website/docs/cli/commands/validate/validate-stacks.mdx, website/docs/cli/versioning.mdx, website/docs/core-concepts/validate/validate.mdx, website/docs/core-concepts/validate/json-schema.mdx, website/docs/core-concepts/validate/opa.mdx, website/docs/quick-start/advanced/configure-validation.mdx Updated URL references from the master branch to the main branch for documentation related to the Atmos Manifest JSON Schema and validation commands.
website/docs/core-concepts/components/components.mdx, website/docs/core-concepts/share-data/remote-state.mdx, website/docs/quick-start/advanced/configure-repository.md, website/docs/quick-start/advanced/vendor-components.mdx, website/docs/tutorials/atmos-example-infra.mdx Updated URL links in Terraform components, Docker container setups, and example configurations to reflect the main branch.
website/docs/core-concepts/stacks/yaml-functions/store.mdx Applied minor formatting improvements and clarifications for the !store function documentation.
website/docusaurus.config.js Modified GitHub edit URL configuration by replacing the master branch reference with main for both docs and blog edit links.

Possibly related PRs

Suggested labels

no-release

Suggested reviewers

  • aknysh
  • osterman
✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary or @auto-summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @auto-title anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@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: 0

🧹 Nitpick comments (3)
website/docs/cli/versioning.mdx (1)

36-37: Formatting Suggestion
Static analysis hints suggest that a punctuation mark (or a typographic close quote) might improve readability here. Consider revisiting the punctuation at this line if you feel it enhances clarity.

🧰 Tools
🪛 LanguageTool

[typographical] ~37-~37: Consider using a typographic close quote here.
Context: ... changes to atmos please refer to the changelog. It conta...

(EN_QUOTES)


[uncategorized] ~37-~37: A punctuation mark might be missing here.
Context: .../CHANGELOG.md" target="_blank">changelog. It contains an ordered list of all bug...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

website/docs/tutorials/atmos-example-infra.mdx (1)

80-80: Minor Formatting Note
Consider replacing the hyphen before "global settings" with an em dash for improved readability, as suggested by static analysis.

🧰 Tools
🪛 LanguageTool

[typographical] ~80-~80: To join two clauses or introduce examples, consider using an em dash.
Context: ...-advanced/stacks/orgs/cp/_defaults.yaml) - global settings for the entire solutio...

(DASH_RULE)

website/docs/core-concepts/components/components.mdx (1)

47-47: Typographic Enhancement
For a more polished look, consider replacing the straight quotation marks around "root" modules with typographic quotation marks.

🧰 Tools
🪛 LanguageTool

[typographical] ~47-~47: Consider using typographic quotation marks here.
Context: ...is they should be opinionated Terraform "root" modules that typically call other child...

(EN_QUOTES)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 274eb99 and 5793ee0.

📒 Files selected for processing (13)
  • website/docs/cli/commands/validate/validate-stacks.mdx (1 hunks)
  • website/docs/cli/versioning.mdx (1 hunks)
  • website/docs/core-concepts/components/components.mdx (1 hunks)
  • website/docs/core-concepts/share-data/remote-state.mdx (1 hunks)
  • website/docs/core-concepts/stacks/yaml-functions/store.mdx (2 hunks)
  • website/docs/core-concepts/validate/json-schema.mdx (2 hunks)
  • website/docs/core-concepts/validate/opa.mdx (2 hunks)
  • website/docs/core-concepts/validate/validate.mdx (1 hunks)
  • website/docs/quick-start/advanced/configure-repository.md (1 hunks)
  • website/docs/quick-start/advanced/configure-validation.mdx (1 hunks)
  • website/docs/quick-start/advanced/vendor-components.mdx (1 hunks)
  • website/docs/tutorials/atmos-example-infra.mdx (1 hunks)
  • website/docusaurus.config.js (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
website/docs/cli/commands/validate/validate-stacks.mdx (1)
Learnt from: aknysh
PR: cloudposse/atmos#0
File: :0-0
Timestamp: 2025-01-10T15:18:27.794Z
Learning: The `atmos validate stacks` command now uses an embedded JSON Schema by default for validating Atmos manifests, falling back to the schema specified in `atmos.yaml` or via command-line flags if provided.
website/docs/core-concepts/validate/validate.mdx (1)
Learnt from: aknysh
PR: cloudposse/atmos#0
File: :0-0
Timestamp: 2025-01-10T15:18:27.794Z
Learning: The `atmos validate stacks` command now uses an embedded JSON Schema by default for validating Atmos manifests, falling back to the schema specified in `atmos.yaml` or via command-line flags if provided.
website/docs/quick-start/advanced/configure-validation.mdx (1)
Learnt from: aknysh
PR: cloudposse/atmos#0
File: :0-0
Timestamp: 2025-01-10T15:18:27.794Z
Learning: The `atmos validate stacks` command now uses an embedded JSON Schema by default for validating Atmos manifests, falling back to the schema specified in `atmos.yaml` or via command-line flags if provided.
🪛 LanguageTool
website/docs/core-concepts/components/components.mdx

[typographical] ~47-~47: Consider using typographic quotation marks here.
Context: ...is they should be opinionated Terraform "root" modules that typically call other child...

(EN_QUOTES)

website/docs/tutorials/atmos-example-infra.mdx

[typographical] ~80-~80: To join two clauses or introduce examples, consider using an em dash.
Context: ...-advanced/stacks/orgs/cp/_defaults.yaml) - global settings for the entire solutio...

(DASH_RULE)

website/docs/cli/versioning.mdx

[typographical] ~37-~37: Consider using a typographic close quote here.
Context: ... changes to atmos please refer to the changelog. It conta...

(EN_QUOTES)


[uncategorized] ~37-~37: A punctuation mark might be missing here.
Context: .../CHANGELOG.md" target="_blank">changelog. It contains an ordered list of all bug...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Build (windows-latest, windows)
  • GitHub Check: Summary
🔇 Additional comments (17)
website/docs/cli/versioning.mdx (1)

36-38: Branch Reference Update Confirmed
The URL for the changelog now correctly points to the main branch instead of master, ensuring consistency with the repository’s default branch.

🧰 Tools
🪛 LanguageTool

[typographical] ~37-~37: Consider using a typographic close quote here.
Context: ... changes to atmos please refer to the changelog. It conta...

(EN_QUOTES)


[uncategorized] ~37-~37: A punctuation mark might be missing here.
Context: .../CHANGELOG.md" target="_blank">changelog. It contains an ordered list of all bug...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

website/docs/tutorials/atmos-example-infra.mdx (1)

80-80: Correct URL and Branch Update
The URL for _defaults.yaml is now updated to reference the main branch, which aligns with the new repository naming conventions.

🧰 Tools
🪛 LanguageTool

[typographical] ~80-~80: To join two clauses or introduce examples, consider using an em dash.
Context: ...-advanced/stacks/orgs/cp/_defaults.yaml) - global settings for the entire solutio...

(DASH_RULE)

website/docs/core-concepts/components/components.mdx (1)

47-48: URL Update and Consistency Check
The links for the Terraform components now correctly point to the main branch, ensuring that users are directed to the current version of the modules.

🧰 Tools
🪛 LanguageTool

[typographical] ~47-~47: Consider using typographic quotation marks here.
Context: ...is they should be opinionated Terraform "root" modules that typically call other child...

(EN_QUOTES)

website/docs/core-concepts/validate/opa.mdx (2)

66-70: Accurate Branch Reference in URL
The link for atmos.yaml now correctly uses the main branch, which ensures that readers are directed to the appropriate file path in the updated repository.


81-84: Manifest Link Update Check
The updated URL pointing to the component manifest reflects the new branch naming. All embedded file links (including the Rego package and policy files) now consistently reference main.

website/docs/core-concepts/validate/validate.mdx (1)

119-120: JSON Schema URL Update Confirmed
The Atmos Manifest JSON Schema URL has been updated from master to main, ensuring that users always access the latest version of the schema file.

website/docs/cli/commands/validate/validate-stacks.mdx (1)

106-107: Documentation Update: Correct Branch Reference

The URL for the Atmos Manifest JSON Schema has been updated to use the main branch instead of master. This is perfectly in line with the repository’s current naming convention and improves the clarity of the documentation.

website/docs/core-concepts/stacks/yaml-functions/store.mdx (1)

114-115: Documentation Formatting Improvement

The reformatting of the note—specifically moving the closing ::: to a new line—enhances readability and clearly delineates the note’s content. Great job streamlining the explanation on choosing the appropriate !store syntax.

website/docs/quick-start/advanced/configure-repository.md (1)

127-129: Repository URL Update for Docker Setup

The URLs in the Docker container setup instructions have been updated to reference the main branch instead of master. This ensures that users are directed to the current and correct resources.

website/docs/quick-start/advanced/configure-validation.mdx (1)

71-73: URL Correction: Updated Atmos Manifest JSON Schema Reference

The link to the Atmos Manifest JSON Schema now correctly points to the main branch. This update eliminates confusion and guarantees that users access the up‐to‐date schema file.

website/docs/quick-start/advanced/vendor-components.mdx (1)

258-261: URL Update in Docker Container Instructions

The modified URLs now reference the main branch in the Docker section, ensuring consistency across the documentation. This change helps maintain uniformity in branch references throughout the repo.

website/docs/core-concepts/share-data/remote-state.mdx (1)

325-329: Update URL References to 'main' Branch
The URL links for the atmos.yaml file and the Dockerfile have been updated to point to the main branch instead of master. This change correctly aligns with the repository’s new default branch naming and improves consistency throughout the docs.

website/docusaurus.config.js (2)

100-101: Update Docs Edit URL to 'main' Branch
The edit URL for documentation pages now references the main branch instead of master, ensuring that contributors are directed to the correct location in the repository.


106-108: Update Blog Edit URL to 'main' Branch
Similarly, the blog configuration now uses the new default branch main for edit links. This maintains consistency across all edit links generated by Docusaurus.

website/docs/core-concepts/validate/json-schema.mdx (3)

30-33: Update atmos.yaml URL Reference
The link to the atmos.yaml file has been updated to point to the main branch. This change ensures that documentation references are current and reflect the repository’s new branch naming convention.


45-47: Update Component Manifest URL Reference
The reference to the component manifest now correctly uses the main branch. This update prevents any broken links for users browsing the documentation.


51-54: Update JSON Schema File URL Reference
The URL for the JSON Schema file has been updated to the main branch. This is in line with the rest of the repository updates and ensures that users are directed to the proper resources.

@Nuru Nuru (Nuru) added the documentation Improvements or additions to documentation label Apr 3, 2025
@Nuru
Nuru (Nuru) merged commit 7d8158d into main Apr 3, 2025
@Nuru
Nuru (Nuru) deleted the store-docs branch April 3, 2025 19:11
@codecov

codecov Bot commented Apr 3, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.50%. Comparing base (274eb99) to head (5793ee0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1183   +/-   ##
=======================================
  Coverage   29.50%   29.50%           
=======================================
  Files         196      196           
  Lines       22549    22549           
=======================================
  Hits         6652     6652           
  Misses      14880    14880           
  Partials     1017     1017           
Flag Coverage Δ
unittests 29.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Apr 6, 2025

Copy link
Copy Markdown

These changes were released in v1.170.0.

This branch was successfully deployed

No deployments
preview — 5793ee07 Deployed Apr 3, 2025 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation no-release Do not create a new release (wait for additional code changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants