Skip to content

Commit

Permalink
Merge pull request #73 from ztm0929/main
Browse files Browse the repository at this point in the history
重组文件结构,并配置MkDocs站点部署
  • Loading branch information
NekoMirra authored Oct 28, 2024
2 parents d617a9c + baf4435 commit 2ab6bf0
Show file tree
Hide file tree
Showing 20 changed files with 395 additions and 117 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: site_mkdocs gh-deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install \
mkdocs-material \
mkdocs-glightbox \
mkdocs-git-revision-date-localized-plugin \
mkdocs-git-authors-plugin
- run: mkdocs gh-deploy --force
162 changes: 162 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
101 changes: 0 additions & 101 deletions README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# 动态站点

- https://www.wikihow.com 一个类似于生活百科的站点,闭源,定制版MediaWiki
- https://www.wikihow.com 一个类似于生活百科的站点,闭源,定制版 MediaWiki

- https://wiki.linux.do Linux.do 的专属知识站,未知

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@

- [网易云音乐](https://y.music.163.com/g/m/at/daydayup230505Astudyup?page=2ade783a2638439591ca02a78c0f85ca&extChannel=sms-3):可低价开通黑胶会员,相比普通版**优惠¥8/月左右**

- [QQ音乐](https://y.qq.com/jzt/student/index.html?channelId=10036163):学生认证后可低价开通豪华绿钻,相比普通版**优惠¥7/月左右**,实付¥8/月。

- [QQ 音乐](https://y.qq.com/jzt/student/index.html?channelId=10036163):学生认证后可低价开通豪华绿钻,相比普通版**优惠¥7/月左右**,实付¥8/月。

# 🎓学习&软件服务

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ AI 驱动的搜索引擎,会先从多个搜索引擎检索信息,然后使
### [Kagi Search](https://kagi.com/welcome)

- 最好用的搜索引擎之一
- **!!付费**,拥有免费额度,可以免费试用
- **!! 付费**,拥有免费额度,可以免费试用
- 无广告,无跟踪
- 搜索结果优化
- 快速简洁
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions 03-tools/效率软件.md → docs/03-tools/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

## [爱传送](https://mfiles.maokebing.com/)

局域网多端传送/剪贴板同步软件,支持iOS,Android,Windows,MacOs
局域网多端传送/剪贴板同步软件,支持 iOS,Android,Windows,MacOs

## [Everything](https://www.voidtools.com/zh-cn/downloads/)

Expand All @@ -27,7 +27,7 @@

## [qttabbar](https://indiff.github.io/qttabbar/README_zh.html)

资源管理器QTTabBar是一款可以让你在Windows资源管理器中使用Tab多标签功能的小工具
资源管理器 QTTabBar 是一款可以让你在 Windows 资源管理器中使用 Tab 多标签功能的小工具

## [Total Commander](https://www.ghisler.com/)

Expand All @@ -47,7 +47,7 @@ via 小众软件

## [小黑课堂计算机题库](http://124.222.229.85/DuiHuanMaWeb/admin/allsofts.php)

涵盖了一二级的WPS、Ms Office,二级python、C语言,三级网络技术题库
涵盖了一二级的 WPS、Ms Office,二级 python、C 语言,三级网络技术题库

# MacOS

Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2ab6bf0

Please sign in to comment.