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

Unified Diff: chrome/common/extensions/docs/server2/extensions_paths.py

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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/extensions_paths.py
diff --git a/chrome/common/extensions/docs/server2/extensions_paths.py b/chrome/common/extensions/docs/server2/extensions_paths.py
new file mode 100644
index 0000000000000000000000000000000000000000..27adc1dbccf1d58ae34ab76cf0ae70afe0b329f4
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/extensions_paths.py
@@ -0,0 +1,32 @@
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from posixpath import join
+
+
+# Extensions-related paths within the Chromium repository.
+
+EXTENSIONS = 'chrome/common/extensions'
+
+API = join(EXTENSIONS, 'api')
+DOCS = join(EXTENSIONS, 'docs')
+
+API_FEATURES = join(API, '_api_features.json')
+MANIFEST_FEATURES = join(API, '_manifest_features.json')
+PERMISSION_FEATURES = join(API, '_permission_features.json')
+
+EXAMPLES = join(DOCS, 'examples')
+SERVER2 = join(DOCS, 'server2')
+STATIC_DOCS = join(DOCS, 'static')
+TEMPLATES = join(DOCS, 'templates')
+
+APP_YAML = join(SERVER2, 'app.yaml')
+
+ARTICLES_TEMPLATES = join(TEMPLATES, 'articles')
+INTROS_TEMPLATES = join(TEMPLATES, 'intros')
+JSON_TEMPLATES = join(TEMPLATES, 'json')
+PRIVATE_TEMPLATES = join(TEMPLATES, 'private')
+PUBLIC_TEMPLATES = join(TEMPLATES, 'public')
+
+CONTENT_PROVIDERS = join(JSON_TEMPLATES, 'content_providers.json')
« no previous file with comments | « chrome/common/extensions/docs/server2/cron_servlet_test.py ('k') | chrome/common/extensions/docs/server2/fake_fetchers.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698