Skip to content

Commit

Permalink
Merge pull request #6296 from aaudiber/docs-without-javadoc
Browse files Browse the repository at this point in the history
[SMALLFIX] Allow docs to build without javadoc
  • Loading branch information
gpang committed Oct 16, 2017
2 parents 2546810 + b92ba3b commit b4eeec6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/_plugins/copy_javadoc_to_docs.rb
Expand Up @@ -10,7 +10,11 @@
puts "Making directory " + dest
mkdir_p dest

puts "cp -r " + source + "/. " + dest
cp_r(source + "/.", dest)
if !File.directory?(source)
puts "WARNING: " + source + " not found, continuing without javadoc"
else
puts "cp -r " + source + "/. " + dest
cp_r(source + "/.", dest)
end

cd("..")

0 comments on commit b4eeec6

Please sign in to comment.