• Home
Name Date Size #Lines LOC

..--

en/03-May-2024-186,995166,251

ja/security/03-May-2024-37,89535,731

ko/security/03-May-2024-43,10840,853

ru/security/03-May-2024-40,20238,024

zh-cn/03-May-2024-51,96145,938

zh-tw/security/03-May-2024-38,14435,980

README.txtD03-May-20241.9 KiB5336

README.txt

1# HOW TO UPDATE SOURCE.ANDROID.COM #
2
3Googlers, please see: go/sac-guide
4
5The source.android.com site contains tutorials, references, and other
6information related to the Android Open Source Project (AOSP). To report an
7issue with the documentation on source.android.com, please file a bug at:
8https://issuetracker.google.com/issues/new?component=191476
9
10To make updates to the source files themselves, follow the instructions below.
11
12### File Location ###
13
14The source.android.com source files are stored in the platform/docs/source.android.com/
15Android project:
16https://android.googlesource.com/platform/docs/source.android.com/
17
18The files to be edited are located in: <projroot>/docs/source.android.com/<language-code>/
19
20Subdirectories exist for the tabs of source.android.com with their structure
21roughly (but not identically) mirroring navigation of the site. For exceptions,
22the contents of the Porting tab can be found in the devices/ subdirectory,
23while the contents of the Tuning tab reside in the devices/tech subdirectory.
24(This is temporary while navigational changes are underway.)
25
26## Edit Instructions ##
27
281. Initialize and sync the repository and download the Android source per:
29https://source.android.com/source/downloading.html
30
312. Navigate to the docs/source.android.com project.
32
333. Start a temporary branch for your changes with a command resembling:
34$ repo start <topic-branch-name> .
35
36See the Repo command reference for more details:
37http://source.android.com/source/using-repo.html#start
38
394. Add or edit the file(s) and save your changes:
40$ git add <file>
41$ git commit
42$ repo upload .
43
445. Iteratively improve the change and amend the commit:
45$ git commit -a --amend
46$ repo upload .
47
486. Once satisfied, include the changelist in a bug filed at:
49https://issuetracker.google.com/issues/new?component=191476
50
51Your change will be routed to the source.android.com team for evaluation and
52inclusion.
53