Skip to content

Commit

Permalink
Move markup_reference.rb into misc directory
Browse files Browse the repository at this point in the history
The purpose of this change is to leave `doc` directory for RDoc
so that `bundle exec rdoc` inside this repository will work.
  • Loading branch information
okuramasafumi committed Jul 9, 2024
1 parent 554e0f5 commit 67c6c5e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
/lib/rdoc/markdown/literals.rb
/pkg
/tmp
/doc
Gemfile.lock
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RDoc::Task.new do |doc|
doc.main = 'README.rdoc'
doc.title = "rdoc #{RDoc::VERSION} Documentation"
doc.rdoc_dir = '_site' # for github pages
doc.rdoc_files = FileList.new %w[lib/**/*.rb *.rdoc doc/rdoc/markup_reference.rb] - PARSER_FILES
doc.rdoc_files = FileList.new %w[lib/**/*.rb *.rdoc misc/markup_reference.rb] - PARSER_FILES
end

task "coverage" do
Expand Down
2 changes: 1 addition & 1 deletion bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require 'bundler/setup'
require 'rdoc'

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

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

0 comments on commit 67c6c5e

Please sign in to comment.