Skip to content

Commit

Permalink
Merge pull request #158 from GuoXiCheng/dev-c
Browse files Browse the repository at this point in the history
update docs
  • Loading branch information
GuoXiCheng authored Jun 5, 2024
2 parents be7d74b + 68daf40 commit 947d708
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 5 deletions.
25 changes: 22 additions & 3 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,40 @@
// .vitepress/config.js
export default {
// 站点级选项
title: 'SKIP Docs',
title: 'SKIP',
description: 'Just playing around.',
base: "/",
themeConfig: {
nav: [
{ text: "首页", link: "/" },
{ text: "指南", link: "/guide/intro/what-is-skip" }
{ text: "指南", link: "/guide/intro/what-is-skip" },
{ text: "下载", link: "/download/app-download/index" }
],
sidebar: {
"/guide/": [
{
text: "简介",
items: [{
text: "什么是 SKIP",
link: "/intro/what-is-skip"
link: "/guide/intro/what-is-skip"
}]
}, {
text: "使用方法",
items: [{
text: "启用无障碍服务",
link: "/guide/usage/enable-accessibility-service"
}, {
text: "后台进程保活",
link: "/guide/usage/background-process-keep-alive"
}]
}
],
"/download/": [
{
text: "下载 APP",
items: [{
text: "下载方式",
link: "/download/app-download/index"
}]
}
]
Expand Down
3 changes: 3 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
p img {
width: 300px;
}
4 changes: 4 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import DefaultTheme from 'vitepress/theme'
import './custom.css'

export default DefaultTheme
15 changes: 15 additions & 0 deletions docs/download/app-download/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# APP 下载方式

## 直接下载

[SKIP-v2.1.1.apk](https://skip.guoxicheng.top/SKIP-v2.1.1.apk)

## Github Release

[Github Releases](https://github.com/GuoXiCheng/SKIP/releases)

## 网盘转存

[夸克网盘](https://pan.quark.cn/s/8502a8ff74c3)

[百度网盘](https://pan.baidu.com/s/1tDXPcEUSZj5qNkOEmToz0A?pwd=m9u9)
19 changes: 19 additions & 0 deletions docs/guide/usage/background-process-keep-alive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 后台进程保活

## 1. 应用后台锁定

进入「后台管理」,长按「SKIP」,锁定

![](/xiaomi-app-backend-lock-dark.png)

## 2. 忽略电池优化

进入「应用信息」,进入「省电策略」,选择「无限制」

![](/xiaomi-ignoring-battery-optimization-dark.png)

## 3. 允许自启动

进入「应用信息」,打开「自启动」

![](/xiaomi-enable-self-start-dark.png)
9 changes: 9 additions & 0 deletions docs/guide/usage/enable-accessibility-service.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 启用无障碍服务

## 1. 点击屏幕中央按钮

![](/click-button-on-the-screen-dark.png)

## 2. 点击「使用“SKIP”」

![](/use-accessibility-dark.png)
14 changes: 14 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: home

hero:
name: SKIP
text: 基于 Android 无障碍服务的自动跳过开屏广告 App
actions:
- theme: brand
text: Get Started
link: /guide/intro/what-is-skip
- theme: alt
text: View on GitHub
link: https://github.com/GuoXiCheng/SKIP
---
2 changes: 0 additions & 2 deletions release.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ const LATEST_VERSION = "2.1.1";
fs.copyFileSync(`apk/SKIP-v${LATEST_VERSION}.apk`, `${targetPath}/SKIP-v${LATEST_VERSION}.apk`);
fs.copyFileSync('app/src/main/assets/skip_config.yaml', `${targetPath}/skip_config.yaml`);
fs.copyFileSync('app/src/main/assets/skip_config_v2.yaml', `${targetPath}/skip_config_v2.yaml`);

fs.copyFileSync('apk/OneClick-v1.0.apk', `${targetPath}/OneClick-v1.0.apk`);
})();

0 comments on commit 947d708

Please sign in to comment.