Skip to content

Commit 8c5d9d3

Browse files
committed
fix(build): publish docs as well and correct bench press docs
1 parent 50f8892 commit 8c5d9d3

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

gulpfile.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ var CONFIG = {
152152
copy: {
153153
js: {
154154
cjs: {
155-
src: ['modules/**/README.js.md', 'modules/**/package.json', 'modules/**/*.cjs'],
155+
src: [
156+
'modules/**/*.md', '!modules/**/*.dart.md', 'modules/**/*.png',
157+
'modules/**/*.cjs'
158+
],
156159
pipes: {
157160
'**/*.cjs': gulpPlugins.rename({extname: '.js'}),
158161
'**/*.js.md': gulpPlugins.rename(function(file) {
@@ -171,7 +174,10 @@ var CONFIG = {
171174
}
172175
},
173176
dart: {
174-
src: ['modules/**/README.dart.md', 'modules/**/*.dart', 'modules/*/pubspec.yaml', 'modules/**/*.css', '!modules/**/e2e_test/**'],
177+
src: [
178+
'modules/**/*.md', '!modules/**/*.js.md', 'modules/**/*.png',
179+
'modules/**/*.dart', 'modules/*/pubspec.yaml', 'modules/**/*.css', '!modules/**/e2e_test/**'
180+
],
175181
pipes: {
176182
'**/*.dart': util.insertSrcFolder(gulpPlugins, SRC_FOLDER_INSERTION.dart),
177183
'**/*.dart.md': gulpPlugins.rename(function(file) {

modules/benchpress/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ When looking into the DevTools Timeline, we see a marker as well:
185185

186186
# Detailed overview
187187

188-
![Overview](overview.svg)
188+
![Overview](overview.png)
189189

190190
Definitions:
191191

26.5 KB
Loading

modules/benchpress/docs/overview.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)