chore(ngdocs): expose showdown.js to docs pages and docs testing suite

This commit is contained in:
Matias Niemelä 2013-06-05 14:41:50 -04:00 committed by Igor Minar
parent 77c4fc6847
commit 0317fd1651
3 changed files with 4 additions and 0 deletions

View file

@ -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'));

View file

@ -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);

View file

@ -14,6 +14,7 @@ files = [
'build/docs/components/lib/lunr.js/lunr.js',
'build/docs/components/lib/google-code-prettify/src/prettify.js',
'build/docs/components/showdown.js',
'build/docs/components/angular-bootstrap.js',
'build/docs/components/angular-bootstrap-prettify.js',