Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3619ef4
feat(docs): use typedoc for api page
anbraten Nov 29, 2024
758b364
Merge remote-tracking branch 'upstream/main' into typedoc
anbraten Nov 29, 2024
e061840
correctly set dist folder
anbraten Nov 29, 2024
a5370df
fix config
anbraten Nov 29, 2024
daeaec8
docs: update typedoc config
taskylizard Dec 1, 2024
e687471
Merge pull request #1 from taskylizard/typedoc
anbraten Dec 1, 2024
34572c1
Merge remote-tracking branch 'upstream/main' into typedoc
anbraten Dec 1, 2024
1a1ab67
create api folder on build
anbraten Dec 1, 2024
259308f
fix
anbraten Dec 1, 2024
8a284d7
fix format
anbraten Dec 1, 2024
1adbf51
Merge branch 'main' into fork/anbraten/typedoc
shuuji3 Jan 19, 2025
4c43616
chore: update `pnpm-lock.yaml`
shuuji3 Jan 19, 2025
1ff41a9
fix: generate docs for client package instead of core package
shuuji3 Jan 11, 2025
b57df42
chore: remove unused function
shuuji3 Jan 11, 2025
058d9b7
docs: fix package name `@tsky/docs` to fix pnpm run filter
shuuji3 Jan 16, 2025
f326af1
docs: fix dead link error that block build process
shuuji3 Jan 17, 2025
03a129d
docs: add tsky logo image on hero page
shuuji3 Jan 16, 2025
abd286b
build: ensure rebuild `@tsky/lex-cli` and `@tsky/lexicons` during ins…
shuuji3 Jan 19, 2025
c671d43
Merge remote-tracking branch 'upstream/main' into fork/anbraten/typedoc
shuuji3 Jan 19, 2025
79f138d
chore: fix yet another CRLF error
shuuji3 Jan 19, 2025
7f1f70e
Merge remote-tracking branch 'refs/remotes/upstream/main' into fork/a…
shuuji3 Jan 23, 2025
9d02f70
chore: update `pnpm-lock.yaml`
shuuji3 Jan 23, 2025
f4983de
chore: ignore generated `docs/api/` directory from biome checking
shuuji3 Jan 23, 2025
0d46e59
chore: add `.nvmrc` to allow netlify to choose collect node version
shuuji3 Jan 24, 2025
335dfb2
chore: move `.nvmrc` under `docs/`
shuuji3 Jan 25, 2025
c2e2872
docs: fix missing logo on home page
shuuji3 Jan 25, 2025
f060d42
Merge remote-tracking branch 'upstream/HEAD' into fork/anbraten/typedoc
shuuji3 Jan 25, 2025
73175c4
chore: update `pnpm-lock.yaml`
shuuji3 Jan 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src=".github/assets/tsky-logo.png" width="200" height="200">
<img src="https://raw.githubusercontent.com/tsky-dev/tsky/refs/heads/main/.github/assets/tsky-logo.png" width="200" height="200">
</p>

<h1 align="center">tsky</h1>
Expand Down Expand Up @@ -82,4 +82,4 @@ If you want to contribute to this project, please read the [CONTRIBUTING.md](CON

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
This project is licensed under the MIT License - see the [LICENSE](https://github.com/tsky-dev/tsky/blob/main/LICENSE) file for details.
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"node_modules",
"package.json",
"tsconfig.json",
"packages/lexicons/src/lib/lexicons.ts"
"packages/lexicons/src/lib/lexicons.ts",
"docs/api/"
]
},
"linter": {
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vitepress/cache/
.vitepress/dist/
api/
1 change: 1 addition & 0 deletions docs/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
11 changes: 2 additions & 9 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineConfig } from 'vitepress';
import typedocSidebar from '../api/typedoc-sidebar.json';

// https://vitepress.dev/reference/site-config
export default defineConfig({
Expand All @@ -12,15 +13,7 @@ export default defineConfig({

sidebar: [
{ text: 'Getting Started', link: '/getting-started' },
{
text: 'API Reference',
link: '/api',
items: [
{ text: 'new Tsky', link: '/api#tsky' },
{ text: 'tsky.profile', link: '/api#profile' },
{ text: 'tsky.typeahead', link: '/api#typeahead' },
],
},
{ text: 'API', items: typedocSidebar },
{
text: 'Examples',
link: '/examples',
Expand Down
28 changes: 0 additions & 28 deletions docs/api.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ layout: home

hero:
name: "tsky"
image: https://raw.githubusercontent.com/tsky-dev/tsky/refs/heads/main/.github/assets/tsky-logo.png
text: "A Bluesky API client for nimble apps and tools"
tagline: A Bluesky API client for nimble apps and tools
actions:
Expand Down
35 changes: 20 additions & 15 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
{
"name": "@tsky/docs",
"version": "1.0.0",
"private": true,
"main": "index.js",
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview",
"test": "echo \"Error: no test specified\""
},
"devDependencies": {
"vitepress": "^1.5.0"
}
}
{
"name": "@tsky/docs",
"version": "1.0.0",
"private": true,
"main": "index.js",
"scripts": {
"predev": "typedoc",
"dev": "vitepress dev",
"prebuild": "typedoc",
"build": "vitepress build",
"preview": "vitepress preview",
"test": "echo \"Error: no test specified\""
},
"devDependencies": {
"typedoc": "^0.27.1",
"typedoc-plugin-markdown": "^4.3.0",
"typedoc-vitepress-theme": "^1.1.0",
"vitepress": "^1.5.0"
}
}
29 changes: 29 additions & 0 deletions docs/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "https://typedoc-plugin-markdown.org/schema.json",
"entryPoints": ["../packages/client"],
"plugin": ["typedoc-plugin-markdown", "typedoc-vitepress-theme"],
"name": "Packages Example",
"entryPointStrategy": "packages",
"packageOptions": {
"includeVersion": true,
"entryPoints": ["src/*.ts"]
},
"basePath": "../packages/client/src",
"readme": "none",
"entryFileName": "index.md",
"mergeReadme": true,
"indexFormat": "table",
"useCodeBlocks": true,
"textContentMappings": {
"title.indexPage": "API Reference",
"title.memberPage": "{name}"
},
"outputs": [
{
"name": "markdown",
"path": "./api"
}
],
"hidePageHeader": false,
"logLevel": "Verbose"
}
4 changes: 2 additions & 2 deletions packages/client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"theme": "default",
"exclude": "**/+(__tests__|__mocks__)/*",
"excludePrivate": true,
"excludeProtected": true
}
"excludeProtected": true,
},
}
2 changes: 1 addition & 1 deletion packages/lex-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"prepublish": "pnpm run clean && pnpm run build"
"prepare": "pnpm run clean && pnpm run build"
},
"dependencies": {
"clipanion": "4.0.0-rc.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/lexicons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build": "tsx ./scripts/generate-types.ts && tsc",
"check-version-change": "tsx ./scripts/check-version-change.ts && tsc",
"clean": "rm -rf dist && rm -rf lexicons",
"prepublish": "pnpm run clean && pnpm run build"
"prepare": "pnpm run clean && pnpm run build"
},
"devDependencies": {
"@tsky/lex-cli": "workspace:*",
Expand Down
Loading
Loading