mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(ngdocs): expose showdown.js to docs pages and docs testing suite
This commit is contained in:
parent
77c4fc6847
commit
0317fd1651
3 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue