GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — selenium/generate_api_docs.sh at master · endForYou/selenium

Expand file tree

/

generate_api_docs.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
39 lines (28 loc) · 697 Bytes
/

generate_api_docs.sh

Copy path

File metadata and controls

executable file
·
39 lines (28 loc) · 697 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Java
./go javadocs || exit
# Python
./go py_docs || exit
# Ruby
./go //rb:docs || exit
# switch to gh-pages and copy the files
git checkout gh-pages || exit
rm -rf docs/api/java docs/api/py docs/api/rb
mv build/javadoc docs/api/java
mv build/docs/api/py docs/api/py
mv build/docs/api/rb docs/api/rb
git add -A docs/api
read -p "Do you want to commit the chages? (Y/n):" changes </dev/tty
if [ -z $changes ]; then
changes=Y
fi
case "$changes" in
Y|y) echo "";;
N|n) exit;;
*) exit;;
esac
echo "Commiting changes"
git commit -am "updating javadoc and py docs"
echo "pushing to origin gh-pages"
git push origin gh-pages
echo "switching back to master branch"
git checkout master
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.