Skip to content

Commit

Permalink
Fix docs assets
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Mar 29, 2024
1 parent e2b2e76 commit d22e192
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineConfig({
base: "/retour-for-kirby/",
appearance: "force-dark",
cleanUrls: true,
head: [["link", { rel: "og:image", href: "./ogimage.png" }]],
head: [["link", { rel: "og:image", href: "/ogimage.png" }]],
themeConfig: {
logo: "/scribbles.svg",

Expand Down
4 changes: 2 additions & 2 deletions docs/failures.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ When you open up Retour, you will be shown the data of the current month. The se

You can change the selected timespan by using the navigation bar: moving between previous and next month or even changing the span to a full year, a day or any custom interval:

![Change timespan](timespan.png)
![Change timespan](/timespan.png)

## Add as redirect

Expand All @@ -20,6 +20,6 @@ Once you save that new route, all failure entries for that path will also be mar

Depending on your use case, you might want to clear the logs from time to time. This can be either done manually by clicking the button above the failures table:

![Clear the log](clear.png)
![Clear the log](/clear.png)

Or automatically via the `distantnative.retour.deleteAfter` option.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ hero:
name: "Retour"
text: "for Kirby"
tagline: Redirects and 404 tracking from the Panel
image: ./scribbles.svg
image: /scribbles.svg
actions:
- theme: brand
text: Download
Expand All @@ -26,4 +26,4 @@ features:
details: All directly from the Panel in a familiar UI without writing any code.
---

![Retour view in the Panel](./retour.png)
![Retour view in the Panel](/retour.png)
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion docs/redirects.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

To create a new redirect, click on the `Add` button above the table. A drawer opens in which you can enter all the required details. By clicking on any table row or selecting the dropdown option, you can edit an existing route - or delete it:

![Edit a redirect](edit.png)
![Edit a redirect](/edit.png)

### Path

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"build": "npx -y kirbyup src/panel/index.js",
"lint": "eslint --ext js,vue src/panel",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs"
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"devDependencies": {
"eslint": "^8.57.0",
Expand Down

0 comments on commit d22e192

Please sign in to comment.