Docs: Add figure captions to images
Bug: 18334770
Change-Id: I4ed95bb638b6502129d59c099de9a0cd8b16ccb4
diff --git a/src/source/code-lines.jd b/src/source/code-lines.jd
index f277019..2e82e7b 100644
--- a/src/source/code-lines.jd
+++ b/src/source/code-lines.jd
@@ -71,10 +71,10 @@
</p>
</li>
</ol>
-<p>
- <img src="{@docRoot}images/code-lines.png" alt="code-line diagram">
+ <img src="{@docRoot}images/code-lines.png" alt="code-line diagram" id="figure1" >
+<p class="img-caption">
+ <strong>Figure 1.</strong> AOSP code and releases
</p>
-
<h2 id="terms-and-caveats">
Terms and Caveats
</h2>
diff --git a/src/source/developing.jd b/src/source/developing.jd
index e6a97b5..0bbafe2 100644
--- a/src/source/developing.jd
+++ b/src/source/developing.jd
@@ -41,6 +41,12 @@
<div style="float:right">
<img src="{@docRoot}images/submit-patches-0.png" alt="basic workflow diagram">
</div>
+<div class="figure" style="width:200px">
+ <img src="{@docRoot}images/submit-patches-0.png" alt="basic workflow diagram" height="153px" />
+ <p class="img-caption">
+ <strong>Figure 1.</strong> Basic Android workflow
+ </p>
+</div>
<p>The basic pattern of interacting with the repositories is as follows:</p>
<ol>
@@ -157,4 +163,7 @@
</code></pre>
<p>Deleting a client will <em>permanently delete</em> any changes you have not yet uploaded for review.</p>
<h2 id="git-and-repo-cheatsheet">Git and Repo cheatsheet</h2>
-<p><img src="{@docRoot}images/git-repo-1.png" alt="list of basic git and repo commands"></p>
+<img src="{@docRoot}images/git-repo-1.png" alt="list of basic git and repo commands" id="figure2" />
+<p class="img-caption">
+ <strong>Figure 2.</strong> Basic git and repo commands
+</p>
diff --git a/src/source/life-of-a-patch.jd b/src/source/life-of-a-patch.jd
index b0c821c..c16e63f 100644
--- a/src/source/life-of-a-patch.jd
+++ b/src/source/life-of-a-patch.jd
@@ -23,4 +23,7 @@
the steps below are performed in the web application.</p>
<p>For full instructions on how to get set up to use gerrit and git, please
see the <a href="submit-patches.html">Submitting Patches</a> page.</p>
-<p><img src="{@docRoot}images/workflow-0.png" alt="workflow diagram"/></p>
+<img src="{@docRoot}images/workflow-0.png" alt="workflow diagram" id="figure1" />
+<p class="img-caption">
+ <strong>Figure 1.</strong> Patch workflow
+</p>