where Markdown-formatted files can be checked in. It's patterned after
.
After the manifest changes land, you should see it show up as a top-level "docs" directory the next time you sync your checkout. If you've had your checkout for a while, repo may give you an error like this:
Sorry about that. :-( We checked out a different repository to the same place in the past, and repo errors out instead of just moving the old repository away. Either running "repo sync --force-sync docs" as instructed or manually moving away your old .repo/projects/docs.git directory should clear it up.
The new repository is pretty empty right now, but I encourage you to help change that! Chromium seems to be in the process of moving away from Google Sites to in-tree Markdown (
I think). Checked-in documentation has some advantages over
dev.chromium.org:
- External contributors can make and upload changes.
- You get to use your preferred text editor instead of fiddling around to convince a WYSIWYG editor to put text inside/outside of the preceding link/bold/italic span.
- You can upload proposed changes for someone else to review (although as with Chromium's docs, feel free to TBR uncontroversial changes).
- You can check in documentation alongside your code.
- All documentation is formatted identically (no more weirdo docs using 11-point dark blue Verdana).
I've linked to Chromium's
documentation guidelines and
best practices in the top-level README.md file. Chromium OS's situation is a bit different since we have a zillion repositories instead of one main one. If your code is self-contained, I think it's reasonable to have documentation live alongside it (perhaps in your own docs/ subdirectory). I envision the new top-level repository as being most useful for more-widely-applicable docs -- think best practices or build instructions, for example. I'd like to know what others think, though.