Skip to content

Commit 82bc59c

Browse files
authored
Docs: more broken links (#64)
1 parent a777326 commit 82bc59c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Capo helps you identify which elements are out of order.
3434

3535
OR:
3636

37-
1. Copy [capo.js](https://raw.githubusercontent.com/rviscomi/capo.js/main/capo.js)
37+
1. Copy [capo.js](https://raw.githubusercontent.com/rviscomi/capo.js/main/snippet/capo.js)
3838
2. Run it in a new [DevTools snippet](https://developer.chrome.com/docs/devtools/javascript/snippets/), or use a [bookmarklet](https://caiorss.github.io/bookmarklet-maker/) generator
3939
3. Explore the console logs
4040

docs/src/content/docs/user/config.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: Learn how to use config options to customize the capo.js behavior
66
import { Image } from 'astro:assets';
77
import { Tabs, TabItem } from '@astrojs/starlight/components';
88
import CapoPalette from '../../../components/CapoPalette.astro';
9+
import Capo256 from '../../../assets/capo256.png';
910
import CrxOptionsLight from '../../../assets/crx-options-light.png';
1011
import CrxOptionsDark from '../../../assets/crx-options-dark.png';
1112

@@ -119,7 +120,7 @@ The extension doesn't support custom logging prefixes. Also, only [built-in colo
119120

120121
Open the **Options** page to configure the [extension](/capo.js/user/extension/):
121122

122-
1. Right click on the extension icon <img src="../../../assets/capo256.png" style="display: inline; width: 20px; vertical-align: text-bottom; margin: 0;"/>
123+
1. Right click on the extension icon <img src={Capo256.src} style="display: inline; width: 20px; vertical-align: text-bottom; margin: 0;"/>
123124

124125
![The context menu shown after right clicking the extension icon](../../../assets/crx-menu.png)
125126

docs/src/content/docs/user/snippet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ hero:
55
title: Using the <code>capo.js</code> snippet
66
actions:
77
- text: Get the latest source
8-
link: https://raw.githubusercontent.com/rviscomi/capo.js/main/capo.js
8+
link: https://raw.githubusercontent.com/rviscomi/capo.js/main/snippet/capo.js
99
icon: github
1010
variant: primary
1111
---
@@ -59,4 +59,4 @@ To run the bookmarklet, just click it like a normal bookmark.
5959

6060
## Configuration
6161

62-
You can customize how capo.js behaves by setting a global config object. See the [Configuration](/capo.js/user/config/) guide for more.
62+
You can customize how capo.js behaves by setting a global config object. See the [Configuration](/capo.js/user/config/#configuring-the-snippet) guide for more.

0 commit comments

Comments
 (0)