Skip to content

Commit 18a5bbd

Browse files
authored
Fix bad chars in PDF format (#355)
* replace arrow characters with -> and add alt text for screenshots. * fix GP line registered marks, make it fit on one line.
1 parent 6096eaf commit 18a5bbd

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

docs/source/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@
157157
\includegraphics[scale=0.75]{Latex_Footer_FTC.png}
158158
}}
159159
\fancyfoot[RE]{\py@HeaderFamily \py@release \hspace{4mm} \today}
160-
\fancyfoot[LO]{\py@HeaderFamily \textbf{Gracious Professionalism®} -
161-
\textcolor[rgb]{.96, .49, .15}{“Doing your best work while treating others with respect and kindness - It’s what makes FIRST, first.”}
160+
\fancyfoot[LO]{\py@HeaderFamily \textbf{Gracious Professionalism\textsuperscript{®}} -
161+
\textcolor[rgb]{.96, .49, .15}{\small{“Doing your best work while treating others with respect and kindness - It’s what makes FIRST\textsuperscript{®}, first.”}}
162162
}
163163
164164
% Single-line header layout
@@ -176,8 +176,8 @@
176176
\includegraphics[scale=0.75]{Latex_Footer_FTC.png}
177177
}}
178178
\fancyfoot[RE]{\py@HeaderFamily \py@release \hspace{4mm} \today}
179-
\fancyfoot[LO]{\py@HeaderFamily \textbf{Gracious Professionalism®} -
180-
\textcolor[rgb]{.96, .49, .15}{“Doing your best work while treating others with respect and kindness - It’s what makes FIRST, first.”}
179+
\fancyfoot[LO]{\py@HeaderFamily \textbf{Gracious Professionalism\textsuperscript{®}} -
180+
\textcolor[rgb]{.96, .49, .15}{\small{“Doing your best work while treating others with respect and kindness - It’s what makes FIRST\textsuperscript{®}, first.”}}
181181
}
182182
183183
% Ensure same header format for plain pages

docs/source/programming_resources/tutorial_specific/android_studio/installing_android_studio/Installing-Android-Studio.rst

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,23 @@ download process.
5454

5555
.. image:: images/DownloadAndroidStudio.jpg
5656
:align: center
57+
:alt: Screenshot of the Android Studio web page
5758

5859
|
5960
6061
Accept the license terms and then push the blue "DOWNLOAD ANDROID
6162
STUDIO" button on the Android Developer webpage to download the
6263
software.
6364

65+
Once the setup package has downloaded, launch the application and follow
66+
the on-screen instructions to install Android Studio.
67+
6468
.. image:: images/AndroidStudioWelcomeSetup.jpg
6569
:align: center
70+
:alt: Android Studio Setup screen
6671

6772
|
6873
69-
Once the setup package has downloaded, launch the application and follow
70-
the on-screen instructions to install Android Studio.
71-
72-
7374
Configuring Android Studio (Ladybug and later)
7475
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7576

@@ -88,7 +89,7 @@ Configuring Android Studio (Ladybug and later)
8889
#. `Install JDK 17 <https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html>`__
8990
If you did not already have this installed independently of Android Studio.
9091
e.g. If you were using Android Studio’s bundled JDK, then when Ladybug is installed Android Studio
91-
will unhelpfully overwrite your old bundled JDK version. Note there’s a bug in the Settings Build Tools Gradle dialog
92+
will unhelpfully overwrite your old bundled JDK version. Note there’s a bug in the Settings -> Build Tools -> Gradle dialog
9293
that may make you think your old version of the JDK is there, but it is not. You must use an unbundled version of the JDK.
9394

9495
#. Go to File -> Settings and under Build, Execution, Deployment -> Build Tools -> Gradle use the Add JDK from disk option
@@ -99,6 +100,7 @@ Configuring Android Studio (Ladybug and later)
99100

100101
.. image:: images/AndroidStudioSelectJdk.png
101102
:align: center
103+
:alt: Gradle setting screenshot
102104

103105
|
104106
@@ -111,27 +113,30 @@ error and recommend that you upgrade Gradle.
111113

112114
.. image:: images/AndroidStudioUpgradeGradle.png
113115
:align: center
116+
:alt: Screenshot showing Gradle upgrade messages.
114117

115118
|
116119
117-
Do not do this. The FtcRobotController build is incompatible with upgraded Gradle. If you do, you
120+
Do not upgrade Gradle. The FtcRobotController build is incompatible with upgraded Gradle. If you do, you
118121
will presented with another, even more, indecipherable error.
119122

120123
To recover, you need to rollback the changes that Android Studio made upon that click.
121124
To do that select Git -> Uncommitted Changes -> Show Shelf
122125

123126
.. image:: images/AndroidStudioRecoverUpgrade.png
124127
:align: center
128+
:alt: Screenshot showing the Show Shelf messages.
125129

126130
|
127131
128-
That will show the changes you have in your workspace. You want to rollback the 4 gradle files shown in the
132+
That will show the changes you have in your workspace. You want to rollback the 4 Gradle files shown in the
129133
following image. You can either select the Changes checkbox to select all files, or individually select the
130-
gradle files. Note that if you have changes in your workspace that haven’t been committed, you want to be
134+
Gradle files. Note that if you have changes in your workspace that haven’t been committed, you want to be
131135
careful not to select those files or you may lose work.
132136

133137
.. image:: images/AndroidStudioRollback.png
134138
:align: center
139+
:alt: Screenshot showing the four files to be rolled back.
135140

136141
|
137142

0 commit comments

Comments
 (0)