Skip to content

Conversation

@kings177
Copy link
Contributor

@kings177 kings177 commented Jul 12, 2025

Summary by CodeRabbit

  • Documentation
    • Expanded and restructured guides for Torus Allocator, Torus DAO, and Torus Wallet with detailed step-by-step instructions and interface descriptions.
    • Improved link accuracy and clarity in Torus Portal documentation.
    • Updated navigation and related topic links across multiple documentation pages for consistency and relevance.
    • Added new related resource cards and updated section headings for better usability.
    • Removed the outdated Torus Bridge documentation.
    • Revised sidebar navigation to reflect web app documentation updates and streamlined labels.

@coderabbitai
Copy link

coderabbitai bot commented Jul 12, 2025

Walkthrough

This update revises documentation navigation, content, and configuration. It updates the sidebar structure, removes the Torus Bridge guide, and extensively rewrites pages for Torus Allocator, DAO, and Wallet to provide detailed procedural guidance. Several internal links, headings, and related topics are clarified or updated for consistency and accuracy.

Changes

Files/Groups Change Summary
.gitignore Added .env.local to ignored files.
astro.config.mjs Updated sidebar navigation: relabeled, uncommented, and simplified sections; removed editLink and vite server config.
src/content/docs/agents/register-agent.mdx Changed "next" navigation link from "Become a Root Agent" to "Interacting with Agents".
src/content/docs/concepts/network-overview.mdx Updated LinkCard titles and hrefs for "Concepts" and "Governance & DAO".
src/content/docs/getting-started/setup-wallet.mdx Renamed section to "Related Topics"; added/expanded LinkCards, including a new one for "Torus Wallet".
src/content/docs/v05/permissions.mdx Updated LinkCard hrefs to new "/v05/" paths.
src/content/docs/web-apps/torus-allocator.mdx Major rewrite: focused on stake allocation, added detailed interface and procedural guides, updated related topics.
src/content/docs/web-apps/torus-bridge.mdx Deleted: removed the entire Torus Bridge usage guide.
src/content/docs/web-apps/torus-dao.mdx Major rewrite: added detailed, step-by-step DAO guide, expanded interface and procedural sections, updated links.
src/content/docs/web-apps/torus-portal.mdx Updated links for accuracy, renamed topics, added "Related Topics" heading.
src/content/docs/web-apps/torus-wallet.mdx Major rewrite: expanded with detailed guides for wallet, staking, and bridging operations; updated related topics.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant DocsSidebar
    participant DocsPage

    User->>DocsSidebar: Navigates via sidebar (updated structure)
    DocsSidebar->>DocsPage: Loads selected documentation page
    DocsPage-->>User: Displays updated content (Allocator, DAO, Wallet, etc.)
Loading

Possibly related PRs

  • Dev #9: Updates the astro.config.mjs sidebar navigation, directly related to the sidebar changes in this PR.
  • merge Dev with main #3: Also modifies the sidebar configuration in astro.config.mjs, focusing on section renaming and slug changes.

Poem

A hop through docs, a sidebar anew,
Allocator, DAO, and Wallet in view.
The Bridge is gone, but guidance grows,
With step-by-step help where knowledge flows.
🐇✨
In burrows of docs, the details shine bright—
Happy reading, day or night!

✨ 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.
    • Explain this complex logic.
    • 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 explain this code block.
    • @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 explain its main purpose.
    • @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.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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 generate sequence diagram to generate a sequence diagram of the changes in this 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

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

🧹 Nitpick comments (7)
src/content/docs/concepts/network-overview.mdx (1)

55-62: Card description now mismatches new title

The first LinkCard points to generic “Concepts” yet its description still says “Learn about the basic concepts of agents.” Consider a broader description to match the renamed target.

-        description="Learn about the basic concepts of agents."
+        description="Learn the foundational concepts of Torus."
src/content/docs/web-apps/torus-portal.mdx (3)

28-45: Use absolute, canonical paths for internal links

../v05/permissions and ../v05/capability-permissions are relative to the current folder, while the rest of the doc (e.g. /v05/emission-permissions) uses absolute root-based paths. Mixing the two styles risks broken links if this page’s nesting level ever changes.

-For permission details, see [Permissions System](../v05/permissions).-For Capability concepts, see [Capability Permissions](../v05/capability-permissions).
+For permission details, see [Permissions System](/v05/permissions).
+
+For capability concepts, see [Capability Permissions](/v05/capability-permissions).

48-50: Align link style with the rest of the doc

Same rationale as above – prefer an absolute path.

-**Register Agent**: Basic agent registration (different from [root agent registration](../agents/apply-root-agent))
+**Register Agent**: Basic agent registration (different from [root agent registration](/agents/apply-root-agent))

64-82: Heading level / semantics

The page jumps from ## to #### Related Topics, skipping the ### level.
Unless there is an intentional hierarchy gap, bump this to ### for consistent document structure and better a11y outline.

src/content/docs/web-apps/torus-wallet.mdx (2)

20-22: Avoid embedding external links inside headings

Headings are used for slug generation and page outline. Wrapping the entire heading in a link can:

  1. Produce awkward focus behaviour (whole heading becomes one link).
  2. Generate slugs containing the markdown link syntax.

Recommend separating the heading text and the link:

-## [Wallet Operations](https://wallet.torus.network)
+## Wallet Operations
+
+Full interface: <https://wallet.torus.network>

Apply the same pattern to the Staking and Bridge sections.


61-62: Minor wording

“may take several minutes” → “can take several minutes” reads a little smoother.

Purely stylistic—feel free to ignore.

src/content/docs/web-apps/torus-allocator.mdx (1)

14-15: Fix casing and path for internal link

The anchor text should follow product capitalization and the link should be absolute to avoid path-depth issues.

-For staking details, see [torus wallet](torus-wallet).
+For staking details, see [Torus Wallet](/web-apps/torus-wallet).
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7453d37 and d60152b.

📒 Files selected for processing (11)
  • .gitignore (1 hunks)
  • astro.config.mjs (3 hunks)
  • src/content/docs/agents/register-agent.mdx (1 hunks)
  • src/content/docs/concepts/network-overview.mdx (1 hunks)
  • src/content/docs/getting-started/setup-wallet.mdx (1 hunks)
  • src/content/docs/v05/permissions.mdx (1 hunks)
  • src/content/docs/web-apps/torus-allocator.mdx (1 hunks)
  • src/content/docs/web-apps/torus-bridge.mdx (0 hunks)
  • src/content/docs/web-apps/torus-dao.mdx (1 hunks)
  • src/content/docs/web-apps/torus-portal.mdx (4 hunks)
  • src/content/docs/web-apps/torus-wallet.mdx (1 hunks)
💤 Files with no reviewable changes (1)
  • src/content/docs/web-apps/torus-bridge.mdx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: clean-stale
🔇 Additional comments (6)
.gitignore (1)

24-25: Addition correctly protects local secrets

Including .env.local in .gitignore prevents accidental exposure of developer-specific secrets. No further action needed.

src/content/docs/agents/register-agent.mdx (1)

8-9: Confirm target page exists to avoid dead-link

/agents/client replaces the previous /agents/apply-root-agent. Please verify that the new slug is live (or included in this PR) before merging, otherwise navigation will 404.

src/content/docs/v05/permissions.mdx (1)

68-74: Link path update looks good – double-check build passes

The switch to /v05/... keeps links under the versioned namespace and improves coherence. Assuming the referenced MDX pages were moved accordingly, LGTM.

src/content/docs/getting-started/setup-wallet.mdx (1)

58-75: Nice contextual links – ensure referenced docs exist

The new “Related Topics” section improves discoverability. Just confirm the three slugs (/cli/key-management, /cli/balance-operations, /web-apps/torus-wallet) are present in the site map to prevent broken links.

astro.config.mjs (1)

67-75: Sidebar block looks good

New “Web Apps” entries compile correctly and match the slugs added in docs. No structural issues spotted.

src/content/docs/web-apps/torus-dao.mdx (1)

71-78: LGTM – internal links correct & descriptive

Links to Governance & DAO and Root Agent guide render correctly and use absolute paths.

@kings177 kings177 merged commit a4bf32c into main Jul 12, 2025
4 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Jul 27, 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