Skip to content

Commit

Permalink
remove docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Aug 4, 2024
1 parent 7032a46 commit 972fd70
Show file tree
Hide file tree
Showing 20 changed files with 50 additions and 306 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,22 @@ jobs:
update-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Checkout wiki repo
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
path: wiki

- name: Checkout main repo
uses: actions/checkout@v4
with:
repository: MeetWq/meme-generator
path: main

- name: Setup python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand All @@ -25,9 +37,9 @@ jobs:
- name: Install fonts
run: |
sudo apt install fonts-noto-cjk fonts-noto-color-emoji
sudo locale-gen zh_CN zh_CN.UTF-8
sudo update-locale LC_ALL=zh_CN.UTF-8 LANG=zh_CN.UTF-8
sudo apt install fonts-noto-color-emoji
sudo mkdir /usr/share/fonts/myfonts
sudo cp main/resources/fonts/* /usr/share/fonts/myfonts/
fc-cache -fv
- name: Change config
Expand All @@ -36,10 +48,13 @@ jobs:
echo -e "[meme]\nload_builtin_memes = false\nmeme_dirs = [\"$GITHUB_WORKSPACE/memes\"]" > ~/.config/meme_generator/config.toml
- name: Update memes.md
run: python3 docs/update_doc.py
run: python3 wiki/update_meme_list.py

- name: Commit & Push changes
uses: actions-js/push@master
with:
directory: "wiki"
repository: ${{ github.repository }}.wiki
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: "main"
message: "update meme list"
branch: "master"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ dist/
.idea/
venv/
.venv/
node_modules/
24 changes: 13 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
default_install_hook_types: [pre-commit, prepare-commit-msg]
ci:
autofix_commit_msg: ":rotating_light: auto fix by pre-commit hooks"
autofix_commit_msg: "style: auto fix by pre-commit hooks"
autofix_prs: true
autoupdate_branch: master
autoupdate_schedule: monthly
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
autoupdate_branch: main
autoupdate_schedule: quarterly
autoupdate_commit_msg: "chore: auto update by pre-commit hooks"
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
hooks:
- id: isort
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
stages: [commit]
- id: ruff-format

- repo: https://github.com/psf/black
rev: 23.1.0
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: black
- id: prettier
types_or: [javascript, jsx, ts, tsx, markdown, yaml, json]
stages: [commit]
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@

用于放置一些 较为小众的表情、试验性的表情、可能引起不适的表情 等不适合放在主仓库的表情,可自行取用


## 表情列表

表情详细信息、表情预览等可以在 [--> 表情列表 <--](docs/memes.md) 查看

表情详细信息、表情预览等可以在 [--> 表情列表 <--](https://github.com/MeetWq/meme-generator-contrib/wiki/%E8%A1%A8%E6%83%85%E5%88%97%E8%A1%A8) 查看

## 使用方式

参考 [`meme-generator` 加载其他表情的方式](https://github.com/MeetWq/meme-generator/blob/main/README.md#加载其他表情)

参考 [`meme-generator` 加载其他表情的方式](https://github.com/MeetWq/meme-generator/wiki/%E5%8A%A0%E8%BD%BD%E5%85%B6%E4%BB%96%E8%A1%A8%E6%83%85)

## 声明

Expand Down
Empty file removed docs/images/.gitkeep
Empty file.
Binary file removed docs/images/behead.gif
Binary file not shown.
Binary file removed docs/images/can_can_need.jpg
Binary file not shown.
Binary file removed docs/images/do.gif
Binary file not shown.
Binary file removed docs/images/empathy.jpg
Binary file not shown.
Binary file removed docs/images/fleshlight.gif
Binary file not shown.
Binary file removed docs/images/forbid.jpg
Binary file not shown.
Binary file removed docs/images/grab.jpg
Binary file not shown.
Binary file removed docs/images/jerk_off.gif
Binary file not shown.
Binary file removed docs/images/lash.gif
Binary file not shown.
Binary file removed docs/images/little_do.gif
Binary file not shown.
Binary file removed docs/images/operator_generator.jpg
Binary file not shown.
Binary file removed docs/images/stretch.jpg
Binary file not shown.
138 changes: 0 additions & 138 deletions docs/memes.md

This file was deleted.

142 changes: 0 additions & 142 deletions docs/update_doc.py

This file was deleted.

Loading

0 comments on commit 972fd70

Please sign in to comment.