Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Side by Side Diff: chrome/common/extensions/docs/templates/json/content_providers.json

Issue 68873003: Docserver: Serve docs out of src/ not src/chrome/common/extensions. This allows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix samples Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/docs/server2/test_util.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 25 matching lines...) Expand all
36 // zip files. For safety this isn't supported for arbitrary URLs, only those 36 // zip files. For safety this isn't supported for arbitrary URLs, only those
37 // within a rule that has "supportsZip": true. 37 // within a rule that has "supportsZip": true.
38 // * "supportsTemplates" indicates whether HTML files should be treated and 38 // * "supportsTemplates" indicates whether HTML files should be treated and
39 // renderered as templates, versus just plain text. Complex documentation 39 // renderered as templates, versus just plain text. Complex documentation
40 // which interacts with docserver features (like API listing) need to set 40 // which interacts with docserver features (like API listing) need to set
41 // this to true. Otherwise, it's safer and more efficient to omit it. 41 // this to true. Otherwise, it's safer and more efficient to omit it.
42 42
43 { 43 {
44 "cr-extensions-examples": { 44 "cr-extensions-examples": {
45 "chromium": { 45 "chromium": {
46 "dir": "docs/examples" 46 "dir": "chrome/common/extensions/docs/examples"
47 }, 47 },
48 "serveFrom": "extensions/examples", 48 "serveFrom": "extensions/examples",
49 "supportsZip": true 49 "supportsZip": true
50 }, 50 },
51 "cr-public": { 51 "cr-public": {
52 "chromium": { 52 "chromium": {
53 "dir": "docs/templates/public" 53 "dir": "chrome/common/extensions/docs/templates/public"
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": "docs/static" 60 "dir": "chrome/common/extensions/docs/static"
61 }, 61 },
62 "serveFrom": "static" 62 "serveFrom": "static"
63 }, 63 },
64 "devtools-docs": { 64 "devtools-docs": {
65 "github": { 65 "github": {
66 "owner": "GoogleChrome", 66 "owner": "GoogleChrome",
67 "repo": "devtools-docs-migration" 67 "repo": "devtools-docs-migration"
68 }, 68 },
69 "serveFrom": "devtools" 69 "serveFrom": "devtools"
70 }, 70 },
71 "multidevice-docs": { 71 "multidevice-docs": {
72 "github": { 72 "github": {
73 "owner": "GoogleChrome", 73 "owner": "GoogleChrome",
74 "repo": "multi-device" 74 "repo": "multi-device"
75 }, 75 },
76 "serveFrom": "multidevice" 76 "serveFrom": "multidevice"
77 }, 77 },
78 "webstore-docs": { 78 "webstore-docs": {
79 "github": { 79 "github": {
80 "owner": "GoogleChrome", 80 "owner": "GoogleChrome",
81 "repo": "webstore-docs" 81 "repo": "webstore-docs"
82 }, 82 },
83 "serveFrom": "webstore" 83 "serveFrom": "webstore"
84 } 84 }
85 } 85 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/server2/test_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698