Skip to content

Commit

Permalink
fix ../
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeux committed Mar 31, 2015
1 parent a4a551c commit 115b2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/server/extractDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function getExample(componentName) {
return;
}
return {
path: path,
path: path.replace(/^\.\.\//, ''),
content: fs.readFileSync(path).toString(),
};
}
Expand Down

0 comments on commit 115b2a3

Please sign in to comment.