Skip to content

Commit

Permalink
Fix import to be absolute in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed May 21, 2024
1 parent 651b627 commit a613115
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 28 deletions.
44 changes: 25 additions & 19 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/src/content/docs/downloads/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Android
![Nightly release version](https://img.shields.io/badge/dynamic/yaml?color=f7d28c&label=Nightly&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2FLinwoodDev%2Fbutterfly%2Fnightly%2Fapp%2Fpubspec.yaml&style=for-the-badge)

import { Tabs, TabItem, CardGrid, LinkCard } from '@astrojs/starlight/components';
import DownloadButton from '../../../components/DownloadButton.astro';
import DownloadButton from '/src/components/DownloadButton.astro';

## Minimum system requirements

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/downloads/ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: iOS
![Nightly release version](https://img.shields.io/badge/dynamic/yaml?color=f7d28c&label=Nightly&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2FLinwoodDev%2Fbutterfly%2Fnightly%2Fapp%2Fpubspec.yaml&style=for-the-badge)

import { Tabs, TabItem, CardGrid } from '@astrojs/starlight/components';
import DownloadButton from '../../../components/DownloadButton.astro';
import DownloadButton from '/src/components/DownloadButton.astro';

:::warning

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/downloads/linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Linux
![Nightly release version](https://img.shields.io/badge/dynamic/yaml?color=f7d28c&label=Nightly&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2FLinwoodDev%2Fbutterfly%2Fnightly%2Fapp%2Fpubspec.yaml&style=for-the-badge)

import { Tabs, TabItem, CardGrid, LinkCard } from '@astrojs/starlight/components';
import DownloadButton from '../../../components/DownloadButton.astro';
import DownloadButton from '/src/components/DownloadButton.astro';

:::note

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/downloads/macos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: MacOS
![Nightly release version](https://img.shields.io/badge/dynamic/yaml?color=f7d28c&label=Nightly&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2FLinwoodDev%2Fbutterfly%2Fnightly%2Fapp%2Fpubspec.yaml&style=for-the-badge)

import { Tabs, TabItem, CardGrid } from '@astrojs/starlight/components';
import DownloadButton from '../../../components/DownloadButton.astro';
import DownloadButton from '/src/components/DownloadButton.astro';

## Links

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/downloads/post-windows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import { LinkCard, CardGrid } from '@astrojs/starlight/components';

Windows warns users when installing software without a certificate.

![Smart screen](../../../assets/img/smart-screen.png)
![Smart screen](/src/assets/img/smart-screen.png)

To install the app, you need to click on "More info".

![Smart screen more info](../../../assets/img/smart-screen-more-info.png)
![Smart screen more info](/src/assets/img/smart-screen-more-info.png)

Then, click on "Run anyway".
2 changes: 1 addition & 1 deletion docs/src/content/docs/downloads/web.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Web
![Nightly release version](https://img.shields.io/badge/dynamic/yaml?color=f7d28c&label=Nightly&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2FLinwoodDev%2Fbutterfly%2Fnightly%2Fapp%2Fpubspec.yaml&style=for-the-badge)

import { CardGrid } from '@astrojs/starlight/components';
import DownloadButton from '../../../components/DownloadButton.astro';
import DownloadButton from '/src/components/DownloadButton.astro';

:::note

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/downloads/windows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Windows
![Nightly release version](https://img.shields.io/badge/dynamic/yaml?color=f7d28c&label=Nightly&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2FLinwoodDev%2Fbutterfly%2Fnightly%2Fapp%2Fpubspec.yaml&style=for-the-badge)

import { Tabs, TabItem, CardGrid } from '@astrojs/starlight/components';
import DownloadButton from '../../../components/DownloadButton.astro';
import DownloadButton from '/src/components/DownloadButton.astro';

## Minimum system requirements

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { LinkCard, Card, CardGrid } from '@astrojs/starlight/components';

## Features

![Main view](../../assets/img/main.png)
![Main view](/src/assets/img/main.png)

<CardGrid stagger>
<Card title="Let your ideas flow on an infinite canvas">
Expand Down

0 comments on commit a613115

Please sign in to comment.