Skip to content

Commit be0758a

Browse files
Merge pull request #236 from robbeverhelst/robbeverhelst/docs-domain
docs: move the site to tsarr.robbeverhelst.com and add analytics
2 parents 5c0f1f2 + 81f68d2 commit be0758a

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: Generate documentation
3636
run: bun run docs
3737

38+
- name: Write the custom domain into the artifact
39+
run: echo 'tsarr.robbeverhelst.com' > ./dist/docs/CNAME
40+
3841
- name: Setup Pages
3942
uses: actions/configure-pages@v6
4043

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const [movies, series] = await Promise.all([radarr.getMovies(), sonarr.getSeries
134134
console.log(`Library: ${movies.data?.length ?? 0} movies, ${series.data?.length ?? 0} series.`);
135135
```
136136

137-
See the **[SDK guide](./docs/usage.md)** and [auto-generated API docs](https://robbeverhelst.github.io/Tsarr/) for the full surface.
137+
See the **[SDK guide](./docs/usage.md)** and [auto-generated API docs](https://tsarr.robbeverhelst.com/) for the full surface.
138138

139139
## Supported services
140140

@@ -170,7 +170,7 @@ See the **[SDK guide](./docs/usage.md)** and [auto-generated API docs](https://r
170170
- **[CLI guide](./docs/cli.md)** — every command, every flag
171171
- **[SDK guide](./docs/usage.md)** — typed clients, modular imports
172172
- **[Examples](./docs/examples.md)** — real-world automation scripts
173-
- **[API reference](https://robbeverhelst.github.io/Tsarr/)** — generated TypeScript docs
173+
- **[API reference](https://tsarr.robbeverhelst.com/)** — generated TypeScript docs
174174

175175
## Support this project
176176

typedoc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@
1919
"defaultCategory": "API",
2020
"categoryOrder": ["Clients", "Core", "Types", "CLI", "*"],
2121
"gitRevision": "main",
22-
"gitRemote": "origin"
22+
"gitRemote": "origin",
23+
"customFooterHtml": "<script defer src=\"https://analytics.robbeverhelst.be/script.js\" data-website-id=\"dc15121c-ef52-44dc-b08f-5613d52d3b7c\"></script>",
24+
"customFooterHtmlDisableWrapper": true
2325
}

0 commit comments

Comments
 (0)