blob: 11a7a1fa989ec5665d612cb9bcaaa6946b8ed5c0 [file] [log] [blame]
Skyler Kaufman991ae4d2011-04-07 12:30:41 -07001# HOW TO BUILD SOURCE.ANDROID.COM #
2
Skyler Kaufman44436912011-04-07 15:11:52 -07003source.android.com contains tutorials, references, and miscellaneous information relating to the Android Open Source Project (AOSP). The current iteration of this site is fully static HTML (notably lacking in javascript and doxygen content), and is and/or was maintained by skyler (illustrious intern under Dan Morrill and assistant to the almighty JBQ).
Skyler Kaufman991ae4d2011-04-07 12:30:41 -07004
5## Short Instructions ##
6
7Run the build script.
8
9 build.py
10
Skyler Kaufman44436912011-04-07 15:11:52 -070011This generates a directory html_out, which is the fully built site. Hoorah.
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070012
Skyler Kaufman44436912011-04-07 15:11:52 -070013The included micro-httpd.py script is helpful for testing the site on your own machine.
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070014
15## Less Short Instructions ##
16
17### Contents Included in Box ###
18
19Necessary source files include:
20
21 site_src/ individual page content in markdown format
22 templates/ templates for page content
23
24and the following content which is copied directly:
25
26 assets/ stylish things that make the page look pretty
27 images/ exactly what it sounds like
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070028
29### Structure of Site Source ###
30
Skyler Kaufman44436912011-04-07 15:11:52 -070031The build script assumes that
32- every .mdml file under the site_src directory is an individual page in markdown format;
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070033- each directory within site_src is a tab of source.android.com and contains its particular sidebar.
Skyler Kaufman44436912011-04-07 15:11:52 -070034 Note, the sidebar in the root of site_src/ itself is present but empty.
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070035
Skyler Kaufman44436912011-04-07 15:11:52 -070036
37
38# HOW TO PUSH SOURCE.ANDROID.COM TO PROD #
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070039
40
41
42# SORDID HISTORY OF SOURCE.ANDROID.COM #
43
Skyler Kaufman44436912011-04-07 15:11:52 -070044Once upon a time, source.android.com used to be a site on Sites.