Skip to content

Commit

Permalink
png treated as binary, typedoc generates in docs/api
Browse files Browse the repository at this point in the history
  • Loading branch information
rvilarl committed Nov 28, 2021
1 parent 040bf56 commit a8b7ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* text eol=lf
*.otf binary
*.woff binary
*.woff2 binary
*.woff2 binary
*.png binary
14 changes: 1 addition & 13 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const VEX_DEBUG_TESTS = 'vexflow-debug-with-tests';
// Output directories.
const BASE_DIR = __dirname;
const BUILD_DIR = path.join(BASE_DIR, 'build');
const DOCS_DIR = path.join(BASE_DIR, 'docs');
const REFERENCE_DIR = path.join(BASE_DIR, 'reference');

// Global variables that will be set below.
Expand Down Expand Up @@ -249,21 +248,11 @@ export default Vex;`;
},
],
},
typedoc: {
files: [
{
expand: true,
cwd: BUILD_DIR,
src: ['api/**'],
dest: DOCS_DIR,
},
],
},
},
typedoc: {
build: {
options: {
out: 'build/api',
out: 'docs/api',
name: 'vexflow',
excludeProtected: true,
excludePrivate: true,
Expand Down Expand Up @@ -304,7 +293,6 @@ export default Vex;`;
'copy:moduleJSFiles',
'copy:modulePackageJSON',
'typedoc',
'copy:typedoc',
]
);

Expand Down

0 comments on commit a8b7ed2

Please sign in to comment.