Skip to content

Commit

Permalink
add case with no resources #58
Browse files Browse the repository at this point in the history
  • Loading branch information
prudhomm committed Aug 15, 2023
1 parent cbec6f0 commit 0763d9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helpers/get-recommended-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ module.exports = ({ data: { root } }) => {
}
// in case project page is available but not the other ones like user manual or toolboxes manual,
// then we are un a standalone project, we provide a link to the documentation of feelpp
if (projectPage && !userManualPage && !toolboxesManualPage) {
if ((projectPage && !userManualPage && !toolboxesManualPage) ||
(!projectPage && !userManualPage && !toolboxesManualPage)) {
result.push({
title: 'Documentation',
color: 'magenta',
Expand Down

0 comments on commit 0763d9b

Please sign in to comment.