Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Doc Generation Improvements
  • Loading branch information
awood45 committed Apr 22, 2016
1 parent f8f9eb6 commit 1b3cb4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .yardopts
@@ -0,0 +1,2 @@
--plugin sitemap
--hide-api private
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -15,6 +15,7 @@ end

group :docs do
gem 'yard'
gem 'yard-sitemap', '~> 1.0'
end

group :release do
Expand Down
5 changes: 4 additions & 1 deletion tasks/docs.rake
Expand Up @@ -25,5 +25,8 @@ end

desc 'Generate doc files.'
task 'docs' => 'docs:clobber' do
sh({'SOURCE' => '1'}, 'bundle exec yard')
env = {}
env['SOURCE'] = '1'
env['SITEMAP_BASEURL'] = 'http://docs.aws.amazon.com/awssdkrubyrecord/api/'
sh(env, 'bundle exec yard')
end

0 comments on commit 1b3cb4e

Please sign in to comment.