Skip to content

Commit 67c6c5e

Browse files
committed
Move markup_reference.rb into misc directory
The purpose of this change is to leave `doc` directory for RDoc so that `bundle exec rdoc` inside this repository will work.
1 parent 554e0f5 commit 67c6c5e

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
/lib/rdoc/markdown/literals.rb
1515
/pkg
1616
/tmp
17+
/doc
1718
Gemfile.lock

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RDoc::Task.new do |doc|
2424
doc.main = 'README.rdoc'
2525
doc.title = "rdoc #{RDoc::VERSION} Documentation"
2626
doc.rdoc_dir = '_site' # for github pages
27-
doc.rdoc_files = FileList.new %w[lib/**/*.rb *.rdoc doc/rdoc/markup_reference.rb] - PARSER_FILES
27+
doc.rdoc_files = FileList.new %w[lib/**/*.rb *.rdoc misc/markup_reference.rb] - PARSER_FILES
2828
end
2929

3030
task "coverage" do

bin/console

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require 'bundler/setup'
44
require 'rdoc'
55

66
# This is the easy way to prepare various kinds of RDoc objects.
7-
require_relative '../doc/rdoc/markup_reference'
7+
require_relative '../misc/markup_reference'
88

99
require 'irb'
1010
IRB.start(__FILE__)
File renamed without changes.

0 commit comments

Comments
 (0)