| OLD | NEW |
| 1 -------- | 1 -------- |
| 2 Overview | 2 Overview |
| 3 | 3 |
| 4 This is the content and its server for the extensions/apps documentation served | 4 This is the content and its server for the extensions/apps documentation served |
| 5 from http://developer.chrome.com/(extensions|apps). | 5 from http://developer.chrome.com/(extensions|apps). |
| 6 | 6 |
| 7 Documentation for apps and extensions are partly generated from API definitions | 7 Documentation for apps and extensions are partly generated from API definitions |
| 8 (for the reference material), and partly hand-written. | 8 (for the reference material), and partly hand-written. |
| 9 | 9 |
| 10 All documentation sources are checked into source control, just like any other | 10 All documentation sources are checked into source control, just like any other |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 - Files in templates directory use the Handlebar template language. It is | 49 - Files in templates directory use the Handlebar template language. It is |
| 50 extremely simple, essentially: write HTML. | 50 extremely simple, essentially: write HTML. |
| 51 See third_party/handlebar/README.md. | 51 See third_party/handlebar/README.md. |
| 52 | 52 |
| 53 - static/css/out/site.css is generated by compiling static/sass/*.scss | 53 - static/css/out/site.css is generated by compiling static/sass/*.scss |
| 54 files. Don't change site.css directly. Instead, change the *.scss files | 54 files. Don't change site.css directly. Instead, change the *.scss files |
| 55 and run compass from this (docs/) directory: | 55 and run compass from this (docs/) directory: |
| 56 compass compile . | 56 compass compile . |
| 57 See http://compass-style.org/install to install compass. | 57 See http://compass-style.org/install to install compass. |
| 58 See https://codereview.chromium.org/238303002/#msg6 for configuration |
| 59 information (config.rb). |
| 58 | 60 |
| 59 2. Run 'server2/preview.py' | 61 2. Run 'server2/preview.py' |
| 60 | 62 |
| 61 3. Check your work at http://localhost:8000/(apps|extensions)/<doc_name> | 63 3. Check your work at http://localhost:8000/(apps|extensions)/<doc_name> |
| 62 | 64 |
| 63 4. Upload patch and offer reviewers a preview link at a URL with your patch | 65 4. Upload patch and offer reviewers a preview link at a URL with your patch |
| 64 number and files, similar to: | 66 number and files, similar to: |
| 65 https://chrome-apps-doc.appspot.com/_patch/12345678/apps/index.html | 67 https://chrome-apps-doc.appspot.com/_patch/12345678/apps/index.html |
| 66 https://chrome-apps-doc.appspot.com/_patch/12345678/extensions/index.html | 68 https://chrome-apps-doc.appspot.com/_patch/12345678/extensions/index.html |
| 67 | 69 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 87 pages. | 89 pages. |
| 88 - articles: The static content that appears on non-API pages. | 90 - articles: The static content that appears on non-API pages. |
| 89 - public: The top level templates for all pages. | 91 - public: The top level templates for all pages. |
| 90 - private: Helper templates used in rendering the docs. | 92 - private: Helper templates used in rendering the docs. |
| 91 | 93 |
| 92 | 94 |
| 93 -------------------- | 95 -------------------- |
| 94 The AppEngine server | 96 The AppEngine server |
| 95 | 97 |
| 96 See server2/README. | 98 See server2/README. |
| OLD | NEW |