Skip to content

Commit

Permalink
fix(build): publish docs as well and correct bench press docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tbosch committed Mar 27, 2015
1 parent 50f8892 commit 8c5d9d3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
10 changes: 8 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ var CONFIG = {
copy: {
js: {
cjs: {
src: ['modules/**/README.js.md', 'modules/**/package.json', 'modules/**/*.cjs'],
src: [
'modules/**/*.md', '!modules/**/*.dart.md', 'modules/**/*.png',
'modules/**/*.cjs'
],
pipes: {
'**/*.cjs': gulpPlugins.rename({extname: '.js'}),
'**/*.js.md': gulpPlugins.rename(function(file) {
Expand All @@ -171,7 +174,10 @@ var CONFIG = {
}
},
dart: {
src: ['modules/**/README.dart.md', 'modules/**/*.dart', 'modules/*/pubspec.yaml', 'modules/**/*.css', '!modules/**/e2e_test/**'],
src: [
'modules/**/*.md', '!modules/**/*.js.md', 'modules/**/*.png',
'modules/**/*.dart', 'modules/*/pubspec.yaml', 'modules/**/*.css', '!modules/**/e2e_test/**'
],
pipes: {
'**/*.dart': util.insertSrcFolder(gulpPlugins, SRC_FOLDER_INSERTION.dart),
'**/*.dart.md': gulpPlugins.rename(function(file) {
Expand Down
2 changes: 1 addition & 1 deletion modules/benchpress/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ When looking into the DevTools Timeline, we see a marker as well:

# Detailed overview

![Overview](overview.svg)
![Overview](overview.png)

Definitions:

Expand Down
Binary file added modules/benchpress/docs/overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions modules/benchpress/docs/overview.svg

This file was deleted.

0 comments on commit 8c5d9d3

Please sign in to comment.