Skip to content

Commit

Permalink
Fix last links
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed May 18, 2024
1 parent bb9e5e5 commit 304b781
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/lib/api/open.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Future<bool> openHelp(List<String> pageLocation, [String? fragment]) {
scheme: 'https',
host: 'butterfly.linwood.dev',
fragment: fragment,
pathSegments: ['docs', applicationMinorVersion, ...pageLocation]),
pathSegments: ['docs', 'v2', ...pageLocation]),
);
}

Expand Down
2 changes: 1 addition & 1 deletion app/lib/dialogs/background/dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class BackgroundDialog extends StatelessWidget {
tooltip: AppLocalizations.of(context).help,
icon: const PhosphorIcon(
PhosphorIconsLight.sealQuestion),
onPressed: () => openHelp(['background', 'intro']),
onPressed: () => openHelp(['background']),
),
],
),
Expand Down
2 changes: 1 addition & 1 deletion docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineConfig({
},
{
...getSidebarTranslatedLabel("Area"),
link: "/docs/v2/area/",
link: "/docs/v2/areas/",
},
{
...getSidebarTranslatedLabel("Background"),
Expand Down
6 changes: 2 additions & 4 deletions docs/src/content/docs/community/faq.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
id: "faq"
slug: "/faq"
title: "Frequently Asked Questions"
sidebar_label: "FAQ"
slug: /faq
title: Frequently Asked Questions
---

Here are some frequently asked questions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
id: "community"
slug: "/community"
sidebar_label: "Home"
sidebar_position: 0
title: "Community"
title: Community
---

Welcome to the community section.
Expand Down
File renamed without changes.

0 comments on commit 304b781

Please sign in to comment.