Skip to content

Generate Rails 5.2.5 doc #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 17, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Exclude js and panel directory
  • Loading branch information
toshimaru committed Apr 17, 2021
commit 7d9331e73a228b16bcab2f3aecae7f2df944bdd7
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ task :build do
end
end

cp_r Dir.glob('rails/doc/rdoc/*'), 'src/'
copy_sources = Dir.glob('rails/doc/rdoc/*').reject { |path| path.end_with?("panel", "js", "created.rid") }
cp_r copy_sources, 'src/'

cd 'src' do
cp 'files/railties/RDOC_MAIN_rdoc.html', 'index.html'
Expand Down