Skip to content

Conversation

@Manav-Aggarwal
Copy link
Member

@Manav-Aggarwal Manav-Aggarwal commented Aug 8, 2025

Overview

Fixes some broken links

@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2025

The latest Buf updates on your PR. Results from workflow CI and Release / buf-check (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedAug 8, 2025, 9:44 PM

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @Manav-Aggarwal, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

I've addressed an issue where several internal links within the documentation were broken due to an incorrect path prefix. My changes involve systematically removing the /docs segment from these links, ensuring that all references correctly point to their intended destinations. This improves the overall navigability and user experience of the documentation.

Highlights

  • Documentation Link Fixes: I have updated various internal links across the documentation by removing the /docs prefix. This change ensures that all internal navigation within the documentation works correctly, as the base path for the documentation seems to have changed or was incorrectly referenced.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments or fill out our survey to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-08-08 22:15 UTC

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request aims to fix broken links across the documentation by removing the /docs prefix from URL paths. While the changes made are correct, the fix is incomplete as many links still use the old path format. I've left specific comments on the changed files pointing out some missed instances. However, a more thorough check across the entire docs directory is needed to ensure all links are updated. For example, files like docs/guides/gm-world.md, docs/learn/specs/overview.md, and docs/learn/about.md were not part of this PR but still contain old links that need to be fixed.

```

Now that you are in the docker container, you can interact with the chain using the `gmd` command and the example you used in the [gm-world tutorial](/docs/guides/gm-world.md).
Now that you are in the docker container, you can interact with the chain using the `gmd` command and the example you used in the [gm-world tutorial](/guides/gm-world.md).
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Thanks for fixing this link. I noticed a couple of other links in this file were missed. For example, on lines 3 and 20, the links still use the old /docs/... path. It would be great to fix all of them in this file for consistency.

Comment on lines +303 to +305
- [Single Sequencer Setup Guide](/guides/evm/single.md) - Step-by-step deployment instructions
- [RETH Backup Guide](/guides/evm/reth-backup.md) - Data protection and backup procedures
- [Celestia DA Guide](/guides/da/celestia-da.md) - Connecting to Celestia networks
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Good catch on these links. I noticed that the link on line 307, just below this list, appears to have been missed. It still points to /docs/guides/deploy/local.md and should probably be updated to /guides/deploy/local.md to align with the other changes in this PR.

@claude
Copy link
Contributor

claude bot commented Aug 8, 2025

Claude finished @Manav-Aggarwal's task —— View job


Code Review Results

Reviewing this PR that fixes broken documentation links by removing the /docs prefix. Here's my comprehensive analysis:

Review Tasks:

  • Read and analyze all changed files
  • Check for code quality and completeness of link fixes
  • Identify any missed broken links in modified files
  • Search for similar broken links in other documentation files
  • Assess potential issues and provide constructive feedback
  • Post comprehensive review

📋 Code Review Summary

This PR addresses broken internal documentation links by removing the /docs prefix from URLs, which is correct for the documentation system being used. However, the fix is incomplete.

What Was Fixed Well

  1. docs/index.md: All 5 links properly updated from /docs/... to relative paths
  2. docs/guides/deploy/overview.md: Link to testnet guide correctly updated
  3. docs/guides/deploy/testnet.md: 6 links updated correctly in the features list and references
  4. docs/src/openapi-rpc.json: 4 server description links updated appropriately
  5. docs/guides/deploy/local.md: 1 link fixed on line 219

Missed Links - Critical Issues

In Modified Files:

  • docs/guides/deploy/local.md:3 - Still has /docs/guides/gm-world.md (should be /guides/gm-world.md)
  • docs/guides/deploy/local.md:20 - Still has /docs/guides/gm-world.md (should be /guides/gm-world.md)
  • docs/guides/deploy/testnet.md:307 - Still has /docs/guides/deploy/local.md (should be /guides/deploy/local.md)

Additional Issues Found:
Found 35+ more broken links across the documentation that use the same /docs/ prefix pattern and need fixing:

Notable files with broken links:

  • docs/learn/data-availability.md (2 broken links)
  • docs/learn/sequencing/single.md (1 broken link)
  • docs/learn/about.md (1 broken link)
  • docs/learn/config.md (1 broken link)
  • docs/learn/specs/overview.md (7 broken links)
  • docs/guides/gm-world.md (1 broken link)
  • docs/guides/reset-state.md (3 broken links)
  • docs/guides/da/local-da.md (1 broken link)
  • docs/guides/da/celestia-da.md (2 broken links)
  • And many others...

🔒 Security Considerations

✅ No security issues - this is documentation-only changes

Performance Considerations

✅ No performance impact - documentation changes only

🧪 Test Coverage

✅ No test changes needed - documentation fixes don't require tests

📝 Code Quality Assessment

  • Correctness: ⚠️ Partially correct - the approach is right but implementation is incomplete
  • Consistency: ❌ Inconsistent - some links fixed, others missed even in the same files
  • Completeness: ❌ Incomplete - this is a systematic issue affecting the entire docs directory

💡 Recommendations

  1. Complete the current files: Fix the remaining broken links in the files you've already modified
  2. Systematic approach: Consider running a repository-wide search and replace to catch all /docs/ internal links
  3. Verification: After fixing, verify that all internal documentation links work correctly
  4. Testing: Consider adding a link checker to the CI pipeline to prevent future broken links

🔧 Suggested Fix Command

# Find all internal /docs/ links that need fixing
grep -r "(\|]()/docs/" docs/ --include="*.md" 

This is a good start, but a more comprehensive approach is needed to fully resolve the documentation linking issues across the entire project.

@codecov
Copy link

codecov bot commented Aug 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.48%. Comparing base (a53a7ac) to head (bf4520c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2549   +/-   ##
=======================================
  Coverage   74.48%   74.48%           
=======================================
  Files          70       70           
  Lines        6711     6711           
=======================================
  Hits         4999     4999           
  Misses       1315     1315           
  Partials      397      397           
Flag Coverage Δ
combined 74.48% <ø> (ø)

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.

@tac0turtle tac0turtle merged commit e6d7ac1 into main Aug 8, 2025
28 of 31 checks passed
@tac0turtle tac0turtle deleted the manav/fix_broken_links branch August 8, 2025 22:14
@github-project-automation github-project-automation bot moved this to Done in Evolve Aug 8, 2025
@tac0turtle tac0turtle removed this from Evolve Aug 25, 2025
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