Skip to content

Commit

Permalink
fix(docs): correct path to source code (#4659)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinewg authored Dec 8, 2020
1 parent a96a401 commit b535757
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions website/scripts/source-reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ function moduleNameToFullName(name) {
return 'In-App Messaging';
case 'messaging':
return 'Cloud Messaging';
case 'ml':
return 'ML';
case 'perf':
case 'ml':
return 'ML';
case 'perf':
return 'Performance Monitoring';
case 'remote-config':
return 'Remote Config';
Expand Down
2 changes: 1 addition & 1 deletion website/scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ module.exports.extractSourceFile = function extractSourceFile(sources = []) {
return sources.map(source => {
if (!source) return '';
if (source.fileName.includes('node_modules')) return '';
return `https://github.com/invertase/react-native-firebase/blob/master/packages/${
return `https://github.com/invertase/react-native-firebase/blob/master/${
source.fileName
}#L${source.line || 0}`;
});
Expand Down

1 comment on commit b535757

@vercel
Copy link

@vercel vercel bot commented on b535757 Dec 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.