Skip to content
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

Fixing Broken links #1191

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Fixing Broken links #1191

merged 2 commits into from
Oct 28, 2024

Conversation

smian1
Copy link
Collaborator

@smian1 smian1 commented Oct 28, 2024

Summary by CodeRabbit

  • Documentation
    • Updated the README.md file with new links and improved clarity, including rebranding from "Friend" to "Omi."
    • Enhanced links for various documentation sections to ensure consistency and accessibility.
    • Refined assembly instructions in the "Building the Device" document for clarity, including updated URLs.

Copy link
Contributor

coderabbitai bot commented Oct 28, 2024

Walkthrough

The pull request involves updates to the README.md file and the "Building the Device" documentation. Key changes include rebranding from "Friend" to "Omi" and the modification of various documentation links to include a consistent /docs/ prefix. The link for firmware installation was specifically changed to reflect a new process. The assembly instructions in the "Building the Device" document were also refined for clarity, with several URLs corrected, while the core assembly steps remained unchanged.

Changes

File Path Change Summary
README.md Updated links to documentation with a consistent /docs/ prefix; rebranding from "Friend" to "Omi".
docs/docs/assembly/Build_the_device.mdx Corrected URLs for the buying guide and case download; refined clarity in assembly instructions.

Possibly related PRs

🐰 In the meadow where bunnies play,
Omi's name is here to stay.
Links now lead with a clearer way,
Assembly steps, bright as day!
Hopping forward, let’s embrace,
A world of docs, a joyful space! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ 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 resolve resolve all the CodeRabbit review comments.
  • @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 to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Outside diff range and nitpick comments (1)
README.md (1)

48-52: Maintain consistent list style markers.

For better markdown consistency, replace asterisks with dashes in the unordered list.

Apply this diff:

-* Check out our [contributions guide](https://docs.omi.me/docs/developer/Contribution/).
-* Check out the [current tasks](https://github.com/BasedHardware/Omi/issues).
-* Earn from contributing! Check the [paid bounties 🤑](https://github.com/BasedHardware/Omi/issues?q=is:open+is:issue+label:%22Paid+Bounty+%F0%9F%92%B0%22).
-* Join the [Discord](https://discord.gg/omi).
-* Build your own [Plugins/Integrations](https://docs.omi.me/docs/developer/apps/Introduction).
+- Check out our [contributions guide](https://docs.omi.me/docs/developer/Contribution/).
+- Check out the [current tasks](https://github.com/BasedHardware/Omi/issues).
+- Earn from contributing! Check the [paid bounties 🤑](https://github.com/BasedHardware/Omi/issues?q=is:open+is:issue+label:%22Paid+Bounty+%F0%9F%92%B0%22).
+- Join the [Discord](https://discord.gg/omi).
+- Build your own [Plugins/Integrations](https://docs.omi.me/docs/developer/apps/Introduction).
🧰 Tools
🪛 Markdownlint

48-48: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


49-49: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


50-50: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


51-51: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


52-52: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between e6bcaa9 and 863c7f3.

📒 Files selected for processing (2)
  • README.md (1 hunks)
  • docs/docs/assembly/Build_the_device.mdx (1 hunks)
🧰 Additional context used
🪛 Markdownlint
README.md

48-48: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


49-49: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


50-50: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


51-51: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


52-52: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

🔇 Additional comments (3)
docs/docs/assembly/Build_the_device.mdx (1)

20-20: ⚠️ Potential issue

Update the hardware repository path to reflect rebranding.

The GitHub repository path still references "Friend" instead of "Omi" in the hardware directory structure. This should be updated for consistency with the rebranding.

-Download and print the case from the provided .stl file [link](https://github.com/BasedHardware/omi/tree/main/Friend/hardware/triangle%20v1).
+Download and print the case from the provided .stl file [link](https://github.com/BasedHardware/omi/tree/main/Omi/hardware/triangle%20v1).

Let's verify if this repository path exists and if there are any other occurrences:

README.md (2)

40-44: Verify all updated documentation paths exist.

Let's ensure all the updated documentation paths with the new /docs/ prefix are valid.

#!/bin/bash
# Description: Verify all updated documentation paths exist
# Test: Check if the documentation files exist in the new structure

echo "Checking documentation files..."
fd -e mdx -e md "Setup.mdx\|Setup.md\|Buying_Guide.mdx\|Buying_Guide.md\|Build_the_device.mdx\|Build_the_device.md\|Flash_device.mdx\|Flash_device.md\|Introduction.mdx\|Introduction.md" docs/

43-43: Verify the new firmware installation path exists.

The firmware installation link has been significantly changed from /assembly/Install_firmware/ to /get_started/Flash_device/. Let's verify this new path is valid and accessible.

✅ Verification successful

Let me try another verification approach to check for any documentation files related to firmware or flashing in the repository.


Let me try one final verification to specifically check the content in the get_started directory since that's where the new link points to:


The firmware installation link is valid and correctly updated

The new path /docs/get_started/Flash_device/ exists in the repository at docs/docs/get_started/Flash_device.mdx, confirming that the documentation link update is correct and points to an existing resource.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the new firmware installation documentation exists
# Test: Check if the new firmware documentation file exists
fd -e mdx -e md "Flash_device.mdx\|Flash_device.md" docs/

Length of output: 266


Script:

#!/bin/bash
# Search for any documentation files containing firmware or flash-related content
echo "Searching for firmware/flash-related documentation..."
rg -i "firmware|flash" --type md --type mdx

# Also check if there might be alternative paths in the docs
echo -e "\nChecking docs directory structure..."
fd . docs/ -t d

Length of output: 750


Script:

#!/bin/bash
# Check contents of get_started directory
echo "Checking get_started directory contents..."
fd . docs/docs/get_started/ -t f

# Try searching with ripgrep without mdx extension
echo -e "\nSearching for firmware/flash content in markdown files..."
rg -i "firmware|flash" -t markdown

Length of output: 2116

@@ -13,11 +13,11 @@ If you received an unassembled Omi or want to build one yourself, follow the ste

**Step 0.** Components

Ensure you've purchased all required components from the [buying guide](https://docs.omi.me/assembly/Buying_Guide/))
Ensure you've purchased all required components from the [buying guide](https://docs.omi.me/docs/assembly/Buying_Guide))
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix the syntax error in the buying guide link.

There's an extra closing parenthesis in the Markdown link.

-Ensure you've purchased all required components from the [buying guide](https://docs.omi.me/docs/assembly/Buying_Guide))
+Ensure you've purchased all required components from the [buying guide](https://docs.omi.me/docs/assembly/Buying_Guide)
📝 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.

Suggested change
Ensure you've purchased all required components from the [buying guide](https://docs.omi.me/docs/assembly/Buying_Guide))
Ensure you've purchased all required components from the [buying guide](https://docs.omi.me/docs/assembly/Buying_Guide)


[//]: # (- [Support]&#40;https://docs.omi.me/info/Support/&#41;)
[//]: # (- [Support]&#40;https://docs.omi.me/docs/info/Support/;)
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix markdown link syntax error.

There's a syntax error in the commented Support link where a semicolon is used instead of a closing parenthesis.

Apply this diff:

-[//]: # (- [Support]&#40;https://docs.omi.me/docs/info/Support/;)
+[//]: # (- [Support]&#40;https://docs.omi.me/docs/info/Support/&#41;)
📝 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.

Suggested change
[//]: # (- [Support]&#40;https://docs.omi.me/docs/info/Support/;)
[//]: # (- [Support]&#40;https://docs.omi.me/docs/info/Support/&#41;)

@mdmohsin7 mdmohsin7 merged commit 3386d45 into BasedHardware:main Oct 28, 2024
1 check passed
@coderabbitai coderabbitai bot mentioned this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants