Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

Commit

Permalink
chore(ngdocs): expose showdown.js to docs pages and docs testing suite
Browse files Browse the repository at this point in the history
  • Loading branch information
matsko authored and IgorMinar committed Jun 7, 2013
1 parent 77c4fc6 commit 0317fd1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/gen-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down
1 change: 1 addition & 0 deletions docs/src/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 1 addition & 0 deletions karma-docs.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0317fd1

Please sign in to comment.