Skip to content

Commit

Permalink
fix directly linking to an extension
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi committed Jan 22, 2024
1 parent c0852e1 commit 3b6c0c7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion website/.vitepress/config/navigation/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { GITHUB_EXTENSION_MIN_JSON } from "../constants";
const nav: DefaultTheme.NavItem[] = [
{ text: 'Add repo', link: `/add-repo?url=${encodeURIComponent(GITHUB_EXTENSION_MIN_JSON)}` },
{ text: 'Guide', link: '/docs/guides/getting-started' },
{ text: 'Extensions', link: '/extensions' },
{ text: 'Extensions', link: '/extensions/' },
{ text: 'News', link: '/news' },
]

Expand Down
4 changes: 2 additions & 2 deletions website/.vitepress/config/navigation/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { DefaultTheme } from 'vitepress';

const sidebar: DefaultTheme.SidebarMulti = {
'/add-repo': defaultSidebar(),
'/extensions': defaultSidebar(),
'/extensions/': defaultSidebar(),
'/news': defaultSidebar(),
'/docs/': defaultSidebar(),
};
Expand All @@ -11,7 +11,7 @@ function defaultSidebar(): DefaultTheme.SidebarItem[] {
return [
{
items: [
{ text: 'Extensions', link: '/extensions' }
{ text: 'Extensions', link: '/extensions/' }
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion website/docs/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ If you encounter difficulties while searching for a specific series, consider:
> Example: **3-gatsu no Lion** instead of **Sangatsu no Lion**.
- If you still cannot find the series, try searching for an extension for a website you've found in
step 1 in the [extensions](/extensions) list.
step 1 in the [extensions](/extensions/) list.
File renamed without changes.
2 changes: 1 addition & 1 deletion website/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ features:
details: "Online and offline reading from over a thousand sources."
icon: |
<svg height="24" width="24" viewBox="0 -960 960 960" fill="var(--vp-c-green-2)" xmlns="http://www.w3.org/2000/svg"><path d="M352-120H200q-33 0-56.5-23.5T120-200v-152q48 0 84-30.5t36-77.5q0-47-36-77.5T120-568v-152q0-33 23.5-56.5T200-800h160q0-42 29-71t71-29q42 0 71 29t29 71h160q33 0 56.5 23.5T800-720v160q42 0 71 29t29 71q0 42-29 71t-71 29v160q0 33-23.5 56.5T720-120H568q0-50-31.5-85T460-240q-45 0-76.5 35T352-120Zm-152-80h85q24-66 77-93t98-27q45 0 98 27t77 93h85v-240h80q8 0 14-6t6-14q0-8-6-14t-14-6h-80v-240H480v-80q0-8-6-14t-14-6q-8 0-14 6t-6 14v80H200v88q54 20 87 67t33 105q0 57-33 104t-87 68v88Zm310-310Z"/></svg>
link: "/extensions"
link: "/extensions/"
linkText: "Find extensions"
- title: "Troubleshooting"
details: "Facing issues with extensions? Here's how to troubleshoot."
Expand Down

0 comments on commit 3b6c0c7

Please sign in to comment.