Skip to content

Commit f57025a

Browse files
authored
Avoid generating documentation pages for internal components (#1047)
1 parent 7f851b5 commit f57025a

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.document

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
LICENSE.txt
22
README.md
3+
EXTEND_IRB.md
4+
COMPARED_WITH_PRY.md
35
doc/irb/indexes.md
4-
lib/**/*.rb
6+
lib/irb.rb
7+
lib/irb/context.rb
8+
lib/irb/command/base.rb

Rakefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ task :default => :test
4646

4747
RDoc::Task.new do |rdoc|
4848
rdoc.title = "IRB"
49-
rdoc.rdoc_files.include("*.md", "lib/**/*.rb")
50-
rdoc.rdoc_files.exclude("lib/irb/xmp.rb")
5149
rdoc.rdoc_dir = "docs"
5250
rdoc.main = "README.md"
5351
rdoc.options.push("--copy-files", "LICENSE.txt")

lib/irb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@
879879
module IRB
880880

881881
# An exception raised by IRB.irb_abort
882-
class Abort < Exception;end
882+
class Abort < Exception;end # :nodoc:
883883

884884
class << self
885885
# The current IRB::Context of the session, see IRB.conf

lib/irb/command/base.rb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
#
66

77
module IRB
8-
# :stopdoc:
9-
108
module Command
11-
class CommandArgumentError < StandardError; end
9+
class CommandArgumentError < StandardError; end # :nodoc:
1210

1311
class << self
14-
def extract_ruby_args(*args, **kwargs)
12+
def extract_ruby_args(*args, **kwargs) # :nodoc:
1513
throw :EXTRACT_RUBY_ARGS, [args, kwargs]
1614
end
1715
end
@@ -57,8 +55,6 @@ def execute(arg)
5755
end
5856
end
5957

60-
Nop = Base
58+
Nop = Base # :nodoc:
6159
end
62-
63-
# :startdoc:
6460
end

0 commit comments

Comments
 (0)