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

Fix: Update broken links in documentation #1821

Merged
merged 6 commits into from
Dec 13, 2024

Conversation

youyyytrok
Copy link
Contributor

@youyyytrok youyyytrok commented Dec 6, 2024

This pull request addresses the issue of broken links in the documentation. I replaced non-functional links with verified working ones. Before making the replacements, I tested the old links to confirm they were broken. These changes enhance the accuracy and usability of the documentation.

Each link was reviewed and updated to point to the correct and functional resource.

Summary by CodeRabbit

Release Notes

  • Documentation Updates
    • Enhanced clarity and detail in deployment guides for Arbitrum and Blobstream integration.
    • Updated prerequisites and setup instructions for deploying on the Celestia Orbit chain.
    • Added sections on WebSocket connections and configuration for light nodes.
    • Improved links and structured guidance for integrating with Blobstream and FeeGrant module.
    • Expanded compatibility matrix and clarified roles in the Blobstream architecture.

These updates aim to provide users with comprehensive and accessible resources for effective deployment and integration.

Copy link
Contributor

coderabbitai bot commented Dec 6, 2024

Walkthrough

The pull request includes extensive updates to several documentation files related to deploying and integrating Blobstream and Arbitrum technologies. Key changes involve clarifying deployment instructions, enhancing the prerequisites and configuration details, and improving the structure of guides. New sections have been added to address WebSocket connections and compatibility matrices, while existing sections have been reorganized for better clarity. Links have been updated to ensure accuracy, and additional context has been provided throughout to assist developers in understanding the integration processes.

Changes

File Path Change Summary
how-to-guides/arbitrum-deploy.md Enhanced clarity on Arbitrum Orbit rollup deployment, expanded prerequisites, reorganized setup steps, detailed configuration parameters, added WebSocket connection instructions, and updated contract deployment addresses.
how-to-guides/blobstream-offchain.md Introduced types and interfaces for L2 offchain logic with Blobstream, detailed methods for block production and data handling, and clarified optimistic vs. zk rollup data proofing.
how-to-guides/blobstream.md Updated Blobstream integration details, refined SP1 Blobstream description, corrected links, and improved readability of deployed contracts table.
how-to-guides/celestia-node.md Minor adjustments for clarity in installation instructions and updated links in the documentation structure.
how-to-guides/decide-node.md Updated tutorial links for running consensus nodes reflecting reorganization of resources.
how-to-guides/feegrant-for-blobs.md Clarified FeeGrant module instructions, updated wallet creation link, and added optional sections for revoking permissions and blob submissions.

Possibly related PRs

Suggested labels

documentation

Suggested reviewers

  • jcstein

Poem

🐇 In the land of code, where changes bloom,
A guide for Arbitrum now clears the gloom.
With Blobstream's magic, data flows bright,
Developers rejoice, for the future is bright!
So hop to the docs, let knowledge unfurl,
In the world of rollups, let's give it a whirl! 🌟


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: 1

🧹 Outside diff range and nitpick comments (1)
how-to-guides/blobstream-offchain.md (1)

182-182: Consider linking to a specific version tag

The link to the shares documentation currently points to the main branch. For better documentation stability, consider linking to a specific version tag.

Replace:

-[shares](https://github.com/celestiaorg/celestia-app/blob/main/specs/src/shares.md)
+[shares](https://github.com/celestiaorg/celestia-app/blob/v1.1.0/specs/src/shares.md)
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 3c16dd6 and 753834a.

📒 Files selected for processing (6)
  • how-to-guides/arbitrum-deploy.md (1 hunks)
  • how-to-guides/blobstream-offchain.md (1 hunks)
  • how-to-guides/blobstream.md (1 hunks)
  • how-to-guides/celestia-node.md (1 hunks)
  • how-to-guides/decide-node.md (1 hunks)
  • how-to-guides/feegrant-for-blobs.md (1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.35.0)
how-to-guides/blobstream.md

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

(MD004, ul-style)

🔇 Additional comments (4)
how-to-guides/decide-node.md (1)

26-26: Verify the consensus node documentation path

The link has been updated from full-consensus-node.md to consensus-node.md. Let's verify this change is consistent across the documentation.

✅ Verification successful

Link update is consistent with the codebase

The verification confirms:

  • The new path consensus-node.md exists at how-to-guides/consensus-node.md
  • No references to the old full-consensus-node.md remain in the codebase
  • All other documentation files correctly reference the new consensus-node.md path
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the consensus node documentation path and check for any remaining references to the old path

# Check if the new file exists
echo "Checking if consensus-node.md exists:"
fd "consensus-node.md$"

# Check for any remaining references to the old path
echo -e "\nChecking for any remaining references to full-consensus-node.md:"
rg "full-consensus-node\.md"

# Check for any broken internal links to consensus node documentation
echo -e "\nChecking for any other consensus node documentation references:"
rg -i "consensus.*node.*\.md"

Length of output: 1585

how-to-guides/celestia-node.md (1)

147-147: Verify the nodes overview documentation path

The link has been updated from overview.md to nodes-overview.md. Let's verify this change is consistent across the documentation.

✅ Verification successful

Link path update is correct and consistent

The verification confirms:

  • The new file nodes-overview.md exists at the correct location in how-to-guides/
  • The link in celestia-node.md correctly points to this file using a relative path
  • All references to the nodes overview documentation consistently use the new filename nodes-overview.md
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the nodes overview documentation path and check for any remaining references to the old path

# Check if the new file exists
echo "Checking if nodes-overview.md exists:"
fd "nodes-overview.md$"

# Check for any remaining references to the old path
echo -e "\nChecking for any remaining references to overview.md:"
rg "overview\.md"

# Check for any broken internal links to overview documentation
echo -e "\nChecking for any other overview documentation references:"
rg -i "nodes.*overview.*\.md"

Length of output: 960

how-to-guides/blobstream.md (1)

119-119: Link update looks good!

The link to SP1 Blobstream contract Golang bindings has been correctly updated from a TODO placeholder to the actual resource at https://github.com/succinctlabs/sp1-blobstream/blob/main/bindings/SP1Blobstream.go.

🧰 Tools
🪛 Markdownlint (0.35.0)

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

(MD004, ul-style)

how-to-guides/arbitrum-deploy.md (1)

416-416: Version update is accurate and well-documented!

The compatibility matrix has been updated with clear version information and helpful context about the Blobstream X functionality integration into nitro-contracts v1.2.1.

@@ -24,7 +24,7 @@ a DA node's (grantee) account. You will need one account that will
contain the funds, the granter, and another account that will be in the
DA node you run to post blobs, the grantee. You will see the DA node's account
once you initialize the node. Learn more about managing accounts with
`cel-key` in [create a wallet with celestia-node](./celestia-node-key#create-a-wallet-with-celestia-node).
`cel-key` in [create a wallet with celestia-node](../tutorials/celestia-node-key.md#create-a-wallet-with-celestia-node).
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Link needs to be updated to match the correct section heading

The current link #create-a-wallet-with-celestia-node points to the main heading which exists, but it's inconsistent across documentation. The file multiaccounts.md uses the same incorrect anchor. Suggested fixes:

  • Update the link in feegrant-for-blobs.md to use the proper section heading: #using-the-cel-key-utility
  • For consistency, also update the link in multiaccounts.md
🔗 Analysis chain

Verify the wallet creation tutorial link and section anchor

The link has been updated to point to a specific section in the celestia-node-key tutorial. Let's verify this change is correct and consistent.


Let me generate another verification script to check the exact content and structure of the tutorial file to verify the section anchor.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the celestia-node-key tutorial path and section anchor

# Check if the tutorial file exists
echo "Checking if celestia-node-key.md exists:"
fd "celestia-node-key.md$"

# Check if the section exists in the file
echo -e "\nChecking for the wallet creation section in the tutorial:"
rg -A 5 "^#.*create.*wallet.*celestia-node" tutorials/celestia-node-key.md

# Check for any other references to wallet creation documentation
echo -e "\nChecking for any other wallet creation documentation references:"
rg -i "create.*wallet.*celestia.*node"

Length of output: 893


Script:

#!/bin/bash
# Check the content and headers of the tutorial file
echo "Checking the content structure of celestia-node-key.md:"
cat tutorials/celestia-node-key.md | grep "^#"

# Check if there are any broken links in the documentation
echo -e "\nChecking for any broken or inconsistent links to the tutorial:"
rg -l "celestia-node-key(.md)?#" --type md

Length of output: 910

@youyyytrok
Copy link
Contributor Author

@jcstein Hi! Could you please take a look at my pull request? Your feedback is very important for moving forward. Thank you so much!

Copy link
Member

@jcstein jcstein left a comment

Choose a reason for hiding this comment

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

ty, lgtm

@jcstein jcstein merged commit e90a8a7 into celestiaorg:main Dec 13, 2024
2 checks passed
Copy link

gitpoap-bot bot commented Dec 13, 2024

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2024 Celestia Contributor:

GitPOAP: 2024 Celestia Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

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