Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed May 15, 2024
1 parent dda7e90 commit 1082db9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/ResourceItemInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,10 @@ export default {
const temp = resourceItem.documentation.split("/");
baseUrl = temp.slice(0, temp.length - 1).join("/");
}
if (resourceItem.documentation.endsWith(".md") || resourceItem.documentation.endsWith(".md/content")) {
if (
resourceItem.documentation.endsWith(".md") ||
resourceItem.documentation.endsWith(".md/content")
) {
resourceItem.baseUrl = baseUrl;
resourceItem.docs = raw_docs;
} else if (resourceItem.documentation) {
Expand Down

0 comments on commit 1082db9

Please sign in to comment.