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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 }, | 62 }, |
63 "defaultExtensions": [".html", ".md"], | 63 "defaultExtensions": [".html", ".md"], |
64 "serveFrom": "", | 64 "serveFrom": "", |
65 "supportsTemplates": true | 65 "supportsTemplates": true |
66 }, | 66 }, |
67 "cr-static": { | 67 "cr-static": { |
68 "chromium": { | 68 "chromium": { |
69 "dir": "chrome/common/extensions/docs/static" | 69 "dir": "chrome/common/extensions/docs/static" |
70 }, | 70 }, |
71 "serveFrom": "static" | 71 "serveFrom": "static" |
72 }, | |
73 "cr-native-client": { | |
74 "chromium": { | |
75 "dir": "native_client_sdk/doc_generated" | |
76 }, | |
77 "defaultExtensions": [".html", ".md"], | |
78 "serveFrom": "native-client", | |
79 "supportsTemplates": true | |
80 } | 72 } |
| 73 //"cr-native-client": { |
| 74 // "chromium": { |
| 75 // "dir": "native_client_sdk/doc_generated" |
| 76 // }, |
| 77 // "defaultExtensions": [".html", ".md"], |
| 78 // "serveFrom": "native-client", |
| 79 // "supportsTemplates": true |
| 80 //}, |
81 //"devtools-docs": { | 81 //"devtools-docs": { |
82 // "defaultExtensions": [".html", ".md"], | 82 // "defaultExtensions": [".html", ".md"], |
83 // "gcs": { | 83 // "gcs": { |
84 // "bucket": "gs://chromedocs-devtools" | 84 // "bucket": "gs://chromedocs-devtools" |
85 // }, | 85 // }, |
86 // "serveFrom": "devtools", | 86 // "serveFrom": "devtools", |
87 // "supportsTemplates": true | 87 // "supportsTemplates": true |
88 //}, | 88 //}, |
89 //"multidevice-docs": { | 89 //"multidevice-docs": { |
90 // "defaultExtensions": [".html", ".md"], | 90 // "defaultExtensions": [".html", ".md"], |
91 // "gcs": { | 91 // "gcs": { |
92 // "bucket": "gs://chromedocs-multidevice" | 92 // "bucket": "gs://chromedocs-multidevice" |
93 // }, | 93 // }, |
94 // "serveFrom": "multidevice", | 94 // "serveFrom": "multidevice", |
95 // "supportsTemplates": true | 95 // "supportsTemplates": true |
96 //}, | 96 //}, |
97 //"webstore-docs": { | 97 //"webstore-docs": { |
98 // "defaultExtensions": [".html", ".md"], | 98 // "defaultExtensions": [".html", ".md"], |
99 // "gcs": { | 99 // "gcs": { |
100 // "bucket": "gs://chromedocs-webstore" | 100 // "bucket": "gs://chromedocs-webstore" |
101 // }, | 101 // }, |
102 // "serveFrom": "webstore", | 102 // "serveFrom": "webstore", |
103 // "supportsTemplates": true | 103 // "supportsTemplates": true |
104 //} | 104 //} |
105 } | 105 } |
OLD | NEW |