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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 }, | 54 }, |
55 "serveFrom": "", | 55 "serveFrom": "", |
56 "supportsTemplates": true | 56 "supportsTemplates": true |
57 }, | 57 }, |
58 "cr-static": { | 58 "cr-static": { |
59 "chromium": { | 59 "chromium": { |
60 "dir": "chrome/common/extensions/docs/static" | 60 "dir": "chrome/common/extensions/docs/static" |
61 }, | 61 }, |
62 "serveFrom": "static" | 62 "serveFrom": "static" |
63 }, | 63 }, |
| 64 "cr-native-client": { |
| 65 "chromium": { |
| 66 "dir": "components/nacl/docs/dev" |
| 67 }, |
| 68 "serveFrom": "nacl", |
| 69 "supportsTemplates": true |
| 70 }, |
64 "devtools-docs": { | 71 "devtools-docs": { |
65 "github": { | 72 "github": { |
66 "owner": "GoogleChrome", | 73 "owner": "GoogleChrome", |
67 "repo": "devtools-docs-migration" | 74 "repo": "devtools-docs-migration" |
68 }, | 75 }, |
69 "serveFrom": "devtools" | 76 "serveFrom": "devtools", |
| 77 "supportsTemplates": true |
70 }, | 78 }, |
71 "multidevice-docs": { | 79 "multidevice-docs": { |
72 "github": { | 80 "github": { |
73 "owner": "GoogleChrome", | 81 "owner": "GoogleChrome", |
74 "repo": "multi-device" | 82 "repo": "multi-device" |
75 }, | 83 }, |
76 "serveFrom": "multidevice" | 84 "serveFrom": "multidevice", |
| 85 "supportsTemplates": true |
77 }, | 86 }, |
78 "webstore-docs": { | 87 "webstore-docs": { |
79 "github": { | 88 "github": { |
80 "owner": "GoogleChrome", | 89 "owner": "GoogleChrome", |
81 "repo": "webstore-docs" | 90 "repo": "webstore-docs" |
82 }, | 91 }, |
83 "serveFrom": "webstore" | 92 "serveFrom": "webstore", |
| 93 "supportsTemplates": true |
84 } | 94 } |
85 } | 95 } |
OLD | NEW |