File tree Expand file tree Collapse file tree 8 files changed +314
-396
lines changed Expand file tree Collapse file tree 8 files changed +314
-396
lines changed Original file line number Diff line number Diff line change 1212 workflow_dispatch :
1313
1414env :
15- CRAWLER_ID : 740ca24d-65fd-4f25-b397-16ebcec2f7fd
15+ CRAWLER_ID : " 740ca24d-65fd-4f25-b397-16ebcec2f7fd"
1616
1717permissions :
1818 contents : read
8989
9090 steps :
9191 - name : " Algolia Crawler"
92+ if : ${{ env.CRAWLER_ID != '' }}
9293 uses : cssnr/algolia-crawler-action@v1
9394 with :
9495 crawler_id : ${{ env.CRAWLER_ID }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,20 +2,24 @@ import DefaultTheme from 'vitepress/theme'
22import './custom.css'
33
44import BrowserIcons from './components/BrowserIcons.vue'
5- import Contributors from './components/Contributors.vue'
65import VPCardLink from './components/VPCardLink.vue'
76
87import VPSwiper from '@cssnr/vitepress-swiper'
98import '@cssnr/vitepress-swiper/style.css'
109
10+ import Contributors from '@cssnr/vitepress-plugin-contributors'
11+ import '@cssnr/vitepress-plugin-contributors/style.css'
12+ import contributors from '../contributors.json'
13+
1114// noinspection JSUnusedGlobalSymbols
1215export default {
1316 ...DefaultTheme ,
1417
1518 enhanceApp ( { app } ) {
1619 app . component ( 'BrowserIcons' , BrowserIcons )
17- app . component ( 'Contributors' , Contributors )
1820 app . component ( 'VPCardLink' , VPCardLink )
1921 app . component ( 'VPSwiper' , VPSwiper )
22+ app . component ( 'Contributors' , Contributors )
23+ app . config . globalProperties . $contributors = contributors
2024 } ,
2125}
Original file line number Diff line number Diff line change @@ -44,4 +44,4 @@ features:
4444 link : /team
4545---
4646
47- <Contributors heading =" Contributors " margin =" 96px 0 " />
47+ <Contributors :contributors = " $contributors " heading =" Contributors " margin =" 96px 0 " />
Original file line number Diff line number Diff line change @@ -92,4 +92,4 @@ const members = [
9292 <VPTeamMembers :members />
9393</VPTeamPage >
9494
95- <Contributors heading =" Our Contributors " margin =" 0 0 96px " />
95+ <Contributors :contributors = " $contributors " heading =" Our Contributors " margin =" 0 0 96px " />
You can’t perform that action at this time.
0 commit comments