diff --git a/docs/source/programming_resources/android_studio_java/config/config.rst b/docs/source/programming_resources/android_studio_java/config/config.rst index 6ebbaaf7..d6f22abf 100644 --- a/docs/source/programming_resources/android_studio_java/config/config.rst +++ b/docs/source/programming_resources/android_studio_java/config/config.rst @@ -1,9 +1,11 @@ Configuring your Hardware :bdg-success:`AS` =========================================== +testing to see if my changes are showing UP .. toctree:: :maxdepth: 1 ../../shared/configuring_android/Configuring-Your-Android-Devices /hardware_and_software_configuration/connecting_devices/index - /hardware_and_software_configuration/configuring/index \ No newline at end of file + /hardware_and_software_configuration/configuring/index + ../configuration_as_code/configuration_as_code \ No newline at end of file diff --git a/docs/source/programming_resources/android_studio_java/configuration_as_code/configuration_as_code.rst b/docs/source/programming_resources/android_studio_java/configuration_as_code/configuration_as_code.rst new file mode 100644 index 00000000..a6edcd79 --- /dev/null +++ b/docs/source/programming_resources/android_studio_java/configuration_as_code/configuration_as_code.rst @@ -0,0 +1,12 @@ +Version controlling robot configuration +==================================== +After you have created a robot configuration, you can put it in your code so +that it can be version controlled. + +Saving the Configuration Information Instructions +------------------------------------------------- +1. Go to the root of your Android Studio Project +2. cd TeamCode/src/main/res/xml +3. adb pull /sdcard/FIRST/.xml +4. The next time you build your code, this will be installed as a read only config +5. To not have two with the same name, you can adb shell rm /sdcard/FIRST/.xml \ No newline at end of file