-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
2,338 additions
and
1,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { CustomConfig } from '../types' | ||
|
||
const gitlog: CustomConfig['gitlog'] = { | ||
title: 'Contributors', | ||
} | ||
|
||
export default gitlog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { CustomConfig } from '../types' | ||
|
||
const gitlog: CustomConfig['gitlog'] = { | ||
title: '寄稿者', | ||
} | ||
|
||
export default gitlog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { CustomConfig } from '../types' | ||
|
||
const gitlog: CustomConfig['gitlog'] = { | ||
title: '贡献者', | ||
} | ||
|
||
export default gitlog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,12 @@ import DocAside from './components/DocAside.vue' | |
import DocHeader from './components/DocHeader.vue' | ||
import DocInfo from './components/DocInfo.vue' | ||
import DocFeedback from './components/DocFeedback.vue' | ||
import { NolebaseInlineLinkPreviewPlugin } from '@nolebase/vitepress-plugin-inline-link-preview/client' | ||
import { | ||
InjectionKey, | ||
NolebaseGitChangelog, | ||
NolebaseGitContributors, | ||
} from '@nolebase/vitepress-plugin-git-changelog/client' | ||
|
||
import type { Theme } from 'vitepress' | ||
|
||
|
@@ -22,6 +28,8 @@ import './styles/main.css' | |
import './styles/ui.css' | ||
import './styles/timeline.css' | ||
import './styles/kbd.css' | ||
import '@nolebase/vitepress-plugin-inline-link-preview/client/style.css' | ||
import '@nolebase/vitepress-plugin-git-changelog/client/style.css' | ||
|
||
const pinia = createPinia() | ||
|
||
|
@@ -44,15 +52,29 @@ export default { | |
debug: false, | ||
}) | ||
app.use(pinia) | ||
app.use(NolebaseInlineLinkPreviewPlugin) | ||
|
||
app.component('Link', Link) | ||
app.component('Coins', Coins) | ||
app.component('Card', Card) | ||
app.component('LinkGrid', LinkGrid) | ||
app.component('Badge', VPBadge) | ||
app.component('Changelog', NolebaseGitChangelog) | ||
app.component('Contributors', NolebaseGitContributors) | ||
|
||
app.provide(InjectionKey, { | ||
locales: {}, | ||
mapAuthors: [ | ||
{ | ||
name: 'Hyouka', | ||
username: 'jiazengp', | ||
mapByEmailAliases: ['[email protected]'], | ||
}, | ||
], | ||
}) | ||
}, | ||
setup() { | ||
const route = useRoute() | ||
const { lang } = useData() | ||
|
||
onMounted(() => { | ||
initZoom() | ||
|
Oops, something went wrong.