summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/common/extensions/docs/server2/app.yaml2
-rw-r--r--chrome/common/extensions/docs/server2/cron.yaml8
-rw-r--r--chrome/common/extensions/docs/server2/intro_data_source.py1
-rw-r--r--chrome/common/extensions/docs/server2/local_renderer.py2
-rw-r--r--chrome/common/extensions/docs/server2/manifest_data_source.py90
-rwxr-xr-xchrome/common/extensions/docs/server2/manifest_data_source_test.py128
-rw-r--r--chrome/common/extensions/docs/server2/server_instance.py24
-rw-r--r--chrome/common/extensions/docs/server2/sidenav_data_source.py10
-rw-r--r--chrome/common/extensions/docs/server2/subversion_file_system.py5
-rwxr-xr-xchrome/common/extensions/docs/server2/subversion_file_system_test.py51
-rw-r--r--chrome/common/extensions/docs/server2/template_data_source.py11
-rwxr-xr-xchrome/common/extensions/docs/server2/template_data_source_test.py4
-rw-r--r--chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file0.html0
-rw-r--r--chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file1.html0
-rw-r--r--chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file2.html0
-rw-r--r--chrome/common/extensions/docs/templates/articles/apps_manifest.html20
-rw-r--r--chrome/common/extensions/docs/templates/articles/extensions_manifest.html20
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/app.html8
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/default_locale.html12
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/description.html13
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/file_handlers.html42
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/homepage_url.html9
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/icons.html52
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/incognito.html32
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/key.html28
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/kiosk_enabled.html8
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/manifest_version.html31
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/minimum_chrome_version.html6
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/nacl_modules.html62
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/name.html12
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/offline_enabled.html7
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/requirements.html47
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/sandbox.html67
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/version.html48
-rw-r--r--chrome/common/extensions/docs/templates/articles/manifest/web_accessible_resources.html59
-rw-r--r--chrome/common/extensions/docs/templates/json/apps_sidenav.json78
-rw-r--r--chrome/common/extensions/docs/templates/json/extensions_sidenav.json88
-rw-r--r--chrome/common/extensions/docs/templates/json/manifest.json176
-rw-r--r--chrome/common/extensions/docs/templates/private/header_body.html2
-rw-r--r--chrome/common/extensions/docs/templates/private/manifest_example.html17
-rw-r--r--chrome/common/extensions/docs/templates/private/manifest_properties.html6
-rw-r--r--chrome/common/extensions/docs/templates/private/sidenav_item.html8
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/browserAction.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/fileBrowserHandler.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest.html2
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/app.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/default_locale.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/description.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/file_handlers.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/homepage_url.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/icons.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/incognito.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/key.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/kiosk_enabled.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/manifest_version.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/minimum_chrome_version.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/nacl_modules.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/name.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/offline_enabled.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/requirements.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/sandbox.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/version.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/manifest/web_accessible_resources.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/omnibox.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/apps/pageAction.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest.html2
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/default_locale.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/description.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/file_handlers.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/homepage_url.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/icons.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/incognito.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/key.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/kiosk_enabled.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/manifest_version.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/minimum_chrome_version.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/nacl_modules.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/name.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/offline_enabled.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/requirements.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/sandbox.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/version.html1
-rw-r--r--chrome/common/extensions/docs/templates/public/extensions/manifest/web_accessible_resources.html1
83 files changed, 132 insertions, 1205 deletions
diff --git a/chrome/common/extensions/docs/server2/app.yaml b/chrome/common/extensions/docs/server2/app.yaml
index 96c889bd..3cfff26 100644
--- a/chrome/common/extensions/docs/server2/app.yaml
+++ b/chrome/common/extensions/docs/server2/app.yaml
@@ -1,5 +1,5 @@
application: chrome-apps-doc
-version: 2-2-0
+version: 2-1-0
runtime: python27
api_version: 1
threadsafe: false
diff --git a/chrome/common/extensions/docs/server2/cron.yaml b/chrome/common/extensions/docs/server2/cron.yaml
index 0c9c0ea..24ab579 100644
--- a/chrome/common/extensions/docs/server2/cron.yaml
+++ b/chrome/common/extensions/docs/server2/cron.yaml
@@ -2,19 +2,19 @@ cron:
- description: Load everything for trunk.
url: /_cron/trunk
schedule: every 5 minutes
- target: 2-2-0
+ target: 2-1-0
- description: Load everything for dev.
url: /_cron/dev
schedule: every 5 minutes
- target: 2-2-0
+ target: 2-1-0
- description: Load everything for beta.
url: /_cron/beta
schedule: every 5 minutes
- target: 2-2-0
+ target: 2-1-0
- description: Load everything for stable.
url: /_cron/stable
schedule: every 5 minutes
- target: 2-2-0
+ target: 2-1-0
diff --git a/chrome/common/extensions/docs/server2/intro_data_source.py b/chrome/common/extensions/docs/server2/intro_data_source.py
index 7c4f223..1e29875 100644
--- a/chrome/common/extensions/docs/server2/intro_data_source.py
+++ b/chrome/common/extensions/docs/server2/intro_data_source.py
@@ -9,6 +9,7 @@ import re
from docs_server_utils import FormatKey
from file_system import FileNotFoundError
+import compiled_file_system as compiled_fs
from third_party.handlebar import Handlebar
# TODO(kalman): rename this HTMLDataSource or other, then have separate intro
diff --git a/chrome/common/extensions/docs/server2/local_renderer.py b/chrome/common/extensions/docs/server2/local_renderer.py
index 7819e12..146b0d5 100644
--- a/chrome/common/extensions/docs/server2/local_renderer.py
+++ b/chrome/common/extensions/docs/server2/local_renderer.py
@@ -18,7 +18,7 @@ class LocalRenderer(object):
'''
@staticmethod
def Render(path):
- assert not '\\' in path
+ assert not path.contains('\\')
def render_path(path):
return RenderServlet(Request(path, 'http://localhost', {}),
_LocalRenderServletDelegate(),
diff --git a/chrome/common/extensions/docs/server2/manifest_data_source.py b/chrome/common/extensions/docs/server2/manifest_data_source.py
deleted file mode 100644
index 2315cbb..0000000
--- a/chrome/common/extensions/docs/server2/manifest_data_source.py
+++ /dev/null
@@ -1,90 +0,0 @@
-# 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 collections import OrderedDict
-from copy import deepcopy
-from operator import itemgetter
-
-from third_party.json_schema_compiler.json_parse import Parse
-
-class ManifestDataSource(object):
- """ Provides a template with access to manifest properties specific to apps or
- extensions.
- """
- def __init__(self,
- compiled_fs_factory,
- file_system,
- manifest_path,
- features_path):
- self._manifest_path = manifest_path
- self._features_path = features_path
- self._file_system = file_system
- self._cache = compiled_fs_factory.Create(
- self._CreateManifestData, ManifestDataSource)
-
- def _ApplyAppsTransformations(self, manifest):
- manifest['required'][0]['example'] = 'Application'
- manifest['optional'][-1]['is_last'] = True
-
- def _ApplyExtensionsTransformations(self, manifest):
- manifest['optional'][-1]['is_last'] = True
-
- def _CreateManifestData(self, _, content):
- """Take the contents of |_manifest_path| and create apps and extensions
- versions of a manifest example based on the contents of |_features_path|.
- """
- def create_manifest_dict():
- d = OrderedDict()
- for category in ['required', 'only_one', 'recommended', 'optional']:
- d[category] = []
- return d
-
- apps = create_manifest_dict()
- extensions = create_manifest_dict()
-
- manifest_json = Parse(content)
- features_json = Parse(self._file_system.ReadSingle(
- self._features_path))
-
- def add_property(feature, manifest_key, category):
- """If |feature|, from features_json, has the correct extension_types, add
- |manifest_key| to either apps or extensions.
- """
- added = False
- extension_types = feature['extension_types']
- if extension_types == 'all' or 'platform_app' in extension_types:
- apps[category].append(deepcopy(manifest_key))
- added = True
- if extension_types == 'all' or 'extension' in extension_types:
- extensions[category].append(deepcopy(manifest_key))
- added = True
- return added
-
- # Property types are: required, only_one, recommended, and optional.
- for category in manifest_json:
- for manifest_key in manifest_json[category]:
- # If a property is in manifest.json but not _manifest_features, this
- # will cause an error.
- feature = features_json[manifest_key['name']]
- if add_property(feature, manifest_key, category):
- del features_json[manifest_key['name']]
-
- # All of the properties left in features_json are assumed to be optional.
- for feature in features_json.keys():
- item = features_json[feature]
- # Handles instances where a features entry is a union with a whitelist.
- if isinstance(item, list):
- item = item[0]
- add_property(item, {'name': feature}, 'optional')
-
- apps['optional'].sort(key=itemgetter('name'))
- extensions['optional'].sort(key=itemgetter('name'))
-
- self._ApplyAppsTransformations(apps)
- self._ApplyExtensionsTransformations(extensions)
-
- return {'apps': apps, 'extensions': extensions}
-
- def get(self, key):
- return self._cache.GetFromFile(self._manifest_path)[key]
diff --git a/chrome/common/extensions/docs/server2/manifest_data_source_test.py b/chrome/common/extensions/docs/server2/manifest_data_source_test.py
deleted file mode 100755
index 3f971b6..0000000
--- a/chrome/common/extensions/docs/server2/manifest_data_source_test.py
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/usr/bin/env python
-# 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.
-
-import json
-import unittest
-
-from compiled_file_system import CompiledFileSystem
-from manifest_data_source import ManifestDataSource
-from object_store_creator import ObjectStoreCreator
-from test_file_system import TestFileSystem
-
-file_system = TestFileSystem({
- "_manifest_features.json": json.dumps({
- 'req0': {
- 'extension_types': ['platform_app', 'extension']
- },
- 'req1': {
- 'extension_types': 'all'
- },
- 'opt0': {
- 'extension_types': ['extension']
- },
- 'opt1': {
- 'extension_types': ['hosted_app']
- },
- 'free0': {
- 'extension_types': ['platform_app']
- },
- 'free1': {
- 'extension_types': ['platform_app', 'hosted_app', 'extension']
- },
- 'only0': {
- 'extension_types': 'all'
- },
- 'only1': {
- 'extension_types': ['platform_app']
- },
- 'rec0': {
- 'extension_types': ['extension']
- },
- 'rec1': {
- 'extension_types': ['platform_app', 'extension']
- }
- }),
- "manifest.json": json.dumps({
- 'required': [
- {
- 'name': 'req0',
- 'example': 'Extension'
- },
- {'name': 'req1'}
- ],
- 'only_one': [
- {'name': 'only0'},
- {'name': 'only1'}
- ],
- 'recommended': [
- {'name': 'rec0'},
- {'name': 'rec1'}
- ],
- 'optional': [
- {'name': 'opt0'},
- {'name': 'opt1'}
- ]
- })
-})
-
-class ManifestDataSourceTest(unittest.TestCase):
- def testCreateManifestData(self):
- expected_extensions = {
- 'required': [
- {
- 'name': 'req0',
- 'example': 'Extension'
- },
- {'name': 'req1'}
- ],
- 'recommended': [
- {'name': 'rec0'},
- {'name': 'rec1'}
- ],
- 'only_one': [
- {'name': 'only0'}
- ],
- 'optional': [
- {'name': 'free1'},
- {
- 'name': 'opt0',
- 'is_last': True
- }
- ]
- }
-
- expected_apps = {
- 'required': [
- {
- 'name': 'req0',
- 'example': 'Application'
- },
- {'name': 'req1'}
- ],
- 'recommended': [
- {'name': 'rec1'}
- ],
- 'only_one': [
- {'name': 'only0'},
- {'name': 'only1'}
- ],
- 'optional': [
- {'name': 'free0'},
- {
- 'name': 'free1',
- 'is_last': True
- }
- ]
- }
-
- mds = ManifestDataSource(
- CompiledFileSystem.Factory(file_system, ObjectStoreCreator.ForTest()),
- file_system, 'manifest.json', '_manifest_features.json')
-
- self.assertEqual(expected_extensions, mds.get('extensions'))
- self.assertEqual(expected_apps, mds.get('apps'))
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/chrome/common/extensions/docs/server2/server_instance.py b/chrome/common/extensions/docs/server2/server_instance.py
index c1eb213..647af06 100644
--- a/chrome/common/extensions/docs/server2/server_instance.py
+++ b/chrome/common/extensions/docs/server2/server_instance.py
@@ -2,24 +2,37 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from fnmatch import fnmatch
+import logging
+import mimetypes
+import traceback
+import os
+
from api_data_source import APIDataSource
from api_list_data_source import APIListDataSource
-from appengine_wrappers import IsDevServer
+from appengine_url_fetcher import AppEngineUrlFetcher
+from appengine_wrappers import GetAppVersion, IsDevServer
+from branch_utility import BranchUtility
from caching_file_system import CachingFileSystem
from compiled_file_system import CompiledFileSystem
from empty_dir_file_system import EmptyDirFileSystem
from example_zipper import ExampleZipper
+from file_system import FileNotFoundError
+from github_file_system import GithubFileSystem
from intro_data_source import IntroDataSource
from local_file_system import LocalFileSystem
-from manifest_data_source import ManifestDataSource
from object_store_creator import ObjectStoreCreator
+from offline_file_system import OfflineFileSystem
from path_canonicalizer import PathCanonicalizer
from reference_resolver import ReferenceResolver
from samples_data_source import SamplesDataSource
from sidenav_data_source import SidenavDataSource
+from subversion_file_system import SubversionFileSystem
import svn_constants
from template_data_source import TemplateDataSource
from test_object_store import TestObjectStore
+from third_party.json_schema_compiler.model import UnixName
+import url_constants
class ServerInstance(object):
def __init__(self,
@@ -84,12 +97,6 @@ class ServerInstance(object):
self.compiled_host_fs_factory,
svn_constants.JSON_PATH)
- self.manifest_data_source = ManifestDataSource(
- self.compiled_host_fs_factory,
- LocalFileSystem.Create(),
- '/'.join((svn_constants.JSON_PATH, 'manifest.json')),
- '/'.join((svn_constants.API_PATH, '_manifest_features.json')))
-
self.template_data_source_factory = TemplateDataSource.Factory(
channel,
self.api_data_source_factory,
@@ -99,7 +106,6 @@ class ServerInstance(object):
self.sidenav_data_source_factory,
self.compiled_host_fs_factory,
self.ref_resolver_factory,
- self.manifest_data_source,
svn_constants.PUBLIC_TEMPLATE_PATH,
svn_constants.PRIVATE_TEMPLATE_PATH)
diff --git a/chrome/common/extensions/docs/server2/sidenav_data_source.py b/chrome/common/extensions/docs/server2/sidenav_data_source.py
index 60e40fa..f340eb8 100644
--- a/chrome/common/extensions/docs/server2/sidenav_data_source.py
+++ b/chrome/common/extensions/docs/server2/sidenav_data_source.py
@@ -4,6 +4,10 @@
import copy
import json
+import logging
+
+import compiled_file_system as compiled_fs
+from third_party.json_schema_compiler.model import UnixName
class SidenavDataSource(object):
"""This class reads in and caches a JSON file representing the side navigation
@@ -53,7 +57,7 @@ class SidenavDataSource(object):
return False
def get(self, key):
- sidenav_items = copy.deepcopy(self._cache.GetFromFile(
+ sidenav = copy.deepcopy(self._cache.GetFromFile(
'%s/%s_sidenav.json' % (self._json_path, key)))
- self._AddSelected(sidenav_items)
- return sidenav_items
+ self._AddSelected(sidenav)
+ return sidenav
diff --git a/chrome/common/extensions/docs/server2/subversion_file_system.py b/chrome/common/extensions/docs/server2/subversion_file_system.py
index a39143c..d35a16d 100644
--- a/chrome/common/extensions/docs/server2/subversion_file_system.py
+++ b/chrome/common/extensions/docs/server2/subversion_file_system.py
@@ -2,14 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import logging
+import re
import posixpath
-from file_system import FileSystem, FileNotFoundError, StatInfo, ToUnicode
-from future import Future
import xml.dom.minidom as xml
from xml.parsers.expat import ExpatError
from appengine_url_fetcher import AppEngineUrlFetcher
from docs_server_utils import StringIdentity
+from file_system import FileSystem, FileNotFoundError, StatInfo, ToUnicode
from future import Future
import svn_constants
import url_constants
diff --git a/chrome/common/extensions/docs/server2/subversion_file_system_test.py b/chrome/common/extensions/docs/server2/subversion_file_system_test.py
index 448a9a5..7281908 100755
--- a/chrome/common/extensions/docs/server2/subversion_file_system_test.py
+++ b/chrome/common/extensions/docs/server2/subversion_file_system_test.py
@@ -37,62 +37,25 @@ class SubversionFileSystemTest(unittest.TestCase):
file_system.Read(['test1.txt', 'test2.txt', 'test3.txt']).Get())
def testListDir(self):
- expected = ['dir/'] + ['file%d.html' % i for i in range(7)]
+ expected = ['dir/']
+ for i in range(7):
+ expected.append('file%d.html' % i)
file_system = self._CreateSubversionFileSystem()
self.assertEqual(expected, sorted(file_system.ReadSingle('list/')))
- def testListSubDir(self):
- expected = ['empty.txt'] + ['file%d.html' % i for i in range(3)]
- file_system = self._CreateSubversionFileSystem()
- self.assertEqual(expected, sorted(file_system.ReadSingle('list/dir/')))
-
def testDirStat(self):
file_system = self._CreateSubversionFileSystem()
stat_info =file_system.Stat('stat/')
expected = StatInfo(
'151113',
- child_versions=json.loads(self._ReadLocalFile('stat_result.json')))
- self.assertEqual(expected, stat_info)
+ child_versions=json.loads(self._ReadLocalFile('stat_result.json'))
+ )
+ self.assertEquals(expected, stat_info)
def testFileStat(self):
file_system = self._CreateSubversionFileSystem()
stat_info = file_system.Stat('stat/extension_api.h')
- self.assertEqual(StatInfo('146163'), stat_info)
-
- def testRevisions(self):
- # This is a super hacky test. Record the path that was fetched then exit the
- # test. Compare.
- class ValueErrorFetcher(object):
- def __init__(self):
- self.last_fetched = None
-
- def FetchAsync(self, path):
- self.last_fetched = path
- raise ValueError()
-
- def Fetch(self, path):
- self.last_fetched = path
- raise ValueError()
-
- file_fetcher = ValueErrorFetcher()
- stat_fetcher = ValueErrorFetcher()
- svn_path = 'svn:'
-
- svn_file_system = SubversionFileSystem(file_fetcher,
- stat_fetcher,
- svn_path,
- revision=42)
-
- self.assertRaises(ValueError, svn_file_system.ReadSingle, 'dir/file')
- self.assertEqual('dir/file?p=42', file_fetcher.last_fetched)
- # Stat() will always stat directories.
- self.assertRaises(ValueError, svn_file_system.Stat, 'dir/file')
- self.assertEqual('dir/?pathrev=42', stat_fetcher.last_fetched)
-
- self.assertRaises(ValueError, svn_file_system.ReadSingle, 'dir/')
- self.assertEqual('dir/?p=42', file_fetcher.last_fetched)
- self.assertRaises(ValueError, svn_file_system.Stat, 'dir/')
- self.assertEqual('dir/?pathrev=42', stat_fetcher.last_fetched)
+ self.assertEquals(StatInfo('146163'), stat_info)
def testRevisions(self):
# This is a super hacky test. Record the path that was fetched then exit the
diff --git a/chrome/common/extensions/docs/server2/template_data_source.py b/chrome/common/extensions/docs/server2/template_data_source.py
index 6777d36..ba78f43 100644
--- a/chrome/common/extensions/docs/server2/template_data_source.py
+++ b/chrome/common/extensions/docs/server2/template_data_source.py
@@ -3,9 +3,11 @@
# found in the LICENSE file.
import logging
+import os
import traceback
from branch_utility import BranchUtility
+import compiled_file_system as compiled_fs
from docs_server_utils import FormatKey
from file_system import FileNotFoundError
from third_party.handlebar import Handlebar
@@ -18,7 +20,6 @@ def _MakeChannelDict(channel_name):
'channels': [{'name': name} for name in BranchUtility.GetAllChannelNames()],
'current': channel_name
}
-
for channel in channel_dict['channels']:
if channel['name'] == channel_name:
channel['isCurrent'] = True
@@ -49,7 +50,6 @@ class TemplateDataSource(object):
sidenav_data_source_factory,
compiled_fs_factory,
ref_resolver_factory,
- manifest_data_source,
public_template_path,
private_template_path):
self._branch_info = _MakeChannelDict(channel_name)
@@ -64,7 +64,6 @@ class TemplateDataSource(object):
self._public_template_path = public_template_path
self._private_template_path = private_template_path
self._static_resources = '/%s/static' % channel_name
- self._manifest_data_source = manifest_data_source
def _CreateTemplate(self, template_name, text):
return Handlebar(self._ref_resolver.ResolveAllLinks(text))
@@ -80,7 +79,6 @@ class TemplateDataSource(object):
self._samples_data_source_factory.Create(request),
self._sidenav_data_source_factory.Create(path),
self._cache,
- self._manifest_data_source,
self._public_template_path,
self._private_template_path,
self._static_resources)
@@ -93,7 +91,6 @@ class TemplateDataSource(object):
samples_data_source,
sidenav_data_source,
cache,
- manifest_data_source,
public_template_path,
private_template_path,
static_resources):
@@ -107,7 +104,6 @@ class TemplateDataSource(object):
self._public_template_path = public_template_path
self._private_template_path = private_template_path
self._static_resources = static_resources
- self._manifest_data_source = manifest_data_source
def Render(self, template_name):
"""This method will render a template named |template_name|, fetching all
@@ -125,7 +121,6 @@ class TemplateDataSource(object):
'intros': self._intro_data_source,
'sidenavs': self._sidenav_data_source,
'partials': self,
- 'manifest_source': self._manifest_data_source,
'samples': self._samples_data_source,
'static': self._static_resources,
'app': 'app',
@@ -154,6 +149,6 @@ class TemplateDataSource(object):
try:
return self._cache.GetFromFile(
'/'.join((base_path, FormatKey(template_name))))
- except FileNotFoundError:
+ except FileNotFoundError as e:
logging.warning(traceback.format_exc())
return None
diff --git a/chrome/common/extensions/docs/server2/template_data_source_test.py b/chrome/common/extensions/docs/server2/template_data_source_test.py
index a81e5d8..199871b 100755
--- a/chrome/common/extensions/docs/server2/template_data_source_test.py
+++ b/chrome/common/extensions/docs/server2/template_data_source_test.py
@@ -11,7 +11,6 @@ import unittest
from api_data_source import APIDataSource
from compiled_file_system import CompiledFileSystem
from local_file_system import LocalFileSystem
-from manifest_data_source import ManifestDataSource
from object_store_creator import ObjectStoreCreator
from reference_resolver import ReferenceResolver
from template_data_source import TemplateDataSource
@@ -38,8 +37,6 @@ class TemplateDataSourceTest(unittest.TestCase):
self._fake_intro_data_source_factory = _FakeFactory()
self._fake_samples_data_source_factory = _FakeFactory()
self._fake_sidenav_data_source_factory = _FakeFactory()
- self._manifest_data_source = ManifestDataSource(
- _FakeFactory(), LocalFileSystem.Create(), '', '')
def _ReadLocalFile(self, filename):
with open(os.path.join(self._base_path, filename), 'r') as f:
@@ -74,7 +71,6 @@ class TemplateDataSourceTest(unittest.TestCase):
self._fake_sidenav_data_source_factory,
compiled_fs_factory,
reference_resolver_factory,
- self._manifest_data_source,
'.',
'.'))
diff --git a/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file0.html b/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file0.html
deleted file mode 100644
index e69de29..0000000
--- a/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file0.html
+++ /dev/null
diff --git a/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file1.html b/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file1.html
deleted file mode 100644
index e69de29..0000000
--- a/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file1.html
+++ /dev/null
diff --git a/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file2.html b/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file2.html
deleted file mode 100644
index e69de29..0000000
--- a/chrome/common/extensions/docs/server2/test_data/file_system/list/dir/file2.html
+++ /dev/null
diff --git a/chrome/common/extensions/docs/templates/articles/apps_manifest.html b/chrome/common/extensions/docs/templates/articles/apps_manifest.html
deleted file mode 100644
index ff9c038..0000000
--- a/chrome/common/extensions/docs/templates/articles/apps_manifest.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<h1>Formats: Manifest Files</h1>
-
-
-<p>
-Every extension, installable web app, and theme has a
-<a href="http://www.json.org">JSON</a>-formatted manifest file,
-named <code>manifest.json</code>,
-that provides important information.
-</p>
-
-<h2 id="overview"> Field summary </h2>
-
-<p>
-The following code shows the supported manifest fields,
-with links to the page that discusses each field.
-The only fields that are always required
-are <b>name</b> and <b>version</b>.
-</p>
-
-{{+partials.manifest_example manifest_source:manifest_source.apps}}
diff --git a/chrome/common/extensions/docs/templates/articles/extensions_manifest.html b/chrome/common/extensions/docs/templates/articles/extensions_manifest.html
deleted file mode 100644
index a6de39a..0000000
--- a/chrome/common/extensions/docs/templates/articles/extensions_manifest.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<h1>Formats: Manifest Files</h1>
-
-
-<p>
-Every extension, installable web app, and theme has a
-<a href="http://www.json.org">JSON</a>-formatted manifest file,
-named <code>manifest.json</code>,
-that provides important information.
-</p>
-
-<h2 id="overview"> Field summary </h2>
-
-<p>
-The following code shows the supported manifest fields,
-with links to the page that discusses each field.
-The only fields that are always required
-are <b>name</b> and <b>version</b>.
-</p>
-
-{{+partials.manifest_example manifest_source:manifest_source.extensions}}
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/app.html b/chrome/common/extensions/docs/templates/articles/manifest/app.html
deleted file mode 100644
index f72c0fd..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/app.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<h1 id="app">Manifest - App</h1>
-
-<p>
-Used by <a href="http://developer.chrome.com/trunk/apps/app_lifecycle.html#eventpage">packaged apps</a>
-to specify the app's background scripts.
-Also used by <a href="https://developers.google.com/chrome/apps/docs/developers_guide#live">hosted apps</a>
-to specify the URLs that the app uses.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/default_locale.html b/chrome/common/extensions/docs/templates/articles/manifest/default_locale.html
deleted file mode 100644
index ebf0ceb..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/default_locale.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<h1 id="default_locale">Manifest - Default Locale</h1>
-
-<p>
-Specifies the subdirectory of <code>_locales</code>
-that contains the default strings for this extension.
-This field is <b>required</b> in extensions
-that have a <code>_locales</code> directory;
-it <b>must be absent</b> in extensions
-that have no <code>_locales</code> directory.
-For details, see
-<a href="http://developer.chrome.com/extensions/i18n.html">Internationalization</a>.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/description.html b/chrome/common/extensions/docs/templates/articles/manifest/description.html
deleted file mode 100644
index 8bd199c..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/description.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<h1 id="description">Manifest - Description</h1>
-
-<p>
-A plain text string
-(no HTML or other formatting;
-no more than 132 characters)
-that describes the extension.
-The description should be suitable for both
-the browser's extension management UI
-and the <a href="https://chrome.google.com/webstore">Chrome Web Store</a>.
-You can specify locale-specific strings for this field;
-see <a href="http://developer.chrome.com/extensions/i18n.html">Internationalization</a> for details.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/file_handlers.html b/chrome/common/extensions/docs/templates/articles/manifest/file_handlers.html
deleted file mode 100644
index e2ee9dc..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/file_handlers.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<h1 id="file_handlers">Manifest - File Handlers</h1>
-
-<p>
-Used by <a href="../apps/app_lifecycle.html#eventpage">packaged apps</a>
-to specify what types of files the app can handle. An app can have multiple <code>file_handlers</code>, with each one having an identifier, a list of MIME types and/or a list of file extensions that can be handled, and
-a title. Here's an example of specifying file handlers:
-</p>
-
-<pre>
-"file_handlers": {
- "text": {
- "types": [
- "text/*"
- ],
- "title": "Text editor"
- },
- "image": {
- "types": [
- "image/png",
- "image/jpeg"
- ],
- "extensions": [
- "tiff"
- ]
- "title": "Image editor"
- },
- "any": {
- "extensions": [
- "*"
- ]
- "title": "Any file type editor"
- }
-}
-</pre>
-
-<p>
-To handle files, apps also need to declare the $ref:fileSystem
-permission. Apps can then be passed files in the $ref:app.runtime.onLaunched
-event - either from the system
-file manager (currently supported on ChromeOS only) or by providing
-a path on the <a href="../apps/first_app.html#open">command line</a>.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/homepage_url.html b/chrome/common/extensions/docs/templates/articles/manifest/homepage_url.html
deleted file mode 100644
index 6e60f3a..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/homepage_url.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<h1 id="homepage_url">Manifest - Homepage Url</h1>
-
-<p>
-The URL of the homepage for this extension. The extensions management page (chrome://extensions)
-will contain a link to this URL. This field is particularly useful if you
-<a href="http://developer.chrome.com/extensions/hosting.html">host the extension on your own site</a>. If you distribute your
-extension using the <a href="https://chrome.google.com/webstore">Chrome Web Store</a>,
-the homepage URL defaults to the extension's own page.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/icons.html b/chrome/common/extensions/docs/templates/articles/manifest/icons.html
deleted file mode 100644
index 5432af4..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/icons.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<h1 id="icons">Manifest - Icons</h1>
-
-<p>
-One or more icons that represent the extension, app, or theme.
-You should always provide a 128x128 icon;
-it's used during installation and by the Chrome Web Store.
-Extensions should also provide a 48x48 icon,
-which is used in the extensions management page
-(chrome://extensions).
-You can also specify a 16x16 icon to be used as the favicon
-for an extension's pages.
-The 16x16 icon is also displayed in the experimental extension
-<a href="http://developer.chrome.com/extensions/experimental.infobars.html">infobar</a>
-feature.
-</p>
-
-<p>
-Icons should generally be in PNG format,
-because PNG has the best support for transparency.
-They can, however, be in any format supported by WebKit,
-including BMP, GIF, ICO, and JPEG.
-Here's an example of specifying the icons:
-</p>
-
-<pre class="prettyprint"><span class="str">"icons"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span><span class="str">"16"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"icon16.png"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"48"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"icon48.png"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"128"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"icon128.png"</span><span class="pln"> </span><span class="pun">},</span></pre>
-
-<p class="note">
-<b>Important:</b>
-Use only the documented icon sizes.
-<br><br>
-You might notice that Chrome sometimes resizes these icons down to smaller
-sizes. For example, the install dialog might shrink the 128-pixel
-icon down to 69 pixels.
-<br><br>
-However, the details of
-Chrome's UI may change between versions, and these changes assume that
-developers are using the documented sizes. If you use other sizes,
-your icon may look bad in future versions of the browser.
-</p>
-
-<p>
-If you upload your extension, app, or theme using the
-<a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Developer Dashboard</a>,
-you'll need to upload additional images,
-including at least one screenshot of your extension.
-For more information,
-see the
-<a href="http://code.google.com/chrome/webstore/">Chrome Web Store
-developer documentation</a>.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/incognito.html b/chrome/common/extensions/docs/templates/articles/manifest/incognito.html
deleted file mode 100644
index 7079bfd..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/incognito.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<h1 id="incognito">Manifest - Incognito</h1>
-
-<p>
-Either "spanning" or "split", to specify how this extension will
-behave if allowed to run in incognito mode.
-</p>
-
-<p>
-The default for extensions is "spanning", which means that the extension
-will run in a single shared process. Any events or messages from an incognito
-tab will be sent to the shared process, with an <em>incognito</em> flag
-indicating where it came from. Because incognito tabs cannot use this shared
-process, an extension using the "spanning" incognito mode will not be able to
-load pages from its extension package into the main frame of an incognito tab.
-</p>
-
-<p>
-The default for installable web apps is "split",
-which means that all app pages in
-an incognito window will run in their own incognito process. If the app or extension contains a background page, that will also run in the incognito process.
-This incognito process runs along side the regular process, but has a separate
-memory-only cookie store. Each process sees events and messages only from its
-own context (for example, the incognito process will see only incognito tab updates).
-The processes are unable to communicate with each other.
-</p>
-
-<p>
-As a rule of thumb, if your extension or app needs to load a tab in an incognito browser, use
-<em>split</em> incognito behavior. If your extension or app needs to be logged
-into a remote server or persist settings locally, use <em>spanning</em>
-incognito behavior.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/key.html b/chrome/common/extensions/docs/templates/articles/manifest/key.html
deleted file mode 100644
index c08b02e..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/key.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<h1 id="key">Manifest - Key</h1>
-
-<p>
-This value can be used to control
-the unique ID of an extension, app, or theme when
-it is loaded during development.
-</p>
-
-<p class="note">
-<b>Note:</b> You don't usually need to
-use this value. Instead, write your
-code so that the key value doesn't matter
-by using <a href="http://developer.chrome.com/extensions/overview.html#relative-urls">relative paths</a>
-and <a href="http://developer.chrome.com/extensions/extension.html#method-getURL">extension.getURL</a>.
-</p>
-
-<p>
-To get a suitable key value, first
-install your extension from a <code>.crx</code> file
-(you may need to
-<a href="https://chrome.google.com/webstore/developer/dashboard">upload your extension</a>
-or <a href="http://developer.chrome.com/extensions/packaging.html">package it manually</a>).
-Then, in your
-<a href="http://www.chromium.org/user-experience/user-data-directory">user
-data directory</a>, look in the file
-<code>Default/Extensions/<em>&lt;extensionId&gt;</em>/<em>&lt;versionString&gt;</em>/manifest.json</code>.
-You will see the key value filled in there.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/kiosk_enabled.html b/chrome/common/extensions/docs/templates/articles/manifest/kiosk_enabled.html
deleted file mode 100644
index 0256389..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/kiosk_enabled.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<h1 id="kiosk_enabled">Manifest - Kiosk Enabled</h1>
-
-<p>
-Whether the packaged app is designed to expected to work in ChromeOS kiosk mode.
-In kiosk mode, the platform app window will cover the entire surface of the
-display (forced full screen). The kiosk-enabled apps are expected to be designed
-with this constraint in mind.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/manifest_version.html b/chrome/common/extensions/docs/templates/articles/manifest/manifest_version.html
deleted file mode 100644
index 4d18c4e..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/manifest_version.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<h1 id="manifest_version">Manifest Version</h1>:
-
-<p>
-One integer specifying the version of the manifest file format your package
-requires. As of Chrome 18, developers <em>should</em> specify <code>2</code>
-(without quotes) to use the format as described by this document:
-</p>
-
-<pre class="prettyprint"><span class="str">"manifest_version"</span><span class="pun">:</span><span class="pln"> </span><span class="lit">2</span></pre>
-
-<p>
-Consider manifest version 1 <em>deprecated</em> as of Chrome 18. Version 2 is
-not yet <em>required</em>, but we will, at some point in the not-too-distant
-future, stop supporting packages using deprecated manifest versions. Extensions,
-applications, and themes that aren't ready to make the jump to the new manifest
-version in Chrome 18 can either explicitly specify version <code>1</code>, or
-leave the key off entirely.
-</p>
-
-<p>
-The changes between version 1 and version 2 of the manifest file format are
-described in detail in <a href="http://developer.chrome.com/extensions/manifestVersion.html">the
-<code>manifest_version</code> documentation.</a>
-</p>
-
-<p class="caution">
- Setting <code>manifest_version</code> 2 in Chrome 17 or lower is not
- recommended. If your extension needs to work in older versions of Chrome,
- stick with version 1 for the moment. We'll give you ample warning before
- version 1 stops working.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/minimum_chrome_version.html b/chrome/common/extensions/docs/templates/articles/manifest/minimum_chrome_version.html
deleted file mode 100644
index 7164987..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/minimum_chrome_version.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<h1 id="minimum_chrome_version">Manifest - Minimum Chrome Version</h1>
-
-<p>
-The version of Chrome that your extension, app, or theme requires, if any.
-The format for this string is the same as for the
-<a href="http://developer.chrome.com/extensions/manifest.html#version">version</a> field.
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/nacl_modules.html b/chrome/common/extensions/docs/templates/articles/manifest/nacl_modules.html
deleted file mode 100644
index 2e4c0ac..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/nacl_modules.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<h1 id="nacl_modules">Manifest - Nacl Modules</h1>
-
-<p>
-One or more mappings from MIME types to the Native Client module
-that handles each type.
-For example, the bold code in the following snippet
-registers a Native Client module as the content handler
-for the OpenOffice spreadsheet MIME type.
-</p>
-
-<pre class="prettyprint"><span class="pun">{</span><span class="pln">
- </span><span class="str">"name"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"Native Client OpenOffice Spreadsheet Viewer"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"version"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"0.1"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"description"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"Open OpenOffice spreadsheets, right in your browser."</span><span class="pun">,</span><span class="pln">
- </span><b><span class="str">"nacl_modules"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[{</span><span class="pln">
- </span><span class="str">"path"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"OpenOfficeViewer.nmf"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"mime_type"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"application/vnd.oasis.opendocument.spreadsheet"</span><span class="pln">
- </span><span class="pun">}]</span></b><span class="pln">
-</span><span class="pun">}</span></pre>
-
-<p>
-The value of "path" is the location of a Native Client manifest
-(a <code>.nmf</code> file)
-within the extension directory.
-For more information on Native Client and <code>.nmf</code> files, see the
-<a href="http://code.google.com/chrome/nativeclient/docs/technical_overview.html">Native Client Technical Overview</a>.
-</p>
-
-<p>
-Each MIME type can be associated with only one <code>.nmf</code> file,
-but a single <code>.nmf</code> file might handle multiple MIME types.
-The following example shows an extension
-with two <code>.nmf</code> files
-that handle three MIME types.
-</p>
-
-<pre class="prettyprint"><span class="pun">{</span><span class="pln">
- </span><span class="str">"name"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"Spreadsheet Viewer"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"version"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"0.1"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"description"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"Open OpenOffice and Excel spreadsheets, right in your browser."</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"nacl_modules"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[{</span><span class="pln">
- </span><span class="str">"path"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"OpenOfficeViewer.nmf"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"mime_type"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"application/vnd.oasis.opendocument.spreadsheet"</span><span class="pln">
- </span><span class="pun">},</span><span class="pln">
- </span><span class="pun">{</span><span class="pln">
- </span><span class="str">"path"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"OpenOfficeViewer.nmf"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"mime_type"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"application/vnd.oasis.opendocument.spreadsheet-template"</span><span class="pln">
- </span><span class="pun">},</span><span class="pln">
- </span><span class="pun">{</span><span class="pln">
- </span><span class="str">"path"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"ExcelViewer.nmf"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"mime_type"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"application/excel"</span><span class="pln">
- </span><span class="pun">}]</span><span class="pln">
-</span><span class="pun">}</span></pre>
-
-<p class="note">
-<strong>Note:</strong>
-You can use Native Client modules in extensions
-without specifying "nacl_modules".
-Use "nacl_modules" only if you want the browser
-to use your Native Client module
-to display a particular type of content.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/name.html b/chrome/common/extensions/docs/templates/articles/manifest/name.html
deleted file mode 100644
index a13bc05..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/name.html
+++ /dev/null
@@ -1,12 +0,0 @@
-</p><h1 id="name">Manifest - Name</h1>
-
-<p>
-A short, plain text string
-(no more than 45 characters)
-that identifies the extension.
-The name is used in the install dialog,
-extension management UI,
-and the <a href="https://chrome.google.com/webstore">store</a>.
-You can specify locale-specific strings for this field;
-see <a href="http://developer.chrome.com/extensions/i18n.html">Internationalization</a> for details.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/offline_enabled.html b/chrome/common/extensions/docs/templates/articles/manifest/offline_enabled.html
deleted file mode 100644
index d9a5638..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/offline_enabled.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<h1 id="offline_enabled">Manifest - Offline Enabled</h1>
-
-<p>
-Whether the app or extension is expected to work offline. When Chrome detects
-that it is offline, apps with this field set to true will be highlighted
-on the New Tab page.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/requirements.html b/chrome/common/extensions/docs/templates/articles/manifest/requirements.html
deleted file mode 100644
index da7f0fe..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/requirements.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<h1 id="requirements">Manifest - Requirements</h1>
-
-<p>
-Technologies required by the app or extension.
-Hosting sites such as the Chrome Web Store may use this list
-to dissuade users from installing apps or extensions
-that will not work on their computer.
-Supported requirements currently include "3D" and "plugins";
-additional requirements checks may be added in the future.
-</p>
-
-<p>
-The "3D" requirement denotes GPU hardware acceleration.
-The "webgl" requirement refers to the
-<a href="http://www.khronos.org/webgl/">WebGL API</a>.
-For more information on Chrome 3D graphics support,
-see the help article on
-<a href="http://www.google.com/support/chrome/bin/answer.py?answer=1220892">WebGL and 3D graphics</a>.
-You can list the 3D-related features your app requires,
-as demonstrated in the following example:
-</p>
-
-<pre class="prettyprint"><span class="str">"requirements"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
- </span><span class="str">"3D"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
- </span><span class="str">"features"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="str">"webgl"</span><span class="pun">]</span><span class="pln">
- </span><span class="pun">}</span><span class="pln">
-</span><span class="pun">}</span></pre>
-
-<p>
-The "plugins" requirement indicates
-if an app or extension requires NPAPI to run.
-This requirement is enabled by default
-when the manifest includes the
-<a href="http://developer.chrome.com/extensions/npapi.html">"plugins" field</a>.
-For apps and extensions that still work when plugins aren't available,
-you can disable this requirement
-by setting NPAPI to false.
-You can also enable this requirement manually,
-by setting NPAPI to true,
-as shown in this example:
-</p>
-
-<pre class="prettyprint"><span class="str">"requirements"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
- </span><span class="str">"plugins"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
- </span><span class="str">"npapi"</span><span class="pun">:</span><span class="pln"> </span><span class="kwd">true</span><span class="pln">
- </span><span class="pun">}</span><span class="pln">
-</span><span class="pun">}</span></pre>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/sandbox.html b/chrome/common/extensions/docs/templates/articles/manifest/sandbox.html
deleted file mode 100644
index 64876d9..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/sandbox.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<h1 id="sandbox">Manifest - Sandbox</h1>
-
-<p>
-Defines an collection of app or extension pages that are to be served
-in a sandboxed unique origin, and optionally a Content Security Policy to use
-with them. Being in a sandbox has two implications:
-</p>
-
-<ol>
-<li>A sandboxed page will not have access to extension or app APIs, or
-direct access to non-sandboxed pages (it may communicate with them via
-<code>postMessage()</code>).</li>
-<li>
- <p>A sandboxed page is not subject to the
- <a href="http://developer.chrome.com/extensions/contentSecurityPolicy.html">Content Security Policy
- (CSP)</a> used by the rest of the app or extension (it has its own separate
- CSP value). This means that, for example, it can use inline script and
- <code>eval</code>.</p>
-
- <p>For example, here's how to specify that two extension pages are to be
- served in a sandbox with a custom CSP:</p>
-
- <pre class="prettyprint"><span class="pun">{</span><span class="pln">
- </span><span class="pun">...</span><span class="pln">
- </span><span class="str">"sandbox"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
- </span><span class="str">"pages"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
- </span><span class="str">"page1.html"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"directory/page2.html"</span><span class="pln">
- </span><span class="pun">]</span><span class="pln">
- </span><i><span class="com">// content_security_policy is optional.</span></i><span class="pln">
- </span><span class="str">"content_security_policy"</span><span class="pun">:</span><span class="pln">
- </span><span class="str">"sandbox allow-scripts; script-src https://www.google.com"</span><span class="pln">
- </span><span class="pun">],</span><span class="pln">
- </span><span class="pun">...</span><span class="pln">
-</span><span class="pun">}</span></pre>
-
- <p>
- If not specified, the default <code>content_security_policy</code> value is
- <code>sandbox allow-scripts allow-forms</code>. You can specify your CSP
- value to restrict the sandbox even further, but it must have the <code>sandbox</code>
- directive and may not have the <code>allow-same-origin</code> token (see
- <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-sandbox">the
- HTML5 specification</a> for possible sandbox tokens).
- </p>
-</li>
-</ol>
-
-<p>
-Note that you only need to list pages that you expected to be loaded in
-windows or frames. Resources used by sandboxed pages (e.g. stylesheets or
-JavaScript source files) do not need to appear in the
-<code>sandboxed_page</code> list, they will use the sandbox of the page
-that embeds them.
-</p>
-
-<p>
-<a href="http://developer.chrome.com/extensions/sandboxingEval.html">"Using eval in Chrome Extensions. Safely."</a>
-goes into more detail about implementing a sandboxing workflow that enables use
-of libraries that would otherwise have issues executing under extension's
-<a href="http://developer.chrome.com/extensions/contentSecurityPolicy.html">default Content Security
-Policy</a>.
-</p>
-
-<p>
-Sandboxed page may only be specified when using
-<a href="http://developer.chrome.com/extensions/manifest.html#manifest_version"><code>manifest_version</code></a> 2 or above.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/version.html b/chrome/common/extensions/docs/templates/articles/manifest/version.html
deleted file mode 100644
index 2b7406b..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/version.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<h1 id="version">Manifest - Version</h1>
-
-<p>
-One to four dot-separated integers
-identifying the version of this extension.
-A couple of rules apply to the integers:
-they must be between 0 and 65535, inclusive,
-and non-zero integers can't start with 0.
-For example, 99999 and 032 are both invalid.
-</p>
-
-<p>
-Here are some examples of valid versions:
-</p>
-
-<ul>
- <li> <code>"version": "1"</code> </li>
- <li> <code>"version": "1.0"</code> </li>
- <li> <code>"version": "2.10.2"</code> </li>
- <li> <code>"version": "3.1.2.4567"</code> </li>
-</ul>
-
-<p>
-The autoupdate system compares versions
-to determine whether an installed extension
-needs to be updated.
-If the published extension has a newer version string
-than the installed extension,
-then the extension is automatically updated.
-</p>
-
-<p>
-The comparison starts with the leftmost integers.
-If those integers are equal,
-the integers to the right are compared,
-and so on.
-For example, 1.2.0 is a newer version than 1.1.9.9999.
-</p>
-
-<p>
-A missing integer is equal to zero.
-For example, 1.1.9.9999 is newer than 1.1.
-</p>
-
-<p>
-For more information, see
-<a href="http://developer.chrome.com/extensions/autoupdate.html">Autoupdating</a>.
-</p>
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/web_accessible_resources.html b/chrome/common/extensions/docs/templates/articles/manifest/web_accessible_resources.html
deleted file mode 100644
index e62097b..0000000
--- a/chrome/common/extensions/docs/templates/articles/manifest/web_accessible_resources.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<h1 id="web_accessible_resources">Manifest - Web Accessible Resources</h1>
-
-<p>
-An array of strings specifying the paths (relative to the package root) of
-packaged resources that are expected to be usable in the context of a web page.
-For example, an extension that injects a content script with the intention of
-building up some custom interface for <code>example.com</code> would whitelist
-any resources that interface requires (images, icons, stylesheets, scripts,
-etc.) as follows:
-</p>
-
-<pre class="prettyprint"><span class="pun">{</span><span class="pln">
- </span><span class="pun">...</span><span class="pln">
- </span><span class="str">"web_accessible_resources"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
- </span><span class="str">"images/my-awesome-image1.png"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"images/my-amazing-icon1.png"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"style/double-rainbow.css"</span><span class="pun">,</span><span class="pln">
- </span><span class="str">"script/double-rainbow.js"</span><span class="pln">
- </span><span class="pun">],</span><span class="pln">
- </span><span class="pun">...</span><span class="pln">
-</span><span class="pun">}</span></pre>
-
-<p>
-These resources would then be available in a webpage via the URL
-<code>chrome-extension://[PACKAGE ID]/[PATH]</code>, which can be generated with
-the <a href="http://developer.chrome.com/extensions/extension.html#method-getURL">extension.getURL</a> method. Whitelisted resources are served with appropriate
-<a href="http://www.w3.org/TR/cors/">CORS</a> headers, so they're available via
-mechanisms like XHR.
-</p>
-
-<p>
-Injected content scripts themselves do not need to be whitelisted.
-</p>
-
-<p>
-Prior to manifest version 2 all resources within an extension could be accessed
-from any page on the web. This allowed a malicious website to
-<a href="http://en.wikipedia.org/wiki/Device_fingerprint">fingerprint</a> the
-extensions that a user has installed or exploit vulnerabilities (for example
-<a href="http://en.wikipedia.org/wiki/Cross-site_scripting">XSS bugs</a>)within
-installed extensions. Limiting availability to only resources which are
-explicitly intended to be web accessible serves to both minimize the available
-attack surface and protect the privacy of users.
-</p>
-
-<h2 id="availability">Default Availability</h2>
-
-<p>
-Resources inside of packages using <a href="http://developer.chrome.com/extensions/manifest.html#manifest_version"><code>manifest_version</code></a>
-2 or above are <strong>blocked by default</strong>, and must be whitelisted
-for use via this property.
-</p>
-
-<p>
-Resources inside of packages using <code>manifest_version</code> 1 are available
-by default, but <em>if</em> you do set this property, then it will be treated as
-a complete list of all whitelisted resources. Resources not listed will be
-blocked.
-</p>
diff --git a/chrome/common/extensions/docs/templates/json/apps_sidenav.json b/chrome/common/extensions/docs/templates/json/apps_sidenav.json
index cd52344..831d423 100644
--- a/chrome/common/extensions/docs/templates/json/apps_sidenav.json
+++ b/chrome/common/extensions/docs/templates/json/apps_sidenav.json
@@ -4,15 +4,15 @@
"items": [
{
"title": "What Are Packaged Apps?",
- "url": "/apps/about_apps.html"
+ "fileName": "about_apps.html"
},
{
"title": "Understand the Architecture",
- "url": "/apps/app_architecture.html"
+ "fileName": "app_architecture.html"
},
{
"title": "Create Your First App",
- "url": "/apps/first_app.html"
+ "fileName": "first_app.html"
}
]
},
@@ -21,7 +21,7 @@
"items": [
{
"title": "Before You Start",
- "url": "/apps/develop_apps.html"
+ "fileName": "develop_apps.html"
},
{
"title": "The Fundamentals",
@@ -29,19 +29,19 @@
"items": [
{
"title": "Manage App Lifecycle",
- "url": "/apps/app_lifecycle.html"
+ "fileName": "app_lifecycle.html"
},
{
"title": "Manage Data",
- "url": "/apps/app_storage.html"
+ "fileName": "app_storage.html"
},
{
"title": "Offline First",
- "url": "/apps/offline_apps.html"
+ "fileName": "offline_apps.html"
},
{
"title": "Embed Content",
- "url": "/apps/app_external.html"
+ "fileName": "app_external.html"
}
]
},
@@ -51,40 +51,40 @@
"items": [
{
"title": "About this Codelab",
- "url": "/apps/app_codelab.html"
+ "fileName": "app_codelab.html"
},
{
"title": "1 - Set Up Development Environment",
- "url": "/apps/app_codelab1_setup.html"
+ "fileName": "app_codelab1_setup.html"
},
{
"title": "2 - Create Basic App",
- "url": "/apps/app_codelab2_basic.html"
+ "fileName": "app_codelab2_basic.html"
},
{
"title": "3 - Create MVC",
- "url": "/apps/app_codelab3_mvc.html"
+ "fileName": "app_codelab3_mvc.html"
},
{
"title": "4 - Save and Fetch Data",
- "url": "/apps/app_codelab5_data.html"
+ "fileName": "app_codelab5_data.html"
},
{
"title": "5 - Manage App Lifecycle",
- "url": "/apps/app_codelab6_lifecycle.html"
+ "fileName": "app_codelab6_lifecycle.html"
},
-
+
{
- "title": "6 - Access User's Data",
- "url": "/apps/app_codelab7_useridentification.html"
+ "title": "6 - Access User's Data",
+ "fileName": "app_codelab7_useridentification.html"
},
{
"title": "7 - Access Web Resources",
- "url": "/apps/app_codelab8_webresources.html"
+ "fileName": "app_codelab8_webresources.html"
},
{
"title": "8 - Publish App",
- "url": "/apps/app_codelab_10_publishing.html"
+ "fileName": "app_codelab_10_publishing.html"
}
]
},
@@ -94,11 +94,11 @@
"items": [
{
"title": "Identify User",
- "url": "/apps/app_identity.html"
+ "fileName": "app_identity.html"
},
{
"title": "Comply with CSP",
- "url": "/apps/app_csp.html"
+ "fileName": "app_csp.html"
}
]
},
@@ -112,25 +112,25 @@
"items": [
{
"title": "About Cloud Messaging",
- "url": "/apps/cloudMessaging.html"
+ "fileName": "cloudMessaging.html"
},
{
"title": "Client Reference",
- "url": "/apps/pushMessaging.html"
+ "fileName": "pushMessaging.html"
},
{
"title": "Service Reference",
- "url": "/apps/gcm_server.html"
+ "fileName": "gcm_server.html"
},
{
"title": "Terms of Service",
- "url": "/apps/gcm_tos.html"
+ "fileName": "gcm_tos.html"
}
]
},
{
"title": "Desktop Notifications",
- "url": "/apps/desktop_notifications.html"
+ "fileName": "desktop_notifications.html"
}
]
},
@@ -140,11 +140,11 @@
"items": [
{
"title": "Network Communications",
- "url": "/apps/app_network.html"
+ "fileName": "app_network.html"
},
{
"title": "Access Hardware Devices",
- "url": "/apps/app_hardware.html"
+ "fileName": "app_hardware.html"
}
]
},
@@ -154,15 +154,15 @@
"items": [
{
"title": "About MVC Architecture",
- "url": "/apps/app_frameworks.html"
+ "fileName": "app_frameworks.html"
},
{
"title": "Build Apps with AngularJS",
- "url": "/apps/angular_framework.html"
+ "fileName": "angular_framework.html"
},
{
"title": "Build Apps with Sencha Ext JS",
- "url": "/apps/sencha_framework.html"
+ "fileName": "sencha_framework.html"
}
]
}
@@ -173,7 +173,7 @@
"items": [
{
"title": "Publish",
- "url": "/apps/publish_app.html"
+ "fileName": "publish_app.html"
}
]
},
@@ -182,23 +182,23 @@
"items": [
{
"title": "Manifest Files",
- "url": "/apps/manifest.html"
+ "fileName": "manifest.html"
},
{
"title": "Chrome JavaScript APIs",
- "url": "/apps/api_index.html"
+ "fileName": "api_index.html"
},
{
"title": "Webview Tag API",
- "url": "/apps/webview_tag.html"
+ "fileName": "webview_tag.html"
},
{
"title": "Supported Libraries",
- "url": "/apps/api_other.html"
+ "fileName": "api_other.html"
},
{
"title": "Disabled Web Features",
- "url": "/apps/app_deprecated.html"
+ "fileName": "app_deprecated.html"
}
]
},
@@ -207,11 +207,11 @@
"items": [
{
"title": "FAQ",
- "url": "/apps/faq.html"
+ "fileName": "faq.html"
},
{
"title": "Samples",
- "url": "/apps/samples.html"
+ "fileName": "samples.html"
}
]
}
diff --git a/chrome/common/extensions/docs/templates/json/extensions_sidenav.json b/chrome/common/extensions/docs/templates/json/extensions_sidenav.json
index 9591aff..822ad948 100644
--- a/chrome/common/extensions/docs/templates/json/extensions_sidenav.json
+++ b/chrome/common/extensions/docs/templates/json/extensions_sidenav.json
@@ -1,19 +1,19 @@
[
{
"title": "Getting Started",
- "url": "/extensions/getstarted.html"
+ "fileName": "getstarted.html"
},
{
"title": "Overview",
- "url": "/extensions/overview.html"
+ "fileName": "overview.html"
},
{
"title": "What's New?",
- "url": "/extensions/whats_new.html"
+ "fileName": "whats_new.html"
},
{
"title": "Developer's Guide",
- "url": "/extensions/devguide.html",
+ "fileName": "devguide.html",
"items": [
{
"title": "Browser UI",
@@ -21,31 +21,31 @@
"items": [
{
"title": "Browser Actions",
- "url": "/extensions/browserAction.html"
+ "fileName": "browserAction.html"
},
{
"title": "Context Menus",
- "url": "/extensions/contextMenus.html"
+ "fileName": "contextMenus.html"
},
{
"title": "Desktop Notifications",
- "url": "/extensions/desktop_notifications.html"
+ "fileName": "desktop_notifications.html"
},
{
"title": "Omnibox",
- "url": "/extensions/omnibox.html"
+ "fileName": "omnibox.html"
},
{
"title": "Options Pages",
- "url": "/extensions/options.html"
+ "fileName": "options.html"
},
{
"title": "Override Pages",
- "url": "/extensions/override.html"
+ "fileName": "override.html"
},
{
"title": "Page Actions",
- "url": "/extensions/pageAction.html"
+ "fileName": "pageAction.html"
}
]
},
@@ -55,35 +55,35 @@
"items": [
{
"title": "Bookmarks",
- "url": "/extensions/bookmarks.html"
+ "fileName": "bookmarks.html"
},
{
"title": "Cookies",
- "url": "/extensions/cookies.html"
+ "fileName": "cookies.html"
},
{
"title": "Developer Tools",
- "url": "/extensions/devtools.html"
+ "fileName": "devtools.html"
},
{
"title": "Events",
- "url": "/extensions/events.html"
+ "fileName": "events.html"
},
{
"title": "History",
- "url": "/extensions/history.html"
+ "fileName": "history.html"
},
{
"title": "Management",
- "url": "/extensions/management.html"
+ "fileName": "management.html"
},
{
"title": "Tabs",
- "url": "/extensions/tabs.html"
+ "fileName": "tabs.html"
},
{
"title": "Windows",
- "url": "/extensions/windows.html"
+ "fileName": "windows.html"
}
]
},
@@ -93,39 +93,39 @@
"items": [
{
"title": "Accessibility",
- "url": "/extensions/a11y.html"
+ "fileName": "a11y.html"
},
{
"title": "Event Pages",
- "url": "/extensions/event_pages.html"
+ "fileName": "event_pages.html"
},
{
"title": "Content Security Policy",
- "url": "/extensions/contentSecurityPolicy.html"
+ "fileName": "contentSecurityPolicy.html"
},
{
"title": "Content Scripts",
- "url": "/extensions/content_scripts.html"
+ "fileName": "content_scripts.html"
},
{
"title": "Cross-Origin XHR",
- "url": "/extensions/xhr.html"
+ "fileName": "xhr.html"
},
{
"title": "Internationalization",
- "url": "/extensions/i18n.html"
+ "fileName": "i18n.html"
},
{
"title": "Message Passing",
- "url": "/extensions/messaging.html"
+ "fileName": "messaging.html"
},
{
"title": "Optional Permissions",
- "url": "/extensions/permissions.html"
+ "fileName": "permissions.html"
},
{
"title": "NPAPI Plugins",
- "url": "/extensions/npapi.html"
+ "fileName": "npapi.html"
}
]
},
@@ -135,11 +135,11 @@
"items": [
{
"title": "Hosting",
- "url": "/extensions/hosting.html"
+ "fileName": "hosting.html"
},
{
"title": "Other Deployment Options",
- "url": "/extensions/external_extensions.html"
+ "fileName": "external_extensions.html"
}
]
}
@@ -147,23 +147,23 @@
},
{
"title": "Tutorials",
- "url": "/extensions/tutorials.html",
+ "fileName": "tutorials.html",
"items": [
{
"title": "Manifest V2",
- "url": "/extensions/tut_migration_to_manifest_v2.html"
+ "fileName": "tut_migration_to_manifest_v2.html"
},
{
"title": "Debugging",
- "url": "/extensions/tut_debugging.html"
+ "fileName": "tut_debugging.html"
},
{
"title": "Google Analytics",
- "url": "/extensions/tut_analytics.html"
+ "fileName": "tut_analytics.html"
},
{
"title": "OAuth",
- "url": "/extensions/tut_oauth.html"
+ "fileName": "tut_oauth.html"
}
]
},
@@ -176,25 +176,25 @@
"items": [
{
"title": "Manifest Files",
- "url": "/extensions/manifest.html"
+ "fileName": "manifest.html"
},
{
"title": "Match Patterns",
- "url": "/extensions/match_patterns.html"
+ "fileName": "match_patterns.html"
}
]
},
{
"title": "Permission Warnings",
- "url": "/extensions/permission_warnings.html"
+ "fileName": "permission_warnings.html"
},
{
"title": "chrome.* APIs",
- "url": "/extensions/api_index.html"
+ "fileName": "api_index.html"
},
{
"title": "Other APIs",
- "url": "/extensions/api_other.html"
+ "fileName": "api_other.html"
}
]
},
@@ -203,19 +203,19 @@
"items": [
{
"title": "FAQ",
- "url": "/extensions/faq.html"
+ "fileName": "faq.html"
},
{
"title": "Chrome Web Store",
- "url": "http://code.google.com/chrome/webstore/docs/index.html"
+ "fileName": "http://code.google.com/chrome/webstore/docs/index.html"
},
{
"title": "Hosted Apps",
- "url": "http://code.google.com/chrome/apps/docs/developers_guide.html"
+ "fileName": "http://code.google.com/chrome/apps/docs/developers_guide.html"
},
{
"title": "Themes",
- "url": "/extensions/themes.html"
+ "fileName": "themes.html"
}
]
}
diff --git a/chrome/common/extensions/docs/templates/json/manifest.json b/chrome/common/extensions/docs/templates/json/manifest.json
deleted file mode 100644
index 4408a53..0000000
--- a/chrome/common/extensions/docs/templates/json/manifest.json
+++ /dev/null
@@ -1,176 +0,0 @@
-{
- "required": [
- {
- "documentation": "manifest/name.html",
- "example": "My Extension",
- "name": "name"
- },
- {
- "documentation": "manifest/app.html",
- "example": {},
- "name": "app"
- },
- {
- "documentation": "manifest/version.html",
- "example": "versionString",
- "name": "version"
- },
- {
- "documentation": "manifest/manifest_version.html",
- "example": 2,
- "name": "manifest_version"
- }
- ],
- "recommended": [
- {
- "documentation": "manifest/description.html",
- "example": "A plain text description",
- "name": "description"
- },
- {
- "documentation": "manifest/icons.html",
- "example": {},
- "name": "icons"
- },
- {
- "documentation": "manifest/default_locale.html",
- "example": "en",
- "name": "default_locale"
- }
- ],
- "only_one": [
- {
- "documentation": "browserAction.html",
- "example": {},
- "name": "browser_action"
- },
- {
- "documentation": "pageAction.html",
- "example": {},
- "name": "page_action"
- },
- {
- "documentation": "themes.html",
- "example": {},
- "name": "theme"
- }
- ],
- "optional": [
- {
- "documentation": "event_pages.html",
- "example": {
- "persistent": false
- },
- "name": "background"
- },
- {
- "documentation": "background_pages.html",
- "example": {
- "persistent": true
- },
- "name": "background.persistent"
- },
- {
- "documentation": "override.html",
- "example": {},
- "name": "chrome_url_overrides"
- },
- {
- "documentation": "content_scripts.html",
- "example": {},
- "name": "content_scripts"
- },
- {
- "documentation": "contentSecurityPolicy.html",
- "example": "policyString",
- "name": "content_security_policy"
- },
- {
- "documentation": "fileBrowserHandler.html",
- "example": [],
- "name": "file_browser_handlers"
- },
- {
- "documentation": "manifest/file_handlers.html",
- "example": {},
- "name": "file_handlers"
- },
- {
- "documentation": "manifest/homepage_url.html",
- "example": "http://path/to/homepage",
- "name": "homepage_url"
- },
- {
- "documentation": "manifest/incognito.html",
- "example": "spanning or split",
- "name": "incognito"
- },
- {
- "documentation": "manifest/key.html",
- "example": "publicKey",
- "name": "key"
- },
- {
- "documentation": "manifest/minimum_chrome_version.html",
- "example": "versionString",
- "name": "minimum_chrome_version"
- },
- {
- "documentation": "manifest/nacl_modules.html",
- "example": [],
- "name": "nacl_modules"
- },
- {
- "documentation": "manifest/kiosk_enabled.html",
- "example": true,
- "name": "kiosk_enabled"
- },
- {
- "documentation": "manifest/offline_enabled.html",
- "example": true,
- "name": "offline_enabled"
- },
- {
- "documentation": "omnibox.html",
- "example": {
- "keyword": "aString"
- },
- "name": "omnibox"
- },
- {
- "documentation": "options.html",
- "example": "aFile.html",
- "name": "options_page"
- },
- {
- "documentation": "declare_permissions.html",
- "example": [],
- "name": "permissions"
- },
- {
- "documentation": "npapi.html",
- "example": [],
- "name": "plugins"
- },
- {
- "documentation": "manifest/requirements.html",
- "example": {},
- "name": "requirements"
- },
- {
- "documentation": "autoupdate.html",
- "example": "http://path/to/updateInfo.xml",
- "name": "update_url"
- },
- {
- "documentation": "manifest/web_accessible_resources.html",
- "example": [],
- "name": "web_accessible_resources"
- },
- {
- "documentation": "manifest/sandbox.html",
- "example": [],
- "name": "sandbox"
- }
- ]
-}
diff --git a/chrome/common/extensions/docs/templates/private/header_body.html b/chrome/common/extensions/docs/templates/private/header_body.html
index b056ae6..fa7149c 100644
--- a/chrome/common/extensions/docs/templates/private/header_body.html
+++ b/chrome/common/extensions/docs/templates/private/header_body.html
@@ -22,7 +22,7 @@
<td>
<ul>
<li>
- <a href="/{{platform}}s/samples.html"
+ <a href="samples.html"
title="Sample {{title}} (with source code)">Samples</a>
</li>
<li>
diff --git a/chrome/common/extensions/docs/templates/private/manifest_example.html b/chrome/common/extensions/docs/templates/private/manifest_example.html
deleted file mode 100644
index ac4b730..0000000
--- a/chrome/common/extensions/docs/templates/private/manifest_example.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<pre>
-{
- <em>// Required</em>
- {{+partials.manifest_properties properties:manifest_source.required}}
-
- <em>// Recommended</em>
- {{+partials.manifest_properties properties:manifest_source.recommended}}
-
- {{?manifest_source.only_one}}
- <em>// Pick one (or none)</em>
- {{+partials.manifest_properties properties:manifest_source.only_one}}
-
- {{/manifest_source.only_one}}
- <em>// Optional</em>
- {{+partials.manifest_properties properties:manifest_source.optional}}
-}
-</pre>
diff --git a/chrome/common/extensions/docs/templates/private/manifest_properties.html b/chrome/common/extensions/docs/templates/private/manifest_properties.html
deleted file mode 100644
index 5637891..0000000
--- a/chrome/common/extensions/docs/templates/private/manifest_properties.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{{#properties}}
-{{?documentation}}
-"<a href="{{documentation}}">{{name}}</a>": <em>{{*example}}</em>{{^is_last}},{{/}}
-{{:documentation}}
-"{{name}}": ...{{^is_last}},{{/}}
-{{/documentation}}{{/properties}}
diff --git a/chrome/common/extensions/docs/templates/private/sidenav_item.html b/chrome/common/extensions/docs/templates/private/sidenav_item.html
index 2cfdf49..ad7c6cc 100644
--- a/chrome/common/extensions/docs/templates/private/sidenav_item.html
+++ b/chrome/common/extensions/docs/templates/private/sidenav_item.html
@@ -5,11 +5,11 @@
<div class="toggleIndicator level{{item.level}}{{?item.child_selected}} toggled{{/}}"></div>
</a>
{{:item.toggleable}}
- {{?item.url}}
- <a {{^item.selected}}href="{{item.url}}"{{/}} class="level{{item.level}} {{?item.selected}}selected{{/}}">{{item.title}}</a>
- {{:item.url}}
+ {{?item.fileName}}
+ <a {{^item.selected}}href="{{item.fileName}}"{{/}} class="level{{item.level}} {{?item.selected}}selected{{/}}">{{item.title}}</a>
+ {{:item.fileName}}
<span class="level{{item.level}}">{{item.title}}</span>
- {{/item.url}}
+ {{/item.fileName}}
{{/item.toggleable}}
{{?item.items}}
{{+partials.sidenav_items items:item.items parent:item}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/browserAction.html b/chrome/common/extensions/docs/templates/public/apps/browserAction.html
deleted file mode 100644
index ae1b726..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/browserAction.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_api api:apis.browser_action intro:intros.browserAction}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/fileBrowserHandler.html b/chrome/common/extensions/docs/templates/public/apps/fileBrowserHandler.html
deleted file mode 100644
index de0a261..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/fileBrowserHandler.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_api api:apis.file_browser_handler intro:intros.fileBrowserHandler}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest.html b/chrome/common/extensions/docs/templates/public/apps/manifest.html
index a561d56..d073c92 100644
--- a/chrome/common/extensions/docs/templates/public/apps/manifest.html
+++ b/chrome/common/extensions/docs/templates/public/apps/manifest.html
@@ -1 +1 @@
-{{+partials.standard_apps_article article:intros.apps_manifest}}
+{{+partials.standard_apps_article article:intros.manifest}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/app.html b/chrome/common/extensions/docs/templates/public/apps/manifest/app.html
deleted file mode 100644
index 73b8600..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/app.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/app}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/default_locale.html b/chrome/common/extensions/docs/templates/public/apps/manifest/default_locale.html
deleted file mode 100644
index 1f20876..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/default_locale.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/default_locale}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/description.html b/chrome/common/extensions/docs/templates/public/apps/manifest/description.html
deleted file mode 100644
index 8f8f0526..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/description.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/description}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/file_handlers.html b/chrome/common/extensions/docs/templates/public/apps/manifest/file_handlers.html
deleted file mode 100644
index fd2d5b0..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/file_handlers.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/file_handlers}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/homepage_url.html b/chrome/common/extensions/docs/templates/public/apps/manifest/homepage_url.html
deleted file mode 100644
index 3585b89..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/homepage_url.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/homepage_url}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/icons.html b/chrome/common/extensions/docs/templates/public/apps/manifest/icons.html
deleted file mode 100644
index b7bfdaa..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/icons.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/icons}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/incognito.html b/chrome/common/extensions/docs/templates/public/apps/manifest/incognito.html
deleted file mode 100644
index ae30ce9..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/incognito.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/incognito}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/key.html b/chrome/common/extensions/docs/templates/public/apps/manifest/key.html
deleted file mode 100644
index ca347ab..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/key.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/key}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/kiosk_enabled.html b/chrome/common/extensions/docs/templates/public/apps/manifest/kiosk_enabled.html
deleted file mode 100644
index 51ddd9e..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/kiosk_enabled.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/kiosk_enabled}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/manifest_version.html b/chrome/common/extensions/docs/templates/public/apps/manifest/manifest_version.html
deleted file mode 100644
index c9ee93e..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/manifest_version.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/manifest_version}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/minimum_chrome_version.html b/chrome/common/extensions/docs/templates/public/apps/manifest/minimum_chrome_version.html
deleted file mode 100644
index 895ee0f..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/minimum_chrome_version.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/minimum_chrome_version}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/nacl_modules.html b/chrome/common/extensions/docs/templates/public/apps/manifest/nacl_modules.html
deleted file mode 100644
index 8634f80..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/nacl_modules.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/nacl_modules}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/name.html b/chrome/common/extensions/docs/templates/public/apps/manifest/name.html
deleted file mode 100644
index 02d7631..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/name.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/name}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/offline_enabled.html b/chrome/common/extensions/docs/templates/public/apps/manifest/offline_enabled.html
deleted file mode 100644
index d4629ab..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/offline_enabled.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/offline_enabled}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/requirements.html b/chrome/common/extensions/docs/templates/public/apps/manifest/requirements.html
deleted file mode 100644
index bec86f6..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/requirements.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/requirements}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/sandbox.html b/chrome/common/extensions/docs/templates/public/apps/manifest/sandbox.html
deleted file mode 100644
index b287fcb..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/sandbox.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/sandbox}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/version.html b/chrome/common/extensions/docs/templates/public/apps/manifest/version.html
deleted file mode 100644
index d8283d9..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/version.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/version}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/manifest/web_accessible_resources.html b/chrome/common/extensions/docs/templates/public/apps/manifest/web_accessible_resources.html
deleted file mode 100644
index a98f7d1..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/manifest/web_accessible_resources.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_apps_article article:intros.manifest/web_accessible_resources}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/omnibox.html b/chrome/common/extensions/docs/templates/public/apps/omnibox.html
deleted file mode 100644
index 565382b..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/omnibox.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_api api:apis.omnibox intro:intros.omnibox}}
diff --git a/chrome/common/extensions/docs/templates/public/apps/pageAction.html b/chrome/common/extensions/docs/templates/public/apps/pageAction.html
deleted file mode 100644
index 2889fcb..0000000
--- a/chrome/common/extensions/docs/templates/public/apps/pageAction.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_api api:apis.page_action intro:intros.pageAction}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest.html b/chrome/common/extensions/docs/templates/public/extensions/manifest.html
index 1cfeb9f..7f40b8d 100644
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest.html
+++ b/chrome/common/extensions/docs/templates/public/extensions/manifest.html
@@ -1 +1 @@
-{{+partials.standard_extensions_article article:intros.extensions_manifest}}
+{{+partials.standard_extensions_article article:intros.manifest}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/default_locale.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/default_locale.html
deleted file mode 100644
index 6c3f1d2..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/default_locale.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/default_locale}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/description.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/description.html
deleted file mode 100644
index b43bda1..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/description.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/description}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/file_handlers.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/file_handlers.html
deleted file mode 100644
index e90e0f5..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/file_handlers.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/file_handlers}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/homepage_url.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/homepage_url.html
deleted file mode 100644
index b1c5770..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/homepage_url.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/homepage_url}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/icons.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/icons.html
deleted file mode 100644
index eff444d..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/icons.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/icons}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/incognito.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/incognito.html
deleted file mode 100644
index 81298e4..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/incognito.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/incognito}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/key.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/key.html
deleted file mode 100644
index 9f5a49b..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/key.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/key}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/kiosk_enabled.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/kiosk_enabled.html
deleted file mode 100644
index 65da888..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/kiosk_enabled.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/kiosk_enabled}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/manifest_version.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/manifest_version.html
deleted file mode 100644
index ac440bc..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/manifest_version.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/manifest_version}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/minimum_chrome_version.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/minimum_chrome_version.html
deleted file mode 100644
index 7cf63c1..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/minimum_chrome_version.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/minimum_chrome_version}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/nacl_modules.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/nacl_modules.html
deleted file mode 100644
index 9f6b32a..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/nacl_modules.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/nacl_modules}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/name.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/name.html
deleted file mode 100644
index 3726dc5..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/name.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/name}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/offline_enabled.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/offline_enabled.html
deleted file mode 100644
index 8c2994d..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/offline_enabled.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/offline_enabled}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/requirements.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/requirements.html
deleted file mode 100644
index 12ba4bc..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/requirements.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/requirements}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/sandbox.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/sandbox.html
deleted file mode 100644
index 169546d..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/sandbox.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/sandbox}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/version.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/version.html
deleted file mode 100644
index 44cd9df..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/version.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/version}}
diff --git a/chrome/common/extensions/docs/templates/public/extensions/manifest/web_accessible_resources.html b/chrome/common/extensions/docs/templates/public/extensions/manifest/web_accessible_resources.html
deleted file mode 100644
index bb5699b..0000000
--- a/chrome/common/extensions/docs/templates/public/extensions/manifest/web_accessible_resources.html
+++ /dev/null
@@ -1 +0,0 @@
-{{+partials.standard_extensions_article article:intros.manifest/web_accessible_resources}}