Skip to content

Commit 74a550d

Browse files
fix ao3.js links
1 parent 3be0a0d commit 74a550d

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/content/docs/libraries/AO3js.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A guide in my new Starlight docs site.
55

66
<div align="center">
77

8-
![AO3.js logo](./logo-transparent-small.png)
8+
![AO3.js logo](https://github.com/FujoWebDev/AO3.js/tree/main/logo-transparent-small.png)
99

1010
Scrapes data from [ao3.org](https://ao3.org) and beyond. Now with Types™.
1111

@@ -21,12 +21,12 @@ Cause this is a test. You can find the full library and readme [on the AO3.js Gi
2121

2222
## What can `@fujocoded/ao3.js` do?
2323

24-
| Method | Description | Parameters | Return Type |
25-
| ----------------------------------------------------- | ------------------------------------------ | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
26-
| [**`getTag`**](./src/tags/index.ts#L17) | Retrieves details for a specific AO3 tag. | `{ tagName: string }` - Name of the tag. | [`Promise<Tag>`](./types/entities.ts) |
27-
| [**`getTagNameById`**](./src/tags/index.ts#L24) | Gets tag name based on its ID. | `{ tagId: string }` - Tag ID to look up. | `Promise<string>` |
28-
| [**`getWork`**](./src/works/index.ts#L20) | Fetches metadata for an AO3 work. | `{ workId: string, chapterId?: string }` - The work ID, with optional chapter ID. | [`Promise<WorkSummary>`](./types/entities.ts#L20) \| [`Promise<LockedWorkSummary>`](./types/entities.ts#L45) |
29-
| [**`getWorkWithChapters`**](./src/works/index.ts#L53) | Fetches a work and its chapter list. | `{ workId: string }` - The ID of the work. | [`Promise<{ title: string; authors: Author[] \| Anonymous; workId: string; chapters: Chapter[] }>`](./types/entities.ts) |
30-
| [**`getSeries`**](./src/series/index.ts#L17) | Retrieves details for a specific series. | `{ seriesId: string }` - The ID of the series. | [`Promise<Series>`](./types/entities.ts) |
31-
| [**`getUser`**](./src/users/index.ts#L15) | Fetches profile information for a user. | `{ username: string }` - Username of the user to fetch. | [`Promise<User>`](./types/entities.ts) |
32-
| [**`setFetcher`**](./src/fetcher.ts#L5) | Sets a custom fetch function for requests. | `{ fetcher: typeof fetch }` - Custom fetch function. | `void` |
24+
| Method | Description | Parameters | Return Type |
25+
| -------------------------------------------------------------------------------------------------- | ------------------------------------------ | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
26+
| [**`getTag`**](https://github.com/FujoWebDev/AO3.js/tree/main/src/tags/index.ts#L17) | Retrieves details for a specific AO3 tag. | `{ tagName: string }` - Name of the tag. | [`Promise<Tag>`](https://github.com/FujoWebDev/AO3.js/tree/main/types/entities.ts) |
27+
| [**`getTagNameById`**](https://github.com/FujoWebDev/AO3.js/tree/main/src/tags/index.ts#L24) | Gets tag name based on its ID. | `{ tagId: string }` - Tag ID to look up. | `Promise<string>` |
28+
| [**`getWork`**](https://github.com/FujoWebDev/AO3.js/tree/main/src/works/index.ts#L20) | Fetches metadata for an AO3 work. | `{ workId: string, chapterId?: string }` - The work ID, with optional chapter ID. | [`Promise<WorkSummary>`](https://github.com/FujoWebDev/AO3.js/tree/main/types/entities.ts#L20) \| [`Promise<LockedWorkSummary>`](https://github.com/FujoWebDev/AO3.js/tree/main/types/entities.ts#L45) |
29+
| [**`getWorkWithChapters`**](https://github.com/FujoWebDev/AO3.js/tree/main/src/works/index.ts#L53) | Fetches a work and its chapter list. | `{ workId: string }` - The ID of the work. | [`Promise<{ title: string; authors: Author[] \| Anonymous; workId: string; chapters: Chapter[] }>`](https://github.com/FujoWebDev/AO3.js/tree/main/types/entities.ts) |
30+
| [**`getSeries`**](https://github.com/FujoWebDev/AO3.js/tree/main/src/series/index.ts#L17) | Retrieves details for a specific series. | `{ seriesId: string }` - The ID of the series. | [`Promise<Series>`](https://github.com/FujoWebDev/AO3.js/tree/main/types/entities.ts) |
31+
| [**`getUser`**](https://github.com/FujoWebDev/AO3.js/tree/main/src/users/index.ts#L15) | Fetches profile information for a user. | `{ username: string }` - Username of the user to fetch. | [`Promise<User>`](https://github.com/FujoWebDev/AO3.js/tree/main/types/entities.ts) |
32+
| [**`setFetcher`**](https://github.com/FujoWebDev/AO3.js/tree/main/src/fetcher.ts#L5) | Sets a custom fetch function for requests. | `{ fetcher: typeof fetch }` - Custom fetch function. | `void` |

0 commit comments

Comments
 (0)