Skip to content

Commit 33a0081

Browse files
committed
fix: update documentation links
1 parent 007e55c commit 33a0081

File tree

7 files changed

+6
-11
lines changed

7 files changed

+6
-11
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install dependencies
4242
run: pnpm i
4343
- name: Build with VitePress
44-
run: pnpm run docs:build
44+
run: pnpm run build
4545
- name: Upload artifact
4646
uses: actions/upload-pages-artifact@v3
4747
with:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nested Modal
22

3-
Same as the [basic modal](/components/basic-modal/) but it can trigger another dialog on top of the first one.
3+
Same as the [basic modal](../basic-modal/index.md) but it can trigger another dialog on top of the first one.
44

55
<ComponentPreview name="NestedModal" />

docs/frankenstein/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ A collection of useful Vue composition functions. You can find more information
2626

2727
### Nimiq CSS
2828

29-
A UnoCSS preset that I've built for the Nimiq ecosystem. You can find more information on the [Nimiq CSS](/nimiq-css) page.
29+
A UnoCSS preset that I've built for the Nimiq ecosystem. You can find more information on the [Nimiq CSS](../nimiq-css/getting-started.md) page.

docs/nimiq-css/layers/typography.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
A single utility to convert your text into a Nimiq-themed article.
44

55
[Source code](https://github.com/onmax/nimiq-ui/tree/main/packages/nimiq-css/src/css/typography.css){.nq-arrow .nq-pill-tertiary .nq-raw}
6-
[Documentation](/nimiq-ui/nimiq-css/typography/){.nq-arrow .nq-pill-tertiary .nq-raw}
6+
[Documentation](../../nimiq-css/typography/index.md/){.nq-arrow .nq-pill-tertiary .nq-raw}
77

88
## Usage in Native CSS
99

docs/nimiq-css/philosophy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Remember that this library does not include full components or any JavaScript in
2424
8. CSS layer for our Static content pages
2525
9. A lot of new utilities like `nq-pill` or `nq-arrow`
2626

27-
If you still depend on Nimiq Styles, you can also use `nimiq-css/css/legacy` without the `8px` rule so you can use both libraries together. Read the [migration guide](./migration).
27+
If you still depend on Nimiq Styles, you can also use `nimiq-css/css/legacy` without the `8px` rule so you can use both libraries together. Read the [migration guide](./migrate-from-nimiq-styles.md).
2828

2929
## A note about TailwindCSS
3030

docs/vitepress-theme/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,4 @@ We can always discuss about adding more options if you need them. Open an [issue
177177

178178
- The layout has been heavily inspired by the [Fumadocs](https://fumadocs.vercel.app/docs/ui) theme.
179179
- Inspired by the work of the [Nimiq Hub documentation](https://www.nimiqhub.com/docs/learn).
180-
- Using [Tabler Icons](https://tablericons.com/) and [Nimiq Icons](/nimiq-icons).
180+
- Using [Tabler Icons](https://tablericons.com/) and [Nimiq Icons](../nimiq-icons/explorer.md).

packages/nimiq-vitepress-theme/src/lib/route.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ export function isActive(currentPath: string, matchPath?: string): boolean {
1010

1111
const normalizedCurrent = normalize(currentPath)
1212
const normalizedMatch = normalize(matchPath)
13-
console.log({
14-
normalizedCurrent,
15-
normalizedMatch,
16-
currentPath
17-
})
1813

1914
// Check if current path starts with the match path
2015
if (!normalizedCurrent.startsWith(normalizedMatch))

0 commit comments

Comments
 (0)