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

docs: adjust guides/overview with a sidebar structure #475

Merged
merged 4 commits into from
Oct 8, 2024

Conversation

yarikbratashchuk
Copy link
Contributor

@yarikbratashchuk yarikbratashchuk commented Oct 4, 2024

Closes #445

Summary by CodeRabbit

  • New Features
    • Improved organization of the "How To Guides" section, now categorized into "Configuration" and "Integrations" for better navigation.
    • Introduced new guides on using the Rollkit CLI, connecting to a local DA, and creating genesis for a rollup.
  • Documentation
    • Enhanced clarity and accessibility of guides related to configuration and integrations.

@yarikbratashchuk yarikbratashchuk self-assigned this Oct 4, 2024
Copy link
Contributor

coderabbitai bot commented Oct 4, 2024

Walkthrough

The changes in the pull request involve restructuring the "How To Guides" section within the guides/overview.md file. The guides are now categorized into two main sections: "Configuration" and "Integrations." This reorganization groups related guides together, enhancing the overall clarity and navigation for users seeking specific information.

Changes

File Change Summary
guides/overview.md Reorganized the list of guides into "Configuration" and "Integrations" categories, and added new guides related to Rollkit.

Possibly related PRs

  • Update to use rollkit cli instead of <binary>d #394: This PR updates the sidebar navigation structure in .vitepress/config.ts, which includes reordering and renaming guide topics that are also mentioned in the main PR's changes to guides/overview.md.
  • Use rollkit cli instead of gmd #427: This PR modifies a guide on transferring TIA to use the rollkit tool instead of gmd, which aligns with the main PR's focus on guides related to Rollkit.
  • Use rollkit instead of gmd in how-to configuration section #433: This PR updates command-line instructions in guides/gas-price.md and guides/lazy-sequencing.md to use rollkit, which is relevant to the main PR's restructuring of guides related to Rollkit.
  • Modify how to guide arrangement #443: This PR modifies the arrangement of how-to guides in the sidebar, which is directly related to the main PR's reorganization of the "How To Guides" section in guides/overview.md.
  • docs: full node guide #462: This PR includes changes to guides/overview.md, specifically renaming entries related to rollup node setups, which connects to the main PR's updates in the same file.

Suggested labels

documentation

Suggested reviewers

  • gupadhyaya
  • MSevey
  • jcstein

🐰 In the garden where guides grow,
Configuration and Integrations now flow.
With clarity bright and paths so clear,
Hop along, dear users, no need to fear!
Find what you seek, it’s all in sight,
A joyful journey, oh what delight! 🌼


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

github-actions bot commented Oct 4, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://rollkit.github.io/docs-preview/./pr-475/
on branch main at 2024-10-07 10:57 UTC

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

🧹 Outside diff range and nitpick comments (2)
guides/overview.md (2)

19-28: Great job on restructuring the guides!

The new categorization of guides into "Configuration" and "Integrations" significantly improves the organization and readability of the document. This structure will help users find relevant information more quickly.

To further enhance the presentation, consider the following suggestions:

  1. Add brief descriptions for each category to provide context.
  2. Use second-level bullet points for the guides within each category for better visual hierarchy.

Here's an example of how you could implement these suggestions:

* Configuration
  Brief description of configuration-related guides.
  * [How to configure gas price](/guides/gas-price.md)
  * [How to change speed of block production](/guides/block-times.md)
  * [How to use lazy sequencing (aggregation)](/guides/lazy-sequencing.md)

* Integrations
  Brief description of integration-related guides.
  * [zkML rollup](/guides/zkml.md)
  * [IBC connection](/guides/ibc-connection.md)
  * [Testing and deploying smart-contract with cw-orch](/guides/cw-orch.md)
  * [How to integrate Range with your rollup](/guides/rollkit-monitoring.md)
  * [How to use IBC token (TIA) as gas token in your rollup](/guides/use-tia-for-gas.md)

These changes would further improve the document's structure and provide more context for users.


Line range hint 1-18: Consider updating the introductory text to reflect the new structure

The restructuring of the guides into categories is a great improvement. To make the document even more cohesive, consider updating the introductory text to mention this new organization. Here's a suggestion for modifying the paragraph starting at line 12:

In this section, you'll find a variety of guides organized into two main categories:

1. Configuration: Guides to help you set up and fine-tune your Rollkit implementation.
2. Integrations: Instructions for integrating Rollkit with various tools and protocols.

These categories cover everything from basic setup to advanced integrations, including:

This change would provide users with a clear overview of what to expect in the guides section and how the information is organized.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 695b47b and f903528.

📒 Files selected for processing (1)
  • guides/overview.md (1 hunks)
🔇 Additional comments (1)
guides/overview.md (1)

Line range hint 1-29: Overall, excellent improvements to the guide structure!

The reorganization of the guides into "Configuration" and "Integrations" categories significantly enhances the document's usability. This change will help users navigate the guides more efficiently and find relevant information quickly.

The suggestions provided in the previous comments are minor enhancements that, if implemented, would further improve the document's clarity and user-friendliness. However, even without these changes, the current structure is a substantial improvement over the previous version.

Great work on making the Rollkit documentation more accessible and organized!

@yarikbratashchuk
Copy link
Contributor Author

Addressing #445

@yarikbratashchuk yarikbratashchuk changed the title Adjust guides/overview with a sidebar structure docs: adjust guides/overview with a sidebar structure Oct 8, 2024
@yarikbratashchuk yarikbratashchuk merged commit 24c83ee into main Oct 8, 2024
6 checks passed
@yarikbratashchuk yarikbratashchuk deleted the yarik/how-to-overview branch October 8, 2024 10:39
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.

feature request(style): get rid of summary page links and use menu as source of truth
2 participants