[Documentation] Add documentation for batch 4 components#339
Merged
djalmaaraujo merged 3 commits intomainfrom Dec 17, 2025
Merged
[Documentation] Add documentation for batch 4 components#339djalmaaraujo merged 3 commits intomainfrom
djalmaaraujo merged 3 commits intomainfrom
Conversation
cirdes
approved these changes
Dec 11, 2025
- Update VisualCodeExample to accept description and src parameters - Add InlineLink, Text, Alert, AlertTitle, AlertDescription helpers - Add route helper stubs (docs_*_path methods) - Add sidebar example constants
Add documentation files for skeleton, switch, table, tabs, textarea, theme_toggle, tooltip, and typography components. Also adds missing stub methods for typography docs (Components.Heading, Components.TypographyList, InlineCode, docs_installation_path).
6063574 to
9e6ce14
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
Continuation of documentation migration from the web repository (#336, #337, #338).
Description
This PR adds documentation files for batch 4 components (8 total):
These documentation files are copied from
web/app/views/docs/and placed inlib/ruby_ui/{component}/{component}_docs.rb. They will be distributed to Rails apps via thebin/rails g ruby_ui:install:docsgenerator.Test plan
Point gem to local source in Gemfile:
Remove existing documentation files for affected components (if any):
Run the docs generator:
Verify all 8 files are created in
app/views/docs/Run test suite:
bundle exec rake