Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8e26750

Browse files
committedMay 4, 2012
chore(docs): re-skin main documentation
1 parent d015945 commit 8e26750

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+2753
-2724
lines changed
 

‎Rakefile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ task :compile => [:init, :compile_scenario, :compile_jstd_scenario_adapter] do
9090

9191
concat_module('resource', ['src/ngResource/resource.js'])
9292
concat_module('cookies', ['src/ngCookies/cookies.js'])
93+
concat_module('bootstrap', ['src/bootstrap/bootstrap.js'])
94+
concat_module('bootstrap-prettify', ['src/bootstrap/bootstrap-prettify.js',
95+
'src/bootstrap/google-prettify/prettify.js'],
96+
gen_css('src/bootstrap/google-prettify/prettify.css', true))
9397

9498

9599
FileUtils.cp 'src/ngMock/angular-mocks.js', path_to('angular-mocks.js')
@@ -99,6 +103,8 @@ task :compile => [:init, :compile_scenario, :compile_jstd_scenario_adapter] do
99103
closure_compile('angular-loader.js')
100104
closure_compile('angular-resource.js')
101105
closure_compile('angular-sanitize.js')
106+
closure_compile('angular-bootstrap.js')
107+
closure_compile('angular-bootstrap-prettify.js')
102108

103109
end
104110

@@ -159,10 +165,7 @@ task :package => [:clean, :compile, :docs] do
159165
"#{pkg_dir}/docs-#{NG_VERSION.full}/index-jq-debug.html"
160166
].each do |src|
161167
rewrite_file(src) do |content|
162-
content.sub!('angular.js', "angular-#{NG_VERSION.full}.js").
163-
sub!('angular-resource.js', "angular-resource-#{NG_VERSION.full}.js").
164-
sub!('angular-cookies.js', "angular-cookies-#{NG_VERSION.full}.js").
165-
sub!('angular-sanitize.js', "angular-sanitize-#{NG_VERSION.full}.js")
168+
content.gsub!(/'angular(.*)\.js/, '\'angular\1-' + NG_VERSION.full + '.js')
166169
end
167170
end
168171

@@ -305,8 +308,8 @@ def concat_file(filename, deps, footer='')
305308
end
306309

307310

308-
def concat_module(name, files)
309-
concat_file('angular-' + name + '.js', ['src/module.prefix'] + files + ['src/module.suffix'])
311+
def concat_module(name, files, footer='')
312+
concat_file('angular-' + name + '.js', ['src/module.prefix'] + files + ['src/module.suffix'], footer)
310313
end
311314

312315

‎angularFiles.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ angularFiles = {
5959
'src/ng/directive/ngView.js',
6060
'src/ng/directive/script.js',
6161
'src/ng/directive/select.js',
62-
'src/ng/directive/style.js'
62+
'src/ng/directive/style.js',
6363
],
6464

6565
'angularSrcModules': [
@@ -68,7 +68,9 @@ angularFiles = {
6868
'src/ngSanitize/sanitize.js',
6969
'src/ngSanitize/directive/ngBindHtml.js',
7070
'src/ngSanitize/filter/linky.js',
71-
'src/ngMock/angular-mocks.js'
71+
'src/ngMock/angular-mocks.js',
72+
73+
'src/bootstrap/bootstrap.js'
7274
],
7375

7476
'angularScenario': [
@@ -96,6 +98,7 @@ angularFiles = {
9698
'test/ngScenario/jstd-scenario-adapter/*.js',
9799
'test/*.js',
98100
'test/auto/*.js',
101+
'test/bootstrap/*.js',
99102
'test/ng/*.js',
100103
'test/ng/directive/*.js',
101104
'test/ng/filter/*.js',

0 commit comments

Comments
 (0)
Please sign in to comment.