The problem:
code.google.com is being shut down (or, at least, set to read-only).
Chromium (https://code.google.com/p/chromium/w/list) as well as many related projects have documentation that lives on the wiki (this covers the main chromium project to start).
There are 136 documents that need to find a new home.
A lot of the information is out of date or no longer relevant.
Changes to the documentation are not audited or reviewed.
The goal is to start simple and allow for changes to be made without much friction down the road.
We will replace the wiki with a smaller, more focused set of documentation written in Markdown that lives within the source. Markdown has become the standard for hosted SCM (GitHub, BitBucket, etc.), a very simple syntax, and a wide variety of tooling built for it. Examples of this already happening are within the gyp and gn subprojects (https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/).
The goal is to have a much smaller subset of high-quality content checked in so that it’s much easier to manage.
We will use the findings during this process to determine how to approach improving the documentation on the Sites page (dev.chromium.org) as well as migrating the wiki content of other projects.
Implementation Details:
A set of guidelines and best practices will be released to ensure quality and consistency across the documentation. They will live in src/docs.
A tool to render pages in your local checkout that mirrors Gitiles will be released to ease the editor workflow.
For the sake of initial simplicity, a top-level src/docs/ directory will contain all Markdown documentation files. Documentation for chromium can only live in src/docs/. Standalone tools like gn get their own docs/ directories. After the migration, this restriction will most likely get relaxed. The only exception is that any directory in the source can contain a README.md file that describes the contents of that directory. Knowing what to put in a readme vs docs/ will be covered in the best-practice documents described above.
Migration
Placeholder wiki pages (“this page has moved to <foo>”) will not be migrated.
All wiki pages will be converted to Markdown using (https://code.google.com/p/support-tools/wiki/WikiToMarkdownTool), renamed to be underscore_case to be in line with Chromium style (links to pages will be fixed as well), limited to 80 cols, and submitted for review to be added to src/docs/.
This thread will be updated with review.
Community members will have the opportunity to
Obsolete the page and commenting on the review saying it should be deleted.
Suggesting changes within the review.
A timeline of a two business days will be given before the change is landed.
Once the content on the wiki has been migrated, a single page will remain indicating that it has moved to the source.
Any new documentation that would be placed in the wiki should be landed in the source (excluding in-process design docs, OKRs, meeting notes, etc. Those should live in Sites or Google Docs).
The following issues are being considered, but not as blockers for this migration:
Searching the docs will begin as a crude UI using codesearch or Google, but will need to be improved. https://chrome-infra-docsearch.appspot.com will be renamed to cr-docs.appspot.com and expanded to crawl chromium/related projects as well.
The structure of the documentation will most likely go through some reorganization. To start, though, we are taking a simple approach with all of it living within top-level directories.
Tooling within codereview.chromium.org needs to be improved to allow for in-page preview for CLs.
A longer edit cycle will result from the need to do code reviews. However, the new workflow allows for updates to documentation to happen alongside code changes. This makes it easy to keep code and documentation in sync.
Why not just move everything to the Sites page?
dev.chromium.org has its own staleness problem with ~1200 pages and much more content that is out of date. This migration is a first step toward having all documentation be in a simple, portable, and well-supported format that sits next to the source.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
This has been filed internally as http://b/23076814
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
Perhaps use a Google Storage bucket for the images with a simple web user interface for uploading them?This will keep the images versioned, so getting documentation from a certain revision will always show the corresponding images for that revision of the documentation.
The problem:
code.google.com is being shut down (or, at least, set to read-only).
Chromium (https://code.google.com/p/chromium/w/list) as well as many related projects have documentation that lives on the wiki (this covers the main chromium project to start).
There are 136 documents that need to find a new home.
A lot of the information is out of date or no longer relevant.
Changes to the documentation are not audited or reviewed.
The goal is to start simple and allow for changes to be made without much friction down the road.
We will replace the wiki with a smaller, more focused set of documentation written in Markdown that lives within the source. Markdown has become the standard for hosted SCM (GitHub, BitBucket, etc.), a very simple syntax, and a wide variety of tooling built for it. Examples of this already happening are within the gyp and gn subprojects (https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/).
The goal is to have a much smaller subset of high-quality content checked in so that it’s much easier to manage.
We will use the findings during this process to determine how to approach improving the documentation on the Sites page (dev.chromium.org) as well as migrating the wiki content of other projects.
Implementation Details:
A set of guidelines and best practices will be released to ensure quality and consistency across the documentation. They will live in src/docs.
A tool to render pages in your local checkout that mirrors Gitiles will be released to ease the editor workflow.
For the sake of initial simplicity, a top-level src/docs/ directory will contain all Markdown documentation files. Documentation for chromium can only live in src/docs/. Standalone tools like gn get their own docs/ directories. After the migration, this restriction will most likely get relaxed. The only exception is that any directory in the source can contain a README.md file that describes the contents of that directory. Knowing what to put in a readme vs docs/ will be covered in the best-practice documents described above.
On Wednesday, August 19, 2015 at 1:47:56 PM UTC-7, Andrew Bonventre wrote:The problem:
code.google.com is being shut down (or, at least, set to read-only).
Chromium (https://code.google.com/p/chromium/w/list) as well as many related projects have documentation that lives on the wiki (this covers the main chromium project to start).
There are 136 documents that need to find a new home.
A lot of the information is out of date or no longer relevant.
Changes to the documentation are not audited or reviewed.
The goal is to start simple and allow for changes to be made without much friction down the road.
We will replace the wiki with a smaller, more focused set of documentation written in Markdown that lives within the source. Markdown has become the standard for hosted SCM (GitHub, BitBucket, etc.), a very simple syntax, and a wide variety of tooling built for it. Examples of this already happening are within the gyp and gn subprojects (https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/).
The goal is to have a much smaller subset of high-quality content checked in so that it’s much easier to manage.
We will use the findings during this process to determine how to approach improving the documentation on the Sites page (dev.chromium.org) as well as migrating the wiki content of other projects.
Implementation Details:
A set of guidelines and best practices will be released to ensure quality and consistency across the documentation. They will live in src/docs.
Has this happened? I only see docs/documentation_best_practices.md which is just a copy of the public Google guide.
A tool to render pages in your local checkout that mirrors Gitiles will be released to ease the editor workflow.
For the sake of initial simplicity, a top-level src/docs/ directory will contain all Markdown documentation files. Documentation for chromium can only live in src/docs/. Standalone tools like gn get their own docs/ directories. After the migration, this restriction will most likely get relaxed. The only exception is that any directory in the source can contain a README.md file that describes the contents of that directory. Knowing what to put in a readme vs docs/ will be covered in the best-practice documents described above.
As the componentization effort progresses, now is a good time to reconsider whether all Chromium docs should live in the top-level src/docs/ directory. One README.md may not be enough to document an entire component, and having documentation in two places (README.md + the code, and a src/docs/my_component/ directory) isn't ideal. OTOH, having all docs in one place makes things easier, especially when a particular component spans multiple top-level Chromium directories.
Migration
Placeholder wiki pages (“this page has moved to <foo>”) will not be migrated.
All wiki pages will be converted to Markdown using (https://code.google.com/p/support-tools/wiki/WikiToMarkdownTool), renamed to be underscore_case to be in line with Chromium style (links to pages will be fixed as well), limited to 80 cols, and submitted for review to be added to src/docs/.
This thread will be updated with review.
Community members will have the opportunity to
Obsolete the page and commenting on the review saying it should be deleted.
Suggesting changes within the review.
A timeline of a two business days will be given before the change is landed.
Once the content on the wiki has been migrated, a single page will remain indicating that it has moved to the source.
Any new documentation that would be placed in the wiki should be landed in the source (excluding in-process design docs, OKRs, meeting notes, etc. Those should live in Sites or Google Docs).
The following issues are being considered, but not as blockers for this migration:
Searching the docs will begin as a crude UI using codesearch or Google, but will need to be improved. https://chrome-infra-docsearch.appspot.com will be renamed to cr-docs.appspot.com and expanded to crawl chromium/related projects as well.
The structure of the documentation will most likely go through some reorganization. To start, though, we are taking a simple approach with all of it living within top-level directories.
Tooling within codereview.chromium.org needs to be improved to allow for in-page preview for CLs.
A longer edit cycle will result from the need to do code reviews. However, the new workflow allows for updates to documentation to happen alongside code changes. This makes it easy to keep code and documentation in sync.
Why not just move everything to the Sites page?
dev.chromium.org has its own staleness problem with ~1200 pages and much more content that is out of date. This migration is a first step toward having all documentation be in a simple, portable, and well-supported format that sits next to the source.
Thanks,andybons
--