Sha256: 587167f3f192461f04169adf0afe6898c27ce7f78608b026376d26cb2aea09ad
Contents?: true
Size: 1.41 KB
Versions: 3
Compression:
Stored size: 1.41 KB
Contents
#!/usr/local/ruby-current/bin/ruby # Copyright:: Copyright (c) 2014 eGlobalTech, Inc., all rights reserved # # Licensed under the BSD-3 license (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License in the root of the project or at # # http://egt-labs.com/mu/LICENSE.html # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. if ARGV.size > 0 puts "#{$0}: Freshen the Mu Master's API and configuration documentation" exit 1 end require 'rubygems' require 'bundler/setup' require 'json' require 'erb' require 'optimist' require 'json-schema' require File.realpath(File.expand_path(File.dirname(__FILE__)+"/mu-load-config.rb")) require 'mu' require 'yard' bindir = File.dirname(Gem.ruby) MU::Config.emitSchemaAsRuby MU.log "Generating YARD documentation in /var/www/html/docs (see http://#{$MU_CFG['public_address']}/docs/frames.html)" File.umask(0022) exec "cd #{MU.myRoot} && umask 0022 && env -i PATH=#{ENV['PATH']} HOME=#{ENV['HOME']} #{bindir}/yard doc modules -m markdown -o /var/www/html/docs && chcon -R -h -t httpd_sys_script_exec_t /var/www/html/ ; #{bindir}/yard stats --list-undoc modules"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cloud-mu-2.0.0.pre.alpha9 | bin/mu-gen-docs |
cloud-mu-2.0.0.pre.alpha8 | bin/mu-gen-docs |
cloud-mu-2.0.0.pre.alpha7 | bin/mu-gen-docs |