Skip to content

Commit 3904cf8

Browse files
committed
Generate JavaScript API documentation from the deployed node module instead of
from the raw source tree.
1 parent eb0def7 commit 3904cf8

File tree

549 files changed

+2073
-3737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

549 files changed

+2073
-3737
lines changed

Rakefile

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -753,25 +753,12 @@ namespace :docs do
753753
sh "svn propset svn:mime-type text/css #{Dir['docs/api/**/*.css'].join ' '}"
754754
end
755755

756-
task :js do
756+
task :js => [ "//javascript/node:selenium-webdriver" ] do
757757
# First, delete the old docs.
758758
rm_rf "docs/api/javascript"
759759

760-
cmd = "java -jar third_party/java/dossier/dossier-0.2.1.jar"
761-
cmd << " --closure_library third_party/closure/goog"
762-
cmd << " -o docs/api/javascript"
763-
cmd << " -s javascript/atoms"
764-
cmd << " -s javascript/webdriver"
765-
cmd << " -s third_party/js/wgxpath"
766-
cmd << " -x javascript/atoms/test"
767-
cmd << " -x javascript/node" # TODO(jleyba): Include this.
768-
cmd << " -x javascript/webdriver/exports"
769-
cmd << " -x javascript/webdriver/externs"
770-
cmd << " -x javascript/webdriver/test"
771-
cmd << " -x javascript/webdriver/test_e2e"
772-
cmd << " -x third_party/js/wgxpath/test_js_deps.js"
773-
774-
sh cmd
760+
mkdir_p "docs/api/javascript"
761+
cp_r "build/javascript/node/selenium-webdriver/docs/.", "docs/api/javascript"
775762
end
776763
end
777764

docs/api/javascript/class_bot_Device.html

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/api/javascript/class_bot_Device_EventEmitter.html

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/api/javascript/class_bot_Device_ModifiersState.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)