Skip to content

chore: remove cli docs#2217

Merged
tac0turtle merged 6 commits intomainfrom
marko/markdown
Apr 24, 2025
Merged

chore: remove cli docs#2217
tac0turtle merged 6 commits intomainfrom
marko/markdown

Conversation

@tac0turtle
Copy link
Copy Markdown
Contributor

@tac0turtle tac0turtle commented Apr 24, 2025

Overview

this pr removes the cli docs as its specific to testapp and user apps could contain different cmds not covered here

this pr also fixes buf check ci job

Summary by CodeRabbit

Summary by CodeRabbit

  • Chores

    • Removed the CLI documentation generation command and related workflow from the project.
    • Deleted multiple CLI documentation markdown files.
    • Cleaned up indirect dependencies that are no longer needed.
    • Updated linting scripts to include additional markdown files in checks.
  • Documentation

    • Improved formatting and clarity in several README and specification files.
    • Made minor markdown formatting adjustments for headings, bullet points, and code block types.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 24, 2025

Warning

Rate limit exceeded

@tac0turtle has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 19 minutes and 11 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between f15e7e8 and 240cf4e.

📒 Files selected for processing (2)
  • specs/src/specs/full_node.md (2 hunks)
  • specs/src/specs/store.md (2 hunks)

Walkthrough

This set of changes removes the CLI documentation generation feature and its related tooling from the project. Specifically, it deletes the documentation generation command from the CLI, eliminates the associated code, removes documentation markdown files for CLI commands, and updates automation scripts and workflows to stop generating and linting CLI documentation. Indirect dependencies used solely for documentation generation are also removed from Go module files. Additionally, minor formatting adjustments are made to several markdown files, but no functional code or public interfaces are otherwise altered.

Changes

File(s) Change Summary
.github/workflows/lint.yml Removed the cli-docs-lint job, eliminating CLI documentation linting from the workflow.
pkg/cmd/docs_gen.go Deleted the code for the CLI documentation generation command and its helper functions.
docs/cmd/testapp*.md Deleted all CLI documentation markdown files for testapp and its subcommands.
rollups/evm/based/main.go
rollups/evm/single/main.go
rollups/testapp/main.go
Removed the CLI documentation generation command from root command subcommands.
go.mod
rollups/evm/based/go.mod
rollups/evm/single/go.mod
rollups/testapp/go.mod
Removed indirect dependencies github.com/cpuguy83/go-md2man/v2 and github.com/russross/blackfriday/v2.
scripts/utils.mk Included ./cmd/rollkit/docs/*.md in markdownlint by removing it from the ignore list.
README.md
rollups/evm/based/README.md
rollups/evm/single/README.md
rollups/testapp/kv/README.md
Markdown formatting improvements (indentation, heading levels, structure).
specs/lazy-adr/adr-010-exec-api.md
specs/lazy-adr/adr-012-fully-decentralized-based-sequencing.md
specs/lazy-adr/adr-019-forced-inclusion-mechanism.md
Minor formatting changes to diagrams and lists in markdown ADR documents.

Suggested reviewers

  • tuxcanfly
  • Manav-Aggarwal
  • MSevey
  • tzdybal

Poem

🐇
The docs have hopped away today,
No more commands to generate or display.
With scripts and workflows now made neat,
Old dependencies beat a swift retreat.
Markdown pruned and code refined,
The garden’s clean—just as designed!
Hooray for tidy burrows, bright and new—
A rabbit’s work is never through!


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.
    • 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 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.

@RollkitBot RollkitBot requested review from a team, gupadhyaya, tuxcanfly and yarikbratashchuk and removed request for a team April 24, 2025 08:12
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2025

PR Preview Action v1.6.1

🚀 View preview at
https://rollkit.github.io/rollkit/pr-preview/pr-2217/

Built to branch gh-pages at 2025-04-24 08:57 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.65%. Comparing base (281ee25) to head (240cf4e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2217      +/-   ##
==========================================
+ Coverage   40.61%   40.65%   +0.04%     
==========================================
  Files          48       48              
  Lines        4555     4555              
==========================================
+ Hits         1850     1852       +2     
+ Misses       2494     2492       -2     
  Partials      211      211              

☔ 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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2025

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

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedApr 24, 2025, 8:57 AM

Copy link
Copy Markdown
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

🧹 Nitpick comments (1)
rollups/evm/based/README.md (1)

19-21: Ensure consistent code-block indentation.

While the Build and Init blocks are now indented four spaces under their list items, the Start block remains at two spaces. Consider aligning all fenced code blocks at the same indent level (e.g., four spaces) for uniform nesting and rendering.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 281ee25 and 60aef6b.

⛔ Files ignored due to path filters (4)
  • go.sum is excluded by !**/*.sum
  • rollups/evm/based/go.sum is excluded by !**/*.sum
  • rollups/evm/single/go.sum is excluded by !**/*.sum
  • rollups/testapp/go.sum is excluded by !**/*.sum
📒 Files selected for processing (29)
  • .github/workflows/lint.yml (0 hunks)
  • README.md (2 hunks)
  • docs/cmd/testapp.md (0 hunks)
  • docs/cmd/testapp_completion.md (0 hunks)
  • docs/cmd/testapp_completion_bash.md (0 hunks)
  • docs/cmd/testapp_completion_fish.md (0 hunks)
  • docs/cmd/testapp_completion_powershell.md (0 hunks)
  • docs/cmd/testapp_completion_zsh.md (0 hunks)
  • docs/cmd/testapp_docs-gen.md (0 hunks)
  • docs/cmd/testapp_init.md (0 hunks)
  • docs/cmd/testapp_node-info.md (0 hunks)
  • docs/cmd/testapp_start.md (0 hunks)
  • docs/cmd/testapp_unsafe-clean.md (0 hunks)
  • docs/cmd/testapp_version.md (0 hunks)
  • go.mod (0 hunks)
  • pkg/cmd/docs_gen.go (0 hunks)
  • rollups/evm/based/README.md (1 hunks)
  • rollups/evm/based/go.mod (0 hunks)
  • rollups/evm/based/main.go (0 hunks)
  • rollups/evm/single/README.md (1 hunks)
  • rollups/evm/single/go.mod (0 hunks)
  • rollups/evm/single/main.go (0 hunks)
  • rollups/testapp/go.mod (0 hunks)
  • rollups/testapp/kv/README.md (1 hunks)
  • rollups/testapp/main.go (0 hunks)
  • scripts/utils.mk (2 hunks)
  • specs/lazy-adr/adr-010-exec-api.md (1 hunks)
  • specs/lazy-adr/adr-012-fully-decentralized-based-sequencing.md (3 hunks)
  • specs/lazy-adr/adr-019-forced-inclusion-mechanism.md (2 hunks)
💤 Files with no reviewable changes (21)
  • rollups/evm/single/main.go
  • go.mod
  • rollups/testapp/main.go
  • rollups/testapp/go.mod
  • rollups/evm/based/go.mod
  • docs/cmd/testapp_completion.md
  • docs/cmd/testapp_completion_bash.md
  • .github/workflows/lint.yml
  • docs/cmd/testapp_docs-gen.md
  • rollups/evm/single/go.mod
  • docs/cmd/testapp_completion_fish.md
  • docs/cmd/testapp_version.md
  • docs/cmd/testapp_unsafe-clean.md
  • docs/cmd/testapp_completion_powershell.md
  • docs/cmd/testapp.md
  • docs/cmd/testapp_init.md
  • docs/cmd/testapp_start.md
  • pkg/cmd/docs_gen.go
  • docs/cmd/testapp_completion_zsh.md
  • rollups/evm/based/main.go
  • docs/cmd/testapp_node-info.md
⏰ Context from checks skipped due to timeout of 90000ms (5)
  • GitHub Check: rollkit-docker / docker-build (GHCR; ghcr.io/rollkit/rollkit)
  • GitHub Check: Analyze (go)
  • GitHub Check: test / Run Unit Tests
  • GitHub Check: test / Build All Rollkit Binaries
  • GitHub Check: Summary
🔇 Additional comments (13)
specs/lazy-adr/adr-010-exec-api.md (1)

168-168: Clean formatting: removed trailing whitespace

Removing the extraneous blank line with trailing whitespace in the Mermaid sequence diagram improves documentation hygiene and avoids potential rendering inconsistencies. No functional impact.

scripts/utils.mk (1)

18-18: Change ensures proper linting after CLI docs removal

This change removes the ./cmd/rollkit/docs/*.md path from the markdownlint ignore list, which aligns with the PR's objective of removing CLI documentation. Now that the CLI docs are being removed, there's no need to exclude this directory from linting checks.

This ensures any remaining or future markdown files in this location will be properly linted according to the project's standards.

Also applies to: 34-34

specs/lazy-adr/adr-019-forced-inclusion-mechanism.md (2)

192-232: Explicit ASCII code block specifier improves clarity and rendering.

Labeling the first diagram with ascii makes the intended formatting clear to the markdown processor and readers, preventing generic rendering issues.


238-297: Consistent ASCII art block specification.

The second diagram is also explicitly marked as ascii, ensuring both flowcharts are rendered uniformly and as intended.

specs/lazy-adr/adr-012-fully-decentralized-based-sequencing.md (3)

162-163: Consistent bullet formatting in the Rollup Light Clients section

The leading asterisks have been removed and the list now uniformly uses hyphens (-), matching the style of other Markdown lists in this ADR.


180-182: Clean up VerifyBatch use-case list formatting

The VerifyBatch use-cases now consistently use hyphenated bullets without extra leading characters, aligning with the rest of the document’s list style.


186-186: Uniform list style for the Testing bullet

The Testing entry was updated to use a single hyphen bullet, which keeps the list formatting consistent across all VerifyBatch use-cases.

rollups/testapp/kv/README.md (1)

5-5: Heading level update is correct.

Changing the “Server Lifecycle” heading from ### to ## properly elevates it to a top-level section under the main title, improving document structure and readability.

rollups/evm/single/README.md (3)

19-21: Approve: Indented build code block.

Indenting the build instructions by four spaces keeps the fenced block nested under the list item and consistent with other rollup docs.


25-27: Approve: Indented init code block.

The initialization code block is now correctly indented to align with the Build step formatting.


31-38: Approve: Indented start code block.

The start sequencer instructions are consistently indented, matching the Build and Init blocks.

README.md (2)

21-22: Approve: Clarified TestApp description.

Splitting the TestApp description into two lines improves readability and concisely emphasizes its role as a reference CLI implementation.


49-51: Approve: Reflowed “Building with Rollkit” text.

Moving the reference-implementation sentence to its own line enhances the logical flow under “Building with Rollkit” without altering meaning.

@tac0turtle tac0turtle moved this to For Review in Evolve Apr 24, 2025
@tac0turtle tac0turtle added this pull request to the merge queue Apr 24, 2025
Merged via the queue into main with commit 816e34e Apr 24, 2025
26 checks passed
@tac0turtle tac0turtle deleted the marko/markdown branch April 24, 2025 09:52
@github-project-automation github-project-automation Bot moved this from For Review to Done in Evolve Apr 24, 2025
@tac0turtle tac0turtle removed this from Evolve Apr 24, 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