diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 15c031e76..1a5e8842f 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -67,6 +67,7 @@ module.exports = { ['link', { rel: 'apple-touch-icon', href: '/apple-touch-icon.png' }], ['link', { rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#ff8549' }], ], + theme: 'vuepress-theme-rsshub', themeConfig: { repo: 'DIYgod/RSSHub', editLinks: true, diff --git a/docs/.vuepress/theme/components/CarbonAds.vue b/docs/.vuepress/theme/components/CarbonAds.vue new file mode 100644 index 000000000..240a4e8a1 --- /dev/null +++ b/docs/.vuepress/theme/components/CarbonAds.vue @@ -0,0 +1,65 @@ + + + diff --git a/docs/.vuepress/theme/index.js b/docs/.vuepress/theme/index.js new file mode 100644 index 000000000..a85dc0efa --- /dev/null +++ b/docs/.vuepress/theme/index.js @@ -0,0 +1,3 @@ +module.exports = { + extend: '@vuepress/theme-default', +}; diff --git a/docs/.vuepress/theme/layouts/Layout.vue b/docs/.vuepress/theme/layouts/Layout.vue new file mode 100644 index 000000000..9463595b9 --- /dev/null +++ b/docs/.vuepress/theme/layouts/Layout.vue @@ -0,0 +1,21 @@ + + + diff --git a/docs/.vuepress/theme/package.json b/docs/.vuepress/theme/package.json new file mode 100644 index 000000000..e52477405 --- /dev/null +++ b/docs/.vuepress/theme/package.json @@ -0,0 +1,4 @@ +{ + "name": "vuepress-theme-rsshub", + "main": "index.js" +}