Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghg255 committed Feb 17, 2025
1 parent 9bd2d8a commit d4edc2d
Show file tree
Hide file tree
Showing 10 changed files with 110 additions and 130 deletions.
5 changes: 4 additions & 1 deletion docs/.vitepress/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,10 @@ export function getLocaleConfig(lang: string) {
logo: '/logo.png',
nav,
sidebar,
socialLinks: [{ icon: 'github', link: githubLink }],
socialLinks: [
{ icon: 'github', link: githubLink },
{ icon: 'npm', link: 'https://www.npmjs.com/package/reactjs-tiptap-editor' },
],
footer: {
message: t('Made with ❤️'),
copyright: 'MIT License © 2024-PRESENT <a href="https://github.com/hunghg255">hunghg255</a>',
Expand Down
8 changes: 4 additions & 4 deletions screenshot/.cache.json

Large diffs are not rendered by default.

Binary file modified screenshot/contributor-circles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 20 additions & 20 deletions screenshot/contributor-circles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions screenshot/contributor-wide.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 11 additions & 32 deletions scripts/changeLog.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
[
{
"hash": "9bd2d8ac7c8ad0d9197be2e263e5933f5bdea0fa",
"date": "Mon Feb 17 22:43:39 2025 +0700",
"message": "chore: release v0.1.15",
"refs": "HEAD -> main, tag: v0.1.15, origin/main",
"body": "",
"author_name": "hunghg255",
"author_email": "[email protected]",
"version": "v0.1.15"
},
{
"hash": "7f7340085a8c7bafe7445d844be01878836de5d2",
"date": "Sat Jan 11 22:24:58 2025 +0700",
"message": "chore: release v0.1.14",
"refs": "HEAD -> main, tag: v0.1.14, origin/main",
"refs": "tag: v0.1.14",
"body": "",
"author_name": "hunghg255",
"author_email": "[email protected]",
Expand Down Expand Up @@ -1536,36 +1546,5 @@
"author_name": "hunghg255",
"author_email": "[email protected]",
"version": "v0.0.6"
},
{
"hash": "bad12f85368d099d976a6b5c3e205a8accbe12ea",
"date": "Wed Aug 14 18:04:43 2024 +0800",
"message": "fix: resolve nested button DOM warning",
"refs": "",
"author_name": "Condor Hero",
"author_email": "[email protected]",
"functions": [
"FontFamilyButton",
"FontSizeMenuButton",
"HeadingButton",
"HistoryActionButton",
"LineHeightDropdown",
"LinkEditPopover",
"ActionMoreButton",
"CreateTablePopover",
"TableActionButton",
"TextAlignMenuButton",
"TextDropdown"
]
},
{
"hash": "4e934c32e2548449f87dc630df361556ff51bf50",
"date": "Wed Aug 14 12:46:37 2024 +0700",
"message": "chore: release v0.0.5",
"refs": "tag: v0.0.5",
"body": "",
"author_name": "hunghg255",
"author_email": "[email protected]",
"version": "v0.0.5"
}
]
70 changes: 35 additions & 35 deletions scripts/contributions.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,33 +62,33 @@
"hash": "147f1cfa51786ab49717622c44dddf11"
}
],
"BulletList.ts": [
{
"name": "hunghg255",
"count": 2,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
},
"Clear.ts": [
{
"name": "Condor Hero",
"count": 1,
"hash": "0953cda44390f22b04619b9647311c0b"
},
{
"name": "hunghg255",
"count": 1,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
},
{
"name": "hunghg255",
"count": 1,
"hash": "147f1cfa51786ab49717622c44dddf11"
}
],
"Clear.ts": [
"BulletList.ts": [
{
"name": "Condor Hero",
"count": 1,
"hash": "0953cda44390f22b04619b9647311c0b"
"name": "hunghg255",
"count": 2,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
},
{
"name": "hunghg255",
"name": "Condor Hero",
"count": 1,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
"hash": "0953cda44390f22b04619b9647311c0b"
},
{
"name": "hunghg255",
Expand Down Expand Up @@ -313,6 +313,13 @@
"hash": "147f1cfa51786ab49717622c44dddf11"
}
],
"ImageGif.ts": [
{
"name": "hunghg255",
"count": 4,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
}
],
"Image.ts": [
{
"name": "hunghg255",
Expand All @@ -325,13 +332,6 @@
"hash": "147f1cfa51786ab49717622c44dddf11"
}
],
"ImageGif.ts": [
{
"name": "hunghg255",
"count": 4,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
}
],
"ImportWord.ts": [
{
"name": "Condor Hero",
Expand Down Expand Up @@ -500,32 +500,32 @@
"hash": "147f1cfa51786ab49717622c44dddf11"
}
],
"Strike.ts": [
{
"name": "Condor Hero",
"count": 2,
"hash": "0953cda44390f22b04619b9647311c0b"
},
"SlashCommand.ts": [
{
"name": "hunghg255",
"count": 2,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
},
{
"name": "Condor Hero",
"count": 1,
"hash": "0953cda44390f22b04619b9647311c0b"
},
{
"name": "hunghg255",
"count": 1,
"hash": "147f1cfa51786ab49717622c44dddf11"
}
],
"SlashCommand.ts": [
"Strike.ts": [
{
"name": "Condor Hero",
"count": 1,
"count": 2,
"hash": "0953cda44390f22b04619b9647311c0b"
},
{
"name": "hunghg255",
"count": 1,
"count": 2,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
},
{
Expand Down Expand Up @@ -558,6 +558,13 @@
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
}
],
"TableOfContent.ts": [
{
"name": "hunghg255",
"count": 1,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
}
],
"TaskList.ts": [
{
"name": "hunghg255",
Expand All @@ -575,13 +582,6 @@
"hash": "147f1cfa51786ab49717622c44dddf11"
}
],
"TableOfContent.ts": [
{
"name": "hunghg255",
"count": 1,
"hash": "3732f6a5b9cdd33a2f401844e7daf029"
}
],
"TextAlign.ts": [
{
"name": "hunghg255",
Expand Down
4 changes: 0 additions & 4 deletions scripts/contributors.json

This file was deleted.

6 changes: 4 additions & 2 deletions scripts/contributors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import contributors from './contributors.json'
import cache from '../screenshot/.cache.json';

const users = cache.map((item) => item.login);

export interface Contributor {
name: string
Expand All @@ -22,7 +24,7 @@ function getAvatarUrl(name: string) {
return `https://avatars.githubusercontent.com/${name}?v=4`
}

const contributorList = (contributors as string[]).reduce((acc, name) => {
const contributorList = (users as string[]).reduce((acc, name) => {
contributorsAvatars[name] = getAvatarUrl(name)
acc.push({ name, avatar: contributorsAvatars[name] })
return acc
Expand Down
52 changes: 26 additions & 26 deletions scripts/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
]
},
{
"name": "BulletList.ts",
"package": "BulletList",
"name": "Clear.ts",
"package": "Clear",
"alias": [
"BulletList"
"Clear"
]
},
{
"name": "Clear.ts",
"package": "Clear",
"name": "BulletList.ts",
"package": "BulletList",
"alias": [
"Clear"
"BulletList"
]
},
{
Expand Down Expand Up @@ -175,24 +175,24 @@
]
},
{
"name": "Image.ts",
"package": "Image",
"name": "ImageGif.ts",
"package": "ImageGif",
"alias": [
"Image"
"ImageGif"
]
},
{
"name": "Image.ts",
"package": "Image",
"alias": [
"store"
"Image"
]
},
{
"name": "ImageGif.ts",
"package": "ImageGif",
"name": "Image.ts",
"package": "Image",
"alias": [
"ImageGif"
"store"
]
},
{
Expand Down Expand Up @@ -300,13 +300,6 @@
"Selection"
]
},
{
"name": "Strike.ts",
"package": "Strike",
"alias": [
"Strike"
]
},
{
"name": "SlashCommand.ts",
"package": "SlashCommand",
Expand All @@ -328,6 +321,13 @@
"types"
]
},
{
"name": "Strike.ts",
"package": "Strike",
"alias": [
"Strike"
]
},
{
"name": "Subscript.ts",
"package": "Subscript",
Expand All @@ -350,17 +350,17 @@
]
},
{
"name": "TaskList.ts",
"package": "TaskList",
"name": "TableOfContent.ts",
"package": "TableOfContent",
"alias": [
"TaskList"
"TableOfContent"
]
},
{
"name": "TableOfContent.ts",
"package": "TableOfContent",
"name": "TaskList.ts",
"package": "TaskList",
"alias": [
"TableOfContent"
"TaskList"
]
},
{
Expand Down

0 comments on commit d4edc2d

Please sign in to comment.