Skip to content

Commit

Permalink
Avoid generating documentation pages for internal components
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Dec 13, 2024
1 parent 7f851b5 commit da518ee
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
6 changes: 5 additions & 1 deletion .document
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
LICENSE.txt
README.md
EXTEND_IRB.md
COMPARED_WITH_PRY.md
doc/irb/indexes.md
lib/**/*.rb
lib/irb.rb
lib/irb/context.rb
lib/irb/command/base.rb
2 changes: 0 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ task :default => :test

RDoc::Task.new do |rdoc|
rdoc.title = "IRB"
rdoc.rdoc_files.include("*.md", "lib/**/*.rb")
rdoc.rdoc_files.exclude("lib/irb/xmp.rb")
rdoc.rdoc_dir = "docs"
rdoc.main = "README.md"
rdoc.options.push("--copy-files", "LICENSE.txt")
Expand Down
2 changes: 1 addition & 1 deletion lib/irb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@
module IRB

# An exception raised by IRB.irb_abort
class Abort < Exception;end
class Abort < Exception;end # :nodoc:

class << self
# The current IRB::Context of the session, see IRB.conf
Expand Down
10 changes: 3 additions & 7 deletions lib/irb/command/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
#

module IRB
# :stopdoc:

module Command
class CommandArgumentError < StandardError; end
class CommandArgumentError < StandardError; end # :nodoc:

class << self
def extract_ruby_args(*args, **kwargs)
def extract_ruby_args(*args, **kwargs) # :nodoc:
throw :EXTRACT_RUBY_ARGS, [args, kwargs]
end
end
Expand Down Expand Up @@ -57,8 +55,6 @@ def execute(arg)
end
end

Nop = Base
Nop = Base # :nodoc:
end

# :startdoc:
end

0 comments on commit da518ee

Please sign in to comment.