Cleaning up source.android.com files.

This change fixes some formatting artifacts that resulted from the export from
Sites, and also updates links to no longer point to Sites and use the standard
{@docRoot} idiom. Also contains a few content updates, and introduces a page
about branch management.
diff --git a/pdk/docs/porting/bluetooth.jd b/pdk/docs/porting/bluetooth.jd
index e974982..ceb8683 100755
--- a/pdk/docs/porting/bluetooth.jd
+++ b/pdk/docs/porting/bluetooth.jd
@@ -170,7 +170,7 @@
 
 <p><strong>Development Notes</strong></p>
 <ul>
-  <li><strong>HID Support<br />
+  <li><strong>HID Support <br />
   </strong>Cupcake features some early work&#151;Bluez has an HID plugin, <code>external/bluez/utils/input/Android.mk</code>, which gets compiled. <br />
     <br />
 You can interact directly with this plugin using <code>dbus-send</code></span> and <code>dbus-monitor</code>. While not officially supported, you should be able to connect and use a HID keyboard and mouse using the Bluez HID plugin API. Next steps include plumbing the plugin API in the Android Java framework and offering better support for HID input methods (new keymaps and mouse support).<br />
diff --git a/pdk/docs/porting/bluetooth/bluetooth_process.jd b/pdk/docs/porting/bluetooth/bluetooth_process.jd
index ea46f23..00ec0da 100755
--- a/pdk/docs/porting/bluetooth/bluetooth_process.jd
+++ b/pdk/docs/porting/bluetooth/bluetooth_process.jd
@@ -1,6 +1,6 @@
 page.title=Bluetooth Process Diagram
 pdk.version=1.0
-doc.type=guide
+doc.type=porting
 @jd:body
 
 <p>The diagram below offers a process-oriented architectural overview of Android's Bluetooth stack. Click <a href="../bluetooth.html">Bluetooth</a> to return to the Bluetooth overview page.</p>
diff --git a/pdk/docs/porting/bring_up.jd b/pdk/docs/porting/bring_up.jd
index 022c185..1d04b86 100755
--- a/pdk/docs/porting/bring_up.jd
+++ b/pdk/docs/porting/bring_up.jd
@@ -264,7 +264,7 @@
     </tr>
   </table>
   <p>    Properties</p>
-    Init updates some system properties to provide some insight into<br />
+    Init updates some system properties to provide some insight into <br />
     what it's doing:</p>
   <table>
     <tr>
diff --git a/pdk/docs/porting/build_system.jd b/pdk/docs/porting/build_system.jd
index e5811bd..686fba0 100755
--- a/pdk/docs/porting/build_system.jd
+++ b/pdk/docs/porting/build_system.jd
@@ -211,7 +211,7 @@
 <table border=1> 
 <tr> 
     <td> 
-        <code>eng<code> 
+        <code>eng <code> 
     </td> 
     <td> 
         This is the default flavor. A plain <code>make</code> is the
@@ -230,7 +230,7 @@
 </tr> 
 <tr> 
     <td> 
-        <code>user<code> 
+        <code>user <code> 
     </td> 
     <td> 
         <code>make user</code>
@@ -248,7 +248,7 @@
 </tr> 
 <tr> 
     <td> 
-        <code>userdebug<code> 
+        <code>userdebug <code> 
     </td> 
     <td> 
         <code>make userdebug</code>
diff --git a/pdk/docs/porting/index.jd b/pdk/docs/porting/index.jd
index 9d23fbe..76609d2 100644
--- a/pdk/docs/porting/index.jd
+++ b/pdk/docs/porting/index.jd
@@ -21,7 +21,7 @@
 <p>If you are new to Android, start with the platform documentation on the following sites:
 <ul>
 <li><a href="http://developer.android.com">Android Developers site</a>:  This site offers high-level platform documentation and architecture concepts.</li>
-<li><a href="http://source.android.com">Android Open Source Project site</a>:  This site provides instructions on how to get the source code, establish a development environment, and perform a simple build.</li>
+<li><a href="{@docRoot}">Android Open Source Project site</a>:  This site provides instructions on how to get the source code, establish a development environment, and perform a simple build.</li>
 </ul>
 
 <p>When you are ready to start customizing the platform or porting to your target hardware, start in this guide with the <a href="build_system.html">Build System overview</a>.</p>
diff --git a/pdk/docs/porting/power_management.jd b/pdk/docs/porting/power_management.jd
index 542459d..28f9519 100755
--- a/pdk/docs/porting/power_management.jd
+++ b/pdk/docs/porting/power_management.jd
@@ -103,7 +103,7 @@
         <th scope="col">Description</th>
     </tr>
     <tr>
-      <td>ACQUIRE_CAUSES_WAKEUP<br/></td>
+      <td>ACQUIRE_CAUSES_WAKEUP <br/></td>
         <td>Normally wake locks don't actually wake the device, they just cause it to remain on once it's already on. Think of the video player app as the normal behavior. Notifications that pop up and want the device to be on are the exception; use this flag to be like them.</td>
     </tr>
     <tr>