Skip to content

Fix erb linting errors and remove unnecessary code#1449

Merged
st0012 merged 2 commits intomasterfrom
fix-linting-error
Nov 14, 2025
Merged

Fix erb linting errors and remove unnecessary code#1449
st0012 merged 2 commits intomasterfrom
fix-linting-error

Conversation

@st0012
Copy link
Copy Markdown
Member

@st0012 st0012 commented Nov 14, 2025

No description provided.

@matzbot
Copy link
Copy Markdown
Collaborator

matzbot commented Nov 14, 2025

🚀 Preview deployment available at: https://62315322.rdoc-6cd.pages.dev (commit: 814fac2)

<%- else %>
<meta name="description" content="Documentation for <%= h @title %>">
<%- end %>
<% description = @main_page ? "#{@title}: #{excerpt(@main_page.comment)}" : "Documentation for #{@title}" %>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@main_page is already computed in the generate_index method.

@st0012 st0012 changed the title Fix erb linting errors and remove unused code Fix erb linting errors and remove unnecessary code Nov 14, 2025
Copy link
Copy Markdown
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

Comment thread lib/rdoc/generator/template/darkfish/table_of_contents.rhtml Outdated
Co-authored-by: Sutou Kouhei <kou@clear-code.com>
@st0012 st0012 merged commit 16c498c into master Nov 14, 2025
60 of 62 checks passed
@st0012 st0012 deleted the fix-linting-error branch November 14, 2025 03:35
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.

3 participants