Skip to content

Remove deprecated CLI options and directives#1616

Merged
st0012 merged 3 commits intomasterfrom
remove-deprecated-stuff
Feb 19, 2026
Merged

Remove deprecated CLI options and directives#1616
st0012 merged 3 commits intomasterfrom
remove-deprecated-stuff

Conversation

@st0012
Copy link
Member

@st0012 st0012 commented Feb 19, 2026

Summary

  • Remove the DEPRECATED options hash and related parsing logic (--accessor, --diagram, --inline-source, etc.)
  • Remove the -d/--diagram special option block
  • Remove RDoc::Task#inline_source and #inline_source=
  • Remove :main: and :title: directives (alternatives: --main/--title CLI options, RDoc::Task attributes, .rdoc_options)
  • Update stale comment in RDoc::Parser::C#look_for_directives_in

Remove the DEPRECATED options hash (--accessor, --diagram,
--inline-source, etc.), the -d/--diagram special option block,
the deprecated-option rescue/retry/warning logic, the deprecated
options section in --help output, stylesheet_url from the SPECIAL
array, and the RDoc::Task#inline_source accessors.

These have been deprecated since RDoc 4+ and users have had
ample notice.
These directives have been deprecated since RDoc 6. The same
functionality is available via --main/--title CLI options,
RDoc::Task attributes, and .rdoc_options.
The :main: and :title: directives have been removed, so update
the doc example and remove the deprecation note.
@matzbot
Copy link
Collaborator

matzbot commented Feb 19, 2026

🚀 Preview deployment available at: https://5aef2292.rdoc-6cd.pages.dev (commit: 3f28b30)

@st0012 st0012 merged commit 5214a30 into master Feb 19, 2026
68 checks passed
@st0012 st0012 deleted the remove-deprecated-stuff branch February 19, 2026 18:59
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

Comments