Skip to content

Commit

Permalink
docs: division
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Mar 24, 2019
1 parent c907fe5 commit 0b4f026
Show file tree
Hide file tree
Showing 26 changed files with 3,296 additions and 3,285 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇

### Special Sponsors

| <a href="https://rixcloud.app/rsshub" target="_blank"><img width="240px" src="https://i.imgur.com/qRP0eMg.png"></a> |
| :-----------------------------------------------------------------------------------------------------------------: |

<a href="https://rixcloud.app/rsshub" target="_blank"><img width="240px" src="https://i.imgur.com/qRP0eMg.png"></a>

### Sponsors

Expand Down
32 changes: 32 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
updatePopup: true,
},
'@vuepress/back-to-top': true,
'@vuepress/clean-urls': true,
},
locales: {
'/': {
Expand Down Expand Up @@ -50,6 +51,37 @@ module.exports = {
link: '/support/',
},
],
sidebar: {
'/': [
{
title: '指南',
collapsable: true,
children: ['', 'parameters', 'api'],
},
{
title: '路由',
collapsable: false,
children: [
'social-media',
'programming',
'live',
'multimedia',
'picture',
'anime',
'program-update',
'university',
'traditional-media',
'forecast',
'travel',
'shopping',
'game',
'reading',
'government',
'unclassified',
],
},
],
},
},
'/en/': {
lang: 'en-US',
Expand Down
8 changes: 6 additions & 2 deletions docs/.vuepress/styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ a.sidebar-link {
font-weight: 400;
}

.page .content .logo {
.theme-container .page .content .logo-img {
margin-top: 3.6rem;
}

.page .content .logo-text {
padding-top: 2.6rem;
padding-bottom: 2rem;
}
Expand All @@ -27,6 +31,6 @@ a {
word-break: break-all;
}

#指南 {
#关于 {
display: none;
}
Loading

0 comments on commit 0b4f026

Please sign in to comment.