Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): correct path to source code #4659

Merged
merged 1 commit into from
Dec 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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':
Comment on lines -168 to +170
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am certain that was my whitespace error, sorry for leaving it + thank you for fixing it!

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