mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
chore(ngdocs): expose showdown.js to docs pages and docs testing suite
This commit is contained in:
committed by
Igor Minar
parent
77c4fc6847
commit
0317fd1651
@@ -54,6 +54,8 @@ function writeTheRest(writesFuture) {
|
||||
writesFuture.push(writer.copyDir('components/components-font-awesome/font', 'components/font-awesome/font'));
|
||||
writesFuture.push(writer.copyDir('components/bootstrap', 'components/bootstrap'));
|
||||
|
||||
writesFuture.push(writer.copy('node_modules/showdown/src/showdown.js', 'components/showdown.js'));
|
||||
writesFuture.push(writer.copy('node_modules/showdown/compressed/showdown.js', 'components/showdown.min.js'));
|
||||
writesFuture.push(writer.copy('components/lunr.js/lunr.js', 'components/lunr.js'));
|
||||
writesFuture.push(writer.copy('components/lunr.js/lunr.min.js', 'components/lunr.min.js'));
|
||||
writesFuture.push(writer.copy('components/jquery/jquery.js', 'components/jquery.js'));
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
addTag('script', {src: 'components/angular-bootstrap-prettify.js' }, sync);
|
||||
addTag('script', {src: 'components/google-code-prettify.js' }, sync);
|
||||
addTag('script', {src: 'components/' + (debug ? 'lunr.js' : 'lunr.min.js') }, sync);
|
||||
addTag('script', {src: 'components/' + (debug ? 'showdown.js' : 'showdown.min.js') }, sync);
|
||||
addTag('script', {src: 'js/docs.js'}, sync);
|
||||
addTag('script', {src: 'docs-keywords.js'}, sync);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user