Skip to content

Commit

Permalink
Fixed up Javadoc and added script for uploading to server.
Browse files Browse the repository at this point in the history
  • Loading branch information
Colby Skeggs committed May 13, 2015
1 parent 8876f53 commit b21ebaf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ public InstinctModeModule getActiveMode() {
* mode.
*
* If showIndividualModes is true, then each mode registered so far will get
* its own "Autonomous Mode: <mode>" button that will switch to that mode.
* its own "Autonomous Mode: &lt;mode&gt;" button that will switch to that
* mode.
*
* If showCycleChooser is true, then "Autonomous Mode Next" and
* "Autonomous Mode Previous" will be published, which will cycle through
Expand Down
2 changes: 2 additions & 0 deletions CommonChickenRuntimeEngine/src/ccre/util/CArrayUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public int lastIndexOf(Object o) {
* running Arrays.sort on it, and then putting the elements back into the
* list.
*
* @param <T> the type of the list elements.
* @param list the list to sort.
*/
@SuppressWarnings("unchecked")
Expand All @@ -188,6 +189,7 @@ public static <T extends Comparable<T>> void sort(CList<T> list) {
/**
* Sorts the given array. Equivalent to Arrays.sort.
*
* @param <T> the type of the array elements.
* @param list the array to sort.
*/
public static <T extends Comparable<T>> void sort(T[] list) {
Expand Down
9 changes: 9 additions & 0 deletions update-javadoc-site.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
set -e
cd `dirname $0`
echo "Tarring..."
(cd Javadoc && tar -czf ../javadoc.tgz .)
echo "Uploading..."
scp -r javadoc.tgz cgscomwww.catlin.edu:ccre-doc.tgz
echo "Updating..."
ssh cgscomwww.catlin.edu 'rm -r ccre-doc && mkdir ccre-doc && cd ccre-doc && tar -xzf ../ccre-doc.tgz && chmod -R 0755 .'
echo "Done!"

0 comments on commit b21ebaf

Please sign in to comment.