diff --git a/Rakefile b/Rakefile index e1f544467476a17011978c82f753641591a43901..9a5cbccd180fad806066fcdc0aded272e41c5c88 100644 --- a/Rakefile +++ b/Rakefile @@ -58,6 +58,7 @@ desc "Run JSDuck on ExtJS SDK" task :sdk do load_sdk_vars run_jsduck([ + "--extjs-path", "extjs/ext-debug.js", # to create symbolic links to template files instead of copying them over. # Useful for development. Turn off for deployment. "--template-links", @@ -74,7 +75,6 @@ def run_jsduck_export(extra_options, ext_dir) run_jsduck([ "--title", "Ext JS 4.0.2a API Documentation", "--footer", "ExtJS 4.0.2a Documentation from Sencha. Generated with JSDuck revison #{rev}", - "--extjs-path", "extjs/ext-all.js", "#{SDK_DIR}/extjs/src", "#{SDK_DIR}/platform/src", "#{SDK_DIR}/platform/core/src", diff --git a/bin/jsduck b/bin/jsduck index d091c38573db4ee489bab0b006abf924a9ca9693..fdbb5b6e1c76182268e91f864a0d47192c580765 100755 --- a/bin/jsduck +++ b/bin/jsduck @@ -40,7 +40,7 @@ opts = OptionParser.new do | opts | opts.on('--extjs-path=PATH', "Path for main ExtJS JavaScript file. Useful for specifying", - "something different than extjs/ext-all-debug.js", " ") do |path| + "something different than extjs/ext-all.js", " ") do |path| app.extjs_path = path end diff --git a/lib/jsduck/app.rb b/lib/jsduck/app.rb index 71744dca2e004fde3a3d9130831fc22ea7def0fd..d70e48541002fbe9d56755303071fa6c25554dcb 100644 --- a/lib/jsduck/app.rb +++ b/lib/jsduck/app.rb @@ -59,7 +59,7 @@ module JsDuck @show_private_classes = false @title = "Ext JS API Documentation" @footer = 'Generated with JSDuck.' - @extjs_path = "extjs/ext-debug.js" + @extjs_path = "extjs/ext-all.js" @append_html = "" @timer = Timer.new @parallel = ParallelWrap.new