mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-24 12:15:32 +08:00
docs: fix algolia redirection
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
const pinyin = require('pinyin');
|
||||
const { slugify: _slugify } = require('@vuepress/shared-utils');
|
||||
|
||||
module.exports = {
|
||||
plugins: {
|
||||
'@vuepress/google-analytics': {
|
||||
@@ -30,6 +33,24 @@ module.exports = {
|
||||
description: '🍰 Everything is RSSible',
|
||||
},
|
||||
},
|
||||
markdown: {
|
||||
slugify: function(s) {
|
||||
return _slugify(
|
||||
pinyin(s, {
|
||||
style: pinyin.STYLE_NORMAL,
|
||||
heteronym: true,
|
||||
segment: true,
|
||||
})
|
||||
.map((item) => item[0])
|
||||
.join('-')
|
||||
);
|
||||
},
|
||||
anchor: {
|
||||
permalink: true,
|
||||
permalinkBefore: true,
|
||||
permalinkSymbol: '#',
|
||||
},
|
||||
},
|
||||
head: [
|
||||
['link', { rel: 'icon', href: '/logo.png' }],
|
||||
['link', { rel: 'manifest', href: '/manifest.json' }],
|
||||
|
||||
+1
-1
@@ -222,7 +222,7 @@ pageClass: routes
|
||||
|
||||
## 抖音
|
||||
|
||||
见 [#抖音](/social-media.html#抖音)
|
||||
见 [#抖音](/social-media.html#dou-yin)
|
||||
|
||||
## 高清电台
|
||||
|
||||
|
||||
@@ -160,7 +160,7 @@ pageClass: routes
|
||||
|
||||
### 更新
|
||||
|
||||
见 [#怪物猎人](/game.html#怪物猎人)
|
||||
见 [#怪物猎人](/game.html#guai-wu-lie-ren)
|
||||
|
||||
## 厚墨
|
||||
|
||||
|
||||
@@ -198,15 +198,15 @@ pageClass: routes
|
||||
|
||||
### 直播开播
|
||||
|
||||
见 [#哔哩哔哩直播](/live.html#哔哩哔哩直播)
|
||||
见 [#哔哩哔哩直播](/live.html#bi-li-bi-li-zhi-bo)
|
||||
|
||||
### 直播搜索
|
||||
|
||||
见 [#哔哩哔哩直播](/live.html#哔哩哔哩直播)
|
||||
见 [#哔哩哔哩直播](/live.html#bi-li-bi-li-zhi-bo)
|
||||
|
||||
### 直播分区
|
||||
|
||||
见 [#哔哩哔哩直播](/live.html#哔哩哔哩直播)
|
||||
见 [#哔哩哔哩直播](/live.html#bi-li-bi-li-zhi-bo)
|
||||
|
||||
### 主站话题列表
|
||||
|
||||
|
||||
Reference in New Issue
Block a user