| OLD | NEW |
| 1 // === Overview === | 1 // === Overview === |
| 2 // | 2 // |
| 3 // This file configures where to find and how to serve content in the docserver. | 3 // This file configures where to find and how to serve content in the docserver. |
| 4 // It's the most fundamentally important file in all of the docserver. | 4 // It's the most fundamentally important file in all of the docserver. |
| 5 // | 5 // |
| 6 // === Format === | 6 // === Format === |
| 7 // | 7 // |
| 8 // Each entry declares a rule with: | 8 // Each entry declares a rule with: |
| 9 // * An arbitrary identifier key e.g. "cr-extensions-examples". | 9 // * An arbitrary identifier key e.g. "cr-extensions-examples". |
| 10 // * What URL the rule should be invoked with, given by "serveFrom", e.g. | 10 // * What URL the rule should be invoked with, given by "serveFrom", e.g. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 "dir": "chrome/common/extensions/docs/static" | 67 "dir": "chrome/common/extensions/docs/static" |
| 68 }, | 68 }, |
| 69 "serveFrom": "static" | 69 "serveFrom": "static" |
| 70 }, | 70 }, |
| 71 "cr-native-client": { | 71 "cr-native-client": { |
| 72 "chromium": { | 72 "chromium": { |
| 73 "dir": "native_client_sdk/doc_generated" | 73 "dir": "native_client_sdk/doc_generated" |
| 74 }, | 74 }, |
| 75 "serveFrom": "native-client", | 75 "serveFrom": "native-client", |
| 76 "supportsTemplates": true | 76 "supportsTemplates": true |
| 77 }, |
| 78 "devtools-docs": { |
| 79 "gcs": { |
| 80 "bucket": "gs://chromedocs-devtools" |
| 81 }, |
| 82 "serveFrom": "devtools", |
| 83 "supportsTemplates": true |
| 84 }, |
| 85 "multidevice-docs": { |
| 86 "gcs": { |
| 87 "bucket": "gs://chromedocs-multidevice" |
| 88 }, |
| 89 "serveFrom": "multidevice", |
| 90 "supportsTemplates": true |
| 91 }, |
| 92 "webstore-docs": { |
| 93 "gcs": { |
| 94 "bucket": "gs://chromedocs-webstore" |
| 95 }, |
| 96 "serveFrom": "webstore", |
| 97 "supportsTemplates": true |
| 77 } | 98 } |
| 78 | |
| 79 // GitHub is not working at the moment. Disable entirely. | |
| 80 // | |
| 81 //"devtools-docs": { | |
| 82 // "github": { | |
| 83 // "owner": "GoogleChrome", | |
| 84 // "repo": "devtools-docs-migration" | |
| 85 // }, | |
| 86 // "serveFrom": "devtools", | |
| 87 // "supportsTemplates": true | |
| 88 //}, | |
| 89 //"multidevice-docs": { | |
| 90 // "github": { | |
| 91 // "owner": "GoogleChrome", | |
| 92 // "repo": "multi-device" | |
| 93 // }, | |
| 94 // "serveFrom": "multidevice", | |
| 95 // "supportsTemplates": true | |
| 96 //}, | |
| 97 //"webstore-docs": { | |
| 98 // "github": { | |
| 99 // "owner": "GoogleChrome", | |
| 100 // "repo": "webstore-docs" | |
| 101 // }, | |
| 102 // "serveFrom": "webstore", | |
| 103 // "supportsTemplates": true | |
| 104 //} | |
| 105 } | 99 } |
| OLD | NEW |