Skip to content

Commit

Permalink
Merge pull request #34 from st-tech/api-docs
Browse files Browse the repository at this point in the history
chore: add api docs
  • Loading branch information
ssssota authored Dec 23, 2024
2 parents d28e970 + 819cfcf commit e1a7615
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 19 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm build
working-directory: demo
- run: pnpm pages

- if: github.event_name == 'push'
uses: actions/upload-pages-artifact@v3
Expand Down
3 changes: 2 additions & 1 deletion demo/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
<div class="grid grid-rows-[auto_1fr] h-screen divide-y">
<header class="flex justify-between p-4">
<h1 class="font-bold">universal-links-test demo</h1>
<div class="flex gap-2 items-center">
<div class="flex gap-4 items-center">
<a href="./docs/">API</a>
<a
href="http://github.com/st-tech/apple-app-site-association"
target="_blank"
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"clean": "node -e \"fs.rmSync('dist',{recursive:true,force:true})\"",
"prepare": "npm run clean && npm run build",
"fmt": "biome check --write .",
"check": "biome check ."
"check": "biome check .",
"pages": "pnpm demo && pnpm doc",
"doc": "typedoc --basePath ./ --titleLink 'https://st-tech.github.io/universal-links-test/' --out demo/dist/docs src",
"demo": "pnpm --dir demo build"
},
"keywords": [
"aasa",
Expand All @@ -42,6 +45,7 @@
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.10.2",
"typedoc": "^0.27.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
Expand Down
Loading

0 comments on commit e1a7615

Please sign in to comment.