diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
deleted file mode 100644
index 645d11d1..00000000
--- a/.github/workflows/pages.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-name: Pages
-
-on:
- push:
- branches:
- - dev # default branch
-
-jobs:
- pages:
- runs-on: ubuntu-latest
- permissions:
- contents: write
- steps:
- - uses: actions/checkout@v2
- - name: Use Node.js 18.x
- uses: actions/setup-node@v2
- with:
- node-version: "18"
- - name: Cache NPM dependencies
- uses: actions/cache@v2
- with:
- path: node_modules
- key: ${{ runner.OS }}-npm-cache
- restore-keys: |
- ${{ runner.OS }}-npm-cache
- - name: Update
- run: git submodule update --init --recursive
- - name: Install Dependencies
- run: npm install
- - name: Build
- run: npm run build
- - name: page deploy
- uses: peaceiris/actions-gh-pages@v3
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- force_orphan: true
- publish_branch: master
- publish_dir: ./public
- - name: ssh deploy
- uses: easingthemes/ssh-deploy@v5.0.3
- with:
- SSH_PRIVATE_KEY: ${{ secrets.REMOTE_PRIVATE_KEY }}
- REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
- REMOTE_USER: ${{ secrets.REMOTE_USER }}
- SOURCE: "public/*"
- TARGET: ${{ secrets.REMOTE_TARGET }}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index cbcb0f70..00000000
--- a/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-.DS_Store
-Thumbs.db
-db.json
-*.log
-node_modules/
-public/
-tmp/
-.deploy*/
-package-lock.json
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 7204821c..00000000
--- a/.gitmodules
+++ /dev/null
@@ -1,4 +0,0 @@
-[submodule "themes/anzhiyu"]
- path = themes/anzhiyu
- url = https://github.com/anzhiyu-c/hexo-theme-anzhiyu.git
- branch = 1.6.12
diff --git a/source/static/api/js/trans/data.js b/.nojekyll
similarity index 100%
rename from source/static/api/js/trans/data.js
rename to .nojekyll
diff --git a/404.html b/404.html
new file mode 100644
index 00000000..64881ecf
--- /dev/null
+++ b/404.html
@@ -0,0 +1,270 @@
+
页面没有找到 | PyQt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/source/CNAME b/CNAME
similarity index 100%
rename from source/CNAME
rename to CNAME
diff --git a/QPropertyAnimation.html b/QPropertyAnimation.html
new file mode 100644
index 00000000..c4348423
--- /dev/null
+++ b/QPropertyAnimation.html
@@ -0,0 +1,435 @@
+PyQt属性动画(QPropertyAnimation) | PyQt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+QPropertyAnimation 继承自 QVariantAnimation ,其作为 Qt 的属性动画用于针对控件的属性或者继承自 QObject 的对象中定义的属性做修改,
+简单来说就是基类是 QObject 且定义了属性变量,就可以用 QPropertyAnimation 来做属性动画。同时也可以通过 pyqtProperty 来增加自定义属性。
+
+首先,通过构造函数 QPropertyAnimation(QObject, Union[QByteArray, bytes, bytearray], parent: QObject = None) 创建一个对象,其中
+
+- 第一个参数是动画作用的对象,也可以通过
setTargetObject 设置
+- 第二个参数是属性名,在 py3 中类型是 bytes,也可以通过
setPropertyName 设置
+
+# 函数
+一些常见的设置函数
+
+
+
+ |
+ |
+
+
+
+
+| setPropertyName |
+设置属性名 |
+
+
+| setTargetObject |
+设置动画作用对象 |
+
+
+| setDuration |
+设置动画持续时间(毫秒) |
+
+
+| setStartValue |
+设置开始值 |
+
+
+| setEndValue |
+设置结束值 |
+
+
+| setEasingCurve |
+设置动画曲线 |
+
+
+| setKeyValueAt |
+插入线性值 |
+
+
+| setLoopCount |
+设置循环次数(-1 为永久) |
+
+
+
+# 示例
+比如这个例子:
+
+- 修改控件的
geometry 大小
+- 修改自定义属性
+- 修改进度条的 value 值
+
+
+
+
+
+"""
+Created on 2019年5月8日
+@author: Irony
+@site: https://pyqt5.com https://github.com/892768447
+@email: 892768447@qq.com
+@file:
+@description:
+"""
+from PyQt5.QtCore import QPropertyAnimation, QRect, pyqtProperty, QEasingCurve
+from PyQt5.QtWidgets import QWidget, QPushButton, QVBoxLayout,\
+ QLabel, QProgressBar, QSpacerItem, QSizePolicy
+
+
+__Author__ = 'Irony'
+__Copyright__ = 'Copyright (c) 2019 Irony'
+__Version__ = 1.0
+
+
+class Window(QWidget):
+
+ def __init__(self, *args, **kwargs):
+ super(Window, self).__init__(*args, **kwargs)
+ self.resize(400, 400)
+ self._value = 0
+ self.button = QPushButton('属性动画测试', self)
+ self.button.clicked.connect(self.doStart)
+ self.button.setGeometry(0, 0, 80, 40)
+
+ self.buttonc = QPushButton('自定义属性 测试', self)
+ self.buttonc.clicked.connect(self.doStartCustom)
+
+ self.label = QLabel('', self)
+
+ self.progressbar = QProgressBar(self)
+ self.progressbar.setRange(0, 99)
+
+ layout = QVBoxLayout(self)
+ layout.addItem(QSpacerItem(
+ 20, 60, QSizePolicy.Fixed, QSizePolicy.Fixed))
+ layout.addWidget(self.buttonc)
+ layout.addWidget(self.label)
+ layout.addWidget(self.progressbar)
+
+
+ self.progressStart()
+
+
+ @pyqtProperty(int)
+ def value(self):
+ return self._value
+
+ @value.setter
+ def value(self, v):
+ self._value = v
+ self.label.setText('当前值:{}'.format(v))
+
+ def doStart(self):
+
+ animation = QPropertyAnimation(self.button, b'geometry', self)
+ animation.setDuration(2000)
+
+ animation.setEasingCurve(QEasingCurve.OutBounce)
+ animation.setStartValue(QRect(0, 0, 40, 40))
+ animation.setEndValue(QRect(250, 250, 80, 80))
+ animation.start(animation.DeleteWhenStopped)
+
+ def doStartCustom(self):
+
+
+
+ animation = QPropertyAnimation(self, b'value', self)
+ animation.setDuration(2000)
+ animation.setStartValue(0)
+ animation.setEndValue(100)
+ animation.start(animation.DeleteWhenStopped)
+
+ def progressStart(self):
+
+
+
+ animation = QPropertyAnimation(self.progressbar, b'value', self)
+ animation.setDuration(2000)
+ animation.setLoopCount(-1)
+
+
+ animation.setKeyValueAt(0, self.progressbar.minimum())
+ animation.setKeyValueAt(0.1, 10)
+ animation.setKeyValueAt(0.2, 30)
+ animation.setKeyValueAt(0.5, 60)
+ animation.setKeyValueAt(0.7, 80)
+ animation.setKeyValueAt(1, self.progressbar.maximum())
+ animation.start(animation.DeleteWhenStopped)
+
+
+if __name__ == '__main__':
+ import sys
+ from PyQt5.QtWidgets import QApplication
+ app = QApplication(sys.argv)
+ w = Window()
+ w.show()
+ sys.exit(app.exec_())
+
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 PyQt! 赞助

微信付

支付宝
\ No newline at end of file
diff --git a/README.md b/README.md
deleted file mode 100644
index f81cba59..00000000
--- a/README.md
+++ /dev/null
@@ -1,61 +0,0 @@
-# 博客项目
-
-https://pyqt5.com
-
-## 微信博客小程序
-
-
-
-## 提交文章说明
-
-1. 先 fork 本项目 或者 作为协作者加入本项目
-2. 在 [source/_posts](source/_posts) 目录中编写文章
-3. 图片文件放到[source/images](source/images),在文章中使用的时候 ``
-4. 其它文件放到[source/files](source/files),在文章中使用的时候 `[xx](/files/xx.zip)`
-5. 文章格式见下面
-6. 提交代码
-
-## 文章格式
-
-1. 文件名必须为英文,且小于50字符
-2. 内容开头格式如下
-```
----
-author: Irony
-title: PyQtClient例子客户端
-date: 2019-02-02 15:15:06
-top: 1
-tags:
- - Example
-categories: 随笔
----
-
-文章内容简介,注意!!!下面的``一定要加上
-
-
-这里是正文内容
-```
-
-直接复制上面内容到新建的文档中,修改编辑
-
-## 字段说明
-
-| 字段 | 说明 |
-| :------:| :------: |
-| author | 作者名字 |
-| title | 中文标题 |
-| date | 文章日期 |
-| top | 排序 (默认为1)|
-| tags | 文章标签(可以多个) |
-| categories | 文章分类(只能一个) |
-
-## 注意
-
-tags可以是多个,yaml语法要注意格式对齐,比如:
-```
-tags:
- - PyQt
- - 动画
-```
-
-目前常用的categories有:随笔,教程,例子,笔记
diff --git a/_config.anzhiyu.yml b/_config.anzhiyu.yml
deleted file mode 100644
index ed69ed3e..00000000
--- a/_config.anzhiyu.yml
+++ /dev/null
@@ -1,1282 +0,0 @@
-menu:
- 文章:
- 隧道: /archives/ || anzhiyu-icon-box-archive
- 分类: /categories/ || anzhiyu-icon-shapes
- 标签: /tags/ || anzhiyu-icon-tags
-
- 友链:
- 友人帐: /link/ || anzhiyu-icon-link
- 朋友圈: /fcircle/ || anzhiyu-icon-artstation
- 留言板: /comments/ || anzhiyu-icon-envelope
-
- 我的:
- 音乐馆: /music/ || anzhiyu-icon-music
- 追番页: /bangumis/ || anzhiyu-icon-bilibili
- 相册集: /album/ || anzhiyu-icon-images
- 小空调: /air-conditioner/ || anzhiyu-icon-fan
-
- 关于:
- 关于本人: /about/ || anzhiyu-icon-paper-plane
- 闲言碎语: /essay/ || anzhiyu-icon-lightbulb
- 随便逛逛: javascript:toRandomPost() || anzhiyu-icon-shoe-prints1
-
-# nav相关配置
-nav:
- enable: true
- travelling: true
- clock: true
- menu:
- - title: 项目
- item:
- - name: PyQt
- link: https://github.com/PyQt5/PyQt
- icon: favicon.ico
-
-# mourn (哀悼日,指定日期网站简单变灰,不包括滚动条)
-# 注意: 仅网站首页变灰,其他页面正常显示
-mourn:
- enable: false
- days: [4-5, 5-12, 7-7, 9-18, 12-13]
-
-# Code Blocks (代码相关)
-# --------------------------------------
-
-highlight_theme: light # darker / pale night / light / ocean / mac / mac light / false
-highlight_copy: true # copy button
-highlight_lang: true # show the code language
-highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
-highlight_height_limit: 330 # unit: px
-code_word_wrap: true
-
-# copy settings
-# copyright: Add the copyright information after copied content (複制的内容后面加上版权信息)
-# copy: enable 复制后弹窗提示版权信息
-copy:
- enable: true
- copyright:
- enable: false
- limit_count: 50
-
-# social settings (社交图标设置)
-# formal:
-# name: link || icon
-social:
- Github: https://github.com/PyQt5 || anzhiyu-icon-github
- # BiliBili: https://space.bilibili.com/372204786 || anzhiyu-icon-bilibili
-
-# 作者卡片 状态
-author_status:
- enable: false
- # 可以是任何图片,建议放表情包或者emoji图片,效果都很好,[表情包速查](https://emotion.xiaokang.me/)
- statusImg: "https://bu.dusays.com/2023/08/24/64e6ce9c507bb.png"
- skills:
- # - 🤖️ 数码科技爱好者
- # - 🔍 分享与热心帮助
- # - 🏠 智能家居小能手
- - 🔨 设计开发一条龙
- - 🤝 专修交互与设计
- - 🏃 脚踏实地行动派
- - 🧱 团队小组发动机
- - 💢 壮汉人狠话不多
-
-# search (搜索)
-# see https://blog.anheyu.com/posts/c27d.html#搜索系统
-# --------------------------------------
-
-# Algolia search
-algolia_search:
- enable: false
- hits:
- per_page: 6
- tags:
- # - 前端
- # - Hexo
-
-# Docsearch
-# Apply and Docs: see https://docsearch.algolia.com/
-# Crawler Admin Console: see https://crawler.algolia.com/
-# Settings: https://www.algolia.com/
-docsearch:
- enable: false
- appId: # see email
- apiKey: # see email
- indexName: # see email
- option:
-
-# Local search
-local_search:
- enable: false
- preload: true
- CDN:
-
-# Math (数学)
-# --------------------------------------
-# About the per_page
-# if you set it to true, it will load mathjax/katex script in each page (true 表示每一页都加载js)
-# if you set it to false, it will load mathjax/katex script according to your setting (add the 'mathjax: true' in page's front-matter)
-# (false 需要时加载,须在使用的 Markdown Front-matter 加上 mathjax: true)
-
-# MathJax
-mathjax:
- enable: false
- per_page: false
-
-# KaTeX
-katex:
- enable: false
- per_page: false
- hide_scrollbar: true
-
-# Image (图片设置)
-# --------------------------------------
-
-# Favicon(网站图标)
-favicon: /favicon.ico
-
-# Avatar (头像)
-avatar:
- img: https://bu.dusays.com/2023/04/27/64496e511b09c.jpg
- effect: false
-
-# Disable all banner image
-disable_top_img: false
-
-# The banner image of home page
-index_img: false # "background: url() top / cover no-repeat"
-
-# If the banner of page not setting, it will show the top_img
-default_top_img: false
-
-cover:
- # display the cover or not (是否显示文章封面)
- index_enable: true
- aside_enable: true
- archives_enable: true
- # the position of cover in home page (封面显示的位置)
- # left/right/both
- position: left
- # When cover is not set, the default cover is displayed (当没有设置cover时,默认的封面显示)
- default_cover:
- # - /img/default_cover.jpg
-
-# Replace Broken Images (替换无法显示的图片)
-error_img:
- flink: /img/friend_404.gif
- post_page: /img/404.jpg
-
-# A simple 404 page
-error_404:
- enable: true
- subtitle: "页面没有找到"
- background:
-
-post_meta:
- page: # Home Page
- date_type: created # created or updated or both 主页文章日期是创建日或者更新日或都显示
- date_format: simple # date/relative/simple 显示日期还是相对日期 或者 简单日期
- categories: true # true or false 主页是否显示分类
- tags: true # true or false 主页是否显示标籤
- label: false # true or false 显示描述性文字
- post:
- date_type: both # created or updated or both 文章页日期是创建日或者更新日或都显示
- date_format: date # date/relative 显示日期还是相对日期
- categories: true # true or false 文章页是否显示分类
- tags: true # true or false 文章页是否显示标籤
- label: true # true or false 显示描述性文字
- unread: false # true or false 文章未读功能
-
-# 主色调相关配置
-mainTone:
- enable: false # true or false 文章是否启用获取图片主色调
- mode: api # cdn/api/both cdn模式为图片url+imageAve参数获取主色调,api模式为请求API获取主色调,both模式会先请求cdn参数,无法获取的情况下将请求API获取,可以在文章内配置main_color: '#3e5658',使用十六进制颜色,则不会请求both/cdn/api获取主色调,而是直接使用配置的颜色
- # 项目地址:https://github.com/anzhiyu-c/img2color-go
- api: https://img2color-go.vercel.app/api?img= # mode为api时可填写
- cover_change: true # 整篇文章跟随cover修改主色调
-
-# wordcount (字数统计)
-# see https://blog.anheyu.com/posts/c27d.html#字数统计
-wordcount:
- enable: false
- post_wordcount: true
- min2read: true
- total_wordcount: true
-
-# Display the article introduction on homepage
-# 1: description
-# 2: both (if the description exists, it will show description, or show the auto_excerpt)
-# 3: auto_excerpt (default)
-# false: do not show the article introduction
-index_post_content:
- method: 3
- length: 500 # if you set method to 2 or 3, the length need to config
-
-# anchor
-# when you scroll in post, the URL will update according to header id.
-anchor: false
-
-# Post
-# --------------------------------------
-
-# toc (目录)
-toc:
- post: true
- page: false
- number: true
- expand: false
- style_simple: false # for post
-
-post_copyright:
- enable: true
- decode: false
- author_href:
- location: 成都
- license: CC BY-NC-SA 4.0
- license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
- avatarSinks: false # hover时头像下沉
- copyright_author_img_back:
- copyright_author_img_front:
- copyright_author_link: /
-
-# Sponsor/reward
-reward:
- enable: true
- QR_code:
- - img: images/weixin.png
- link:
- text: 微信
- - img: images/zhifubao.png
- link:
- text: 支付宝
-
-# Post edit
-# Easily browse and edit blog source code online.
-post_edit: # 目前仅可选择一个平台在线编辑
- enable: true
- # github: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
- # For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
- github: https://github.com/PyQt5/pyqt5.github.io/edit/dev/source/_posts/
-
- # yuque: https://www.yuque.com/user-name/repo-name/
- # 示例: https://www.yuque.com/yuque/yuque/
- # 你需要在语雀文章 Front Matter 添加参数 id 并确保其唯一性(例如 “id: yuque”, “id: 01”)
- yuque: false
-
-# Related Articles
-related_post:
- enable: true
- limit: 6 # Number of posts displayed
- date_type: created # or created or updated 文章日期显示创建日或者更新日
-
-# figcaption (图片描述文字)
-photofigcaption: false
-
-# post_pagination (分页)
-# value: 1 || 2 || 3 || 4 || false
-# 1: The 'next post' will link to old post
-# 2: The 'next post' will link to new post
-# 3: 只有下一篇,并且只在文章滚动到评论区时显示下一篇文章(旧文章)
-# 4: 只有下一篇,并且只在文章滚动到评论区时显示下一篇文章(旧文章) 显示图片cover
-# false: disable pagination
-post_pagination: 2
-
-# Displays outdated notice for a post (文章过期提醒)
-noticeOutdate:
- enable: false
- style: flat # style: simple/flat
- limit_day: 365 # When will it be shown
- position: top # position: top/bottom
- message_prev: It has been
- message_next: days since the last update, the content of the article may be outdated.
-
-# Share System (分享功能)
-# --------------------------------------
-
-# Share.js
-# https://github.com/overtrue/share.js
-sharejs:
- enable: true
- sites: facebook,twitter,wechat,weibo,qq
-
-# AddToAny
-# https://www.addtoany.com/
-addtoany:
- enable: false
- item: facebook,twitter,wechat,sina_weibo,email,copy_link
-
-# Comments System
-# --------------------------------------
-
-comments:
- # Up to two comments system, the first will be shown as default
- # Choose: Valine/Waline/Twikoo/Artalk
- use: # Twikoo/Waline
- text: true # Display the comment name next to the button
- # lazyload: The comment system will be load when comment element enters the browser's viewport.
- # If you set it to true, the comment count will be invalid
- lazyload: false
- count: false # Display comment count in post's top_img
- card_post_count: false # Display comment count in Home Page
-
-# valine
-# https://valine.js.org
-valine:
- appId: xxxxx # leancloud application app id
- appKey: xxxxx # leancloud application app key
- pageSize: 10 # comment list page size
- avatar: mp # gravatar style https://valine.js.org/#/avatar
- lang: zh-CN # i18n: zh-CN/zh-TW/en/ja
- placeholder: 填写QQ邮箱就会使用QQ头像喔~. # valine comment input placeholder (like: Please leave your footprints)
- guest_info: nick,mail,link # valine comment header info (nick/mail/link)
- recordIP: false # Record reviewer IP
- serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
- bg: /img/comment_bg.png # valine background
- emojiCDN: //i0.hdslb.com/bfs/emote/ # emoji CDN
- enableQQ: true # enable the Nickname box to automatically get QQ Nickname and QQ Avatar
- requiredFields: nick,mail # required fields (nick/mail)
- visitor: false
- master:
- - xxxxx
- friends:
- - xxxxxx
- tagMeta: "博主,小伙伴,访客"
- option:
-
-# waline - A simple comment system with backend support fork from Valine
-# https://waline.js.org/
-waline:
- serverURL: # Waline server address url
- bg: # waline background
- pageview: false
- meta: false # 归属地, 操作系统 前是否显示图标
- imageUploader: true # 是否启用图片上传功能,默认开启,限制为 128kb 的 base64 图片
- # 以下为可选配置,后续若有新增/修改配置参数可在此自行添加/修改
- option:
-
-# Twikoo
-# https://github.com/imaegoo/twikoo
-twikoo:
- envId:
- region:
- visitor: false
- option:
-
-# Artalk
-# https://artalk.js.org/guide/frontend/config.html
-artalk:
- server:
- site:
- visitor: false
- option:
-
-# Chat Services
-# --------------------------------------
-
-# Chat Button [recommend]
-# It will create a button in the bottom right corner of website, and hide the origin button
-chat_btn: false
-
-# The origin chat button is displayed when scrolling up, and the button is hidden when scrolling down
-chat_hide_show: false
-
-# chatra
-# https://chatra.io/
-chatra:
- enable: false
- id:
-
-# tidio
-# https://www.tidio.com/
-tidio:
- enable: false
- public_key:
-
-# daovoice
-# http://daovoice.io/
-daovoice:
- enable: false
- app_id:
-
-# crisp
-# https://crisp.chat/en/
-crisp:
- enable: false
- website_id:
-
-# Footer Settings
-# --------------------------------------
-footer:
- owner:
- enable: true
- since: 2018
- custom_text:
- runtime:
- enable: true
- launch_time: 01/01/2018 00:00:00 # 网站上线时间
- work_img: https://npm.elemecdn.com/anzhiyu-blog@2.0.4/img/badge/安知鱼-上班摸鱼中.svg
- work_description: 距离月入30k也就还差一个大佬带我~
- offduty_img: https://npm.elemecdn.com/anzhiyu-blog@2.0.4/img/badge/安知鱼-下班啦.svg
- offduty_description: 下班了就该开开心心的玩耍,嘿嘿~
- # 徽标部分配置项 https://shields.io/
- # https://img.shields.io/badge/CDN-jsDelivr-orange?style=flat&logo=jsDelivr
- bdageitem:
- enable: true
- list:
- - link: https://hexo.io/ #徽标指向网站链接
- shields: https://npm.elemecdn.com/anzhiyu-blog@2.1.5/img/badge/Frame-Hexo.svg #徽标API
- message: 博客框架为Hexo_v5.4.0 #徽标提示语
- - link: https://blog.anheyu.com/
- shields: https://npm.elemecdn.com/anzhiyu-theme-static@1.0.9/img/Theme-AnZhiYu-2E67D3.svg
- message: 本站使用AnZhiYu主题
- # - link: https://www.dogecloud.com/
- # shields: https://npm.elemecdn.com/anzhiyu-blog@2.2.0/img/badge/CDN-多吉云-3693F3.svg
- # message: 本站使用多吉云为静态资源提供CDN加速
- - link: https://github.com/
- shields: https://npm.elemecdn.com/anzhiyu-blog@2.1.5/img/badge/Source-Github.svg
- message: 本站项目由Github托管
- - link: http://creativecommons.org/licenses/by-nc-sa/4.0/
- shields: https://npm.elemecdn.com/anzhiyu-blog@2.2.0/img/badge/Copyright-BY-NC-SA.svg
- message: 本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可
- socialBar:
- enable: true
- centerImg:
- left:
- - title: email
- link: mailto:892768447@qq.com
- icon: anzhiyu-icon-envelope
- - title: RSS
- link: atom.xml
- icon: anzhiyu-icon-rss
- right:
- - title: Github
- link: https://github.com/PyQt5
- icon: anzhiyu-icon-github
- - title: CC
- link: /copyright
- icon: anzhiyu-icon-copyright-line
- list:
- enable: false
- randomFriends: 3
- project:
- # - title: 导航
- # links:
- # - title: 即刻短文
- # link: /essay/
- # - title: 友链文章
- # link: /fcircle/
- # - title: 留言板
- # link: /comments/
- # - title: 协议
- # links:
- # - title: 隐私协议
- # link: /privacy/
- # - title: Cookies
- # link: /cookies/
- # - title: 版权协议
- # link: /copyright/
- footerBar:
- enable: true
- authorLink: /
- cc:
- enable: false
- link: /copyright
- linkList:
- - link: https://github.com/anzhiyu-c/hexo-theme-anzhiyu
- text: 主题
- # - link: https://beian.miit.gov.cn/
- # text: 湘ICP备-xxxxxxx号
- subTitle:
- enable: false
- # Typewriter Effect (打字效果)
- effect: true
- # Effect Speed Options (打字效果速度参数)
- startDelay: 300 # time before typing starts in milliseconds
- typeSpeed: 150 # type speed in milliseconds
- backSpeed: 50 # backspacing speed in milliseconds
- # loop (循环打字)
- loop: true
- # source 调用第三方服务
- # source: false 关闭调用
- # source: 1 调用一言网的一句话(简体) https://hitokoto.cn/
- # source: 2 调用一句网(简体) http://yijuzhan.com/
- # source: 3 调用今日诗词(简体) https://www.jinrishici.com/
- # subtitle 会先显示 source , 再显示 sub 的内容
- source: 1
- # 如果关闭打字效果,subtitle 只会显示 sub 的第一行文字
- sub:
- # - 生活明朗, 万物可爱, 人间值得, 未来可期.
-
-# Analysis
-# --------------------------------------
-
-# Baidu Analytics
-# https://tongji.baidu.com/web/welcome/login
-baidu_analytics: f7dfd656bdac4e76da8b54bba2978f0b
-
-# Google Analytics
-# https://analytics.google.com/analytics/web/
-google_analytics:
-
-# CNZZ Analytics
-# https://www.umeng.com/
-cnzz_analytics:
-
-# Cloudflare Analytics
-# https://www.cloudflare.com/zh-tw/web-analytics/
-cloudflare_analytics:
-
-# Microsoft Clarity
-# https://clarity.microsoft.com/
-microsoft_clarity: j6xye2x6np
-
-# Advertisement
-# --------------------------------------
-
-# Google Adsense (谷歌广告)
-google_adsense:
- enable: false
- auto_ads: true
- js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
- client:
- enable_page_level_ads: true
-
-# Insert ads manually (手动插入广告)
-# ad:
-# index:
-# aside:
-# post:
-
-# Verification (站长验证)
-# --------------------------------------
-
-site_verification:
- - name: google-site-verification
- content: xxx
- - name: baidu-site-verification
- content: code-xxx
- - name: msvalidate.01
- content: xxx
-
-# Beautify/Effect (美化/效果)
-# --------------------------------------
-
-# Theme color for customize
-# Notice: color value must in double quotes like "#000" or may cause error!
-
-theme_color:
- enable: true
- main: "#425AEF"
- dark_main: "#f2b94b"
- paginator: "#425AEF"
- # button_hover: "#FF7242"
- text_selection: "#2128bd"
- link_color: "var(--anzhiyu-fontcolor)"
- meta_color: "var(--anzhiyu-fontcolor)"
- hr_color: "#4259ef23"
- code_foreground: "#fff"
- code_background: "var(--anzhiyu-code-stress)"
- toc_color: "#425AEF"
- # blockquote_padding_color: "#425AEF"
- # blockquote_background_color: "#425AEF"
- scrollbar_color: "var(--anzhiyu-scrollbar)"
- meta_theme_color_light: "#f7f9fe"
- meta_theme_color_dark: "#18171d"
-
-# 移动端侧栏
-sidebar:
- site_data:
- archive: true
- tag: true
- category: true
- menus_items: true
- tags_cloud: true
- display_mode: true
- nav_menu_project: true
-
-# 文章h2添加分隔线
-h2Divider: false
-
-# 表格隔行变色
-table_interlaced_discoloration: false
-
-# 首页双栏显示
-article_double_row: true
-
-# The top_img settings of home page
-# default: top img - full screen, site info - middle (默认top_img全屏,site_info在中间)
-# The position of site info, eg: 300px/300em/300rem/10% (主页标题距离顶部距离)
-index_site_info_top:
-# The height of top_img, eg: 300px/300em/300rem (主页top_img高度)
-index_top_img_height:
-
-# The user interface setting of category and tag page (category和tag页的UI设置)
-# index - same as Homepage UI (index 值代表 UI将与首页的UI一样)
-# default - same as archives UI 默认跟archives页面UI一样
-category_ui: # 留空或 index
-tag_ui: # 留空或 index
-
-# Footer Background
-footer_bg: false
-
-# the position of bottom right button/default unit: px (右下角按钮距离底部的距离/默认单位为px)
-rightside-bottom: 100px
-
-# Background effects (背景特效)
-# --------------------------------------
-
-# canvas_ribbon (静止彩带背景)
-# See: https://github.com/hustcc/ribbon.js
-canvas_ribbon:
- enable: false
- size: 150
- alpha: 0.6
- zIndex: -1
- click_to_change: false
- mobile: false
-
-# Fluttering Ribbon (动态彩带)
-canvas_fluttering_ribbon:
- enable: false
- mobile: false
-
-# canvas_nest
-# https://github.com/hustcc/canvas-nest.js
-canvas_nest:
- enable: false
- color: "0,0,255" #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
- opacity: 0.7 # the opacity of line (0~1), default: 0.5.
- zIndex: -1 # z-index property of the background, default: -1.
- count: 99 # the number of lines, default: 99.
- mobile: false
-
-# Typewriter Effect (打字效果)
-# https://github.com/disjukr/activate-power-mode
-activate_power_mode:
- enable: false
- colorful: true # open particle animation (冒光特效)
- shake: false # open shake (抖动特效)
- mobile: false
-
-# Mouse click effects: fireworks (鼠标点击效果: 烟火特效)
-fireworks:
- enable: false
- zIndex: 9999 # -1 or 9999
- mobile: false
-
-# Mouse click effects: Heart symbol (鼠标点击效果: 爱心)
-click_heart:
- enable: false
- mobile: false
-
-# Mouse click effects: words (鼠标点击效果: 文字)
-ClickShowText:
- enable: false
- text:
- # - I
- # - LOVE
- # - YOU
- fontSize: 15px
- random: false
- mobile: false
-
-# Default display mode (网站默认的显示模式)
-# light (default) / dark
-display_mode: light
-
-# Beautify (美化页面显示)
-beautify:
- enable: true
- field: post # site/post
- title-prefix-icon: '\f0c1'
- title-prefix-icon-color: "#F47466"
-
-# Global font settings
-# Don't modify the following settings unless you know how they work (非必要不要修改)
-font:
- global-font-size: 16px
- code-font-size:
- font-family:
- code-font-family: consolas, Menlo, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif
-
-# Font settings for the site title and site subtitle
-# 左上角网站名字 主页居中网站名字
-blog_title_font:
- font_link:
- font-family: PingFang SC, 'Hiragino Sans GB', 'Microsoft JhengHei', 'Microsoft YaHei', sans-serif
-
-# The setting of divider icon (水平分隔线图标设置)
-hr_icon:
- enable: true
- icon: \f0c4 # the unicode value of Font Awesome icon, such as '\f0c4'
- icon-top:
-
-# the subtitle on homepage (主页subtitle)
-subtitle:
- enable: false
- # Typewriter Effect (打字效果)
- effect: true
- # Effect Speed Options (打字效果速度参数)
- startDelay: 300 # time before typing starts in milliseconds
- typeSpeed: 150 # type speed in milliseconds
- backSpeed: 50 # backspacing speed in milliseconds
- # loop (循环打字)
- loop: true
- # source 调用第三方服务
- # source: false 关闭调用
- # source: 1 调用一言网的一句话(简体) https://hitokoto.cn/
- # source: 2 调用一句网(简体) http://yijuzhan.com/
- # source: 3 调用今日诗词(简体) https://www.jinrishici.com/
- # subtitle 会先显示 source , 再显示 sub 的内容
- source: 1
- # 如果关闭打字效果,subtitle 只会显示 sub 的第一行文字
- sub:
- # - 生活明朗,万物可爱,人间值得,未来可期.
-
-# Loading Animation (加载动画)
-preloader:
- enable: true
- # source
- # 1. fullpage-loading
- # 2. pace (progress bar)
- # else all
- source: 3
- # pace theme (see https://codebyzach.github.io/pace/)
- pace_css_url:
- avatar: https://npm.elemecdn.com/anzhiyu-blog-static@1.0.4/img/avatar.jpg # 自定加载动画义头像
-
-# aside (侧边栏)
-# --------------------------------------
-
-aside:
- enable: true
- hide: false
- button: true
- mobile: true # display on mobile
- position: right # left or right
- display: # 控制对应详情页面是否显示侧边栏
- archive: true
- tag: true
- category: true
- card_author:
- enable: true
- description: # 这有关于产品、设计、开发相关的问题和看法,还有文章翻译和分享。
相信你可以在这里找到对你有用的知识和教程。
# 默认为站点描述
- name_link: /
-
- card_announcement:
- enable: false
- content: 欢迎来看我的博客鸭~
- card_weixin:
- enable: true
- face: https://bu.dusays.com/2023/01/13/63c02edf44033.png
- backFace: https://bu.dusays.com/2023/05/13/645fa415e8694.png
- card_recent_post:
- enable: true
- limit: 5 # if set 0 will show all
- sort: date # date or updated
- sort_order: # Don't modify the setting unless you know how it works
- card_categories:
- enable: false
- limit: 8 # if set 0 will show all
- expand: none # none/true/false
- sort_order: # Don't modify the setting unless you know how it works
- card_tags:
- enable: true
- limit: 40 # if set 0 will show all
- color: false
- sort_order: # Don't modify the setting unless you know how it works
- highlightTags:
- # - Hexo
- # - 前端
- card_archives:
- enable: true
- type: monthly # yearly or monthly
- format: MMMM YYYY # eg: YYYY年MM月
- order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
- limit: 8 # if set 0 will show all
- sort_order: # Don't modify the setting unless you know how it works
- card_webinfo:
- enable: true
- post_count: true
- last_push_date: false
- sort_order: # Don't modify the setting unless you know how it works
-
-# busuanzi count for PV / UV in site
-# 访问人数
-busuanzi:
- site_uv: true
- site_pv: true
- page_pv: true
-
-# Time difference between publish date and now (网页运行时间)
-# Formal: Month/Day/Year Time or Year/Month/Day Time
-runtimeshow:
- enable: true
- publish_date: 1/1/2018 00:00:00
-
-# Console - Newest Comments
-newest_comments:
- enable: false
- sort_order: # Don't modify the setting unless you know how it works
- limit: 6
- storage: 10 # unit: mins, save data to localStorage
- avatar: true
-
-# Bottom right button (右下角按钮)
-# --------------------------------------
-
-# Conversion between Traditional and Simplified Chinese (简繁转换)
-translate:
- enable: true
- # The text of a button
- default: 繁
- # Right-click menu default text
- rightMenuMsgDefault: "轉為繁體"
- # the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
- defaultEncoding: 2
- # Time delay
- translateDelay: 0
- # The text of the button when the language is Simplified Chinese
- msgToTraditionalChinese: "繁"
- # The text of the button when the language is Traditional Chinese
- msgToSimplifiedChinese: "简"
- # Right-click the menu to traditional Chinese
- rightMenuMsgToTraditionalChinese: "转为繁体"
- # Right-click menu to simplified Chinese
- rightMenuMsgToSimplifiedChinese: "转为简体"
-
-# Read Mode (閲读模式)
-readmode: true
-
-# 中控台
-centerConsole:
- enable: true
- card_tags:
- enable: true
- limit: 40 # if set 0 will show all
- color: false
- sort_order: # Don't modify the setting unless you know how it works
- highlightTags:
- # - Hexo
- # - 前端
- card_archives:
- enable: true
- type: monthly # yearly or monthly
- format: MMMM YYYY # eg: YYYY年MM月
- order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
- limit: 8 # if set 0 will show all
- sort_order: # Don't modify the setting unless you know how it works
-
-# dark mode
-darkmode:
- enable: true
- # Toggle Button to switch dark/light mode
- button: true
- # Switch dark/light mode automatically (自动切换 dark mode和 light mode)
- # autoChangeMode: 1 Following System Settings, if the system doesn't support dark mode, it will switch dark mode between 6 pm to 6 am
- # autoChangeMode: 2 Switch dark mode between 6 pm to 6 am
- # autoChangeMode: false
- autoChangeMode: 1
- start: # 8
- end: # 22
-
-# Don't modify the following settings unless you know how they work (非必要请不要修改 )
-# Choose: readmode,translate,darkmode,hideAside,toc,chat,comment
-# Don't repeat 不要重複
-rightside_item_order:
- enable: false
- hide: # readmode,translate,darkmode,hideAside
- show: # toc,chat,comment
-
-# Lightbox (图片大图查看模式)
-# --------------------------------------
-# You can only choose one, or neither (只能选择一个 或者 两个都不选)
-
-# medium-zoom
-# https://github.com/francoischalifour/medium-zoom
-medium_zoom: false
-
-# fancybox
-# http://fancyapps.com/fancybox/3/
-fancybox: true
-
-# Tag Plugins settings (标籤外挂)
-# --------------------------------------
-
-# mermaid
-# see https://github.com/mermaid-js/mermaid
-mermaid:
- enable: false
- # built-in themes: default/forest/dark/neutral
- theme:
- light: default
- dark: dark
-
-# Note (Bootstrap Callout)
-note:
- # Note tag style values:
- # - simple bs-callout old alert style. Default.
- # - modern bs-callout new (v2-v3) alert style.
- # - flat flat callout style with background, like on Mozilla or StackOverflow.
- # - disabled disable all CSS styles import of note tag.
- style: flat
- icons: true
- border_radius: 3
- # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
- # Offset also applied to label tag variables. This option can work with disabled note tag.
- light_bg_offset: 0
-
-icons:
- ali_iconfont_js: # 阿里图标symbol 引用链接,主题会进行加载 symbol 引用
- fontawesome: false #是否启用fontawesome6图标
- fontawesome_animation_css: https://npm.elemecdn.com/hexo-butterfly-tag-plugins-plus@1.0.17/lib/assets/font-awesome-animation.min.css
-
-# other
-# --------------------------------------
-
-# Pjax
-# It may contain bugs and unstable, give feedback when you find the bugs.
-# https://github.com/MoOx/pjax
-pjax:
- enable: true
- exclude:
- - /music/
- - /no-pjax/
-
-# Inject the css and script (aplayer/meting)
-aplayerInject:
- enable: true
- per_page: true
-
-# Snackbar (Toast Notification 弹窗)
-# https://github.com/polonel/SnackBar
-# position 弹窗位置
-# 可选 top-left / top-center / top-right / bottom-left / bottom-center / bottom-right
-snackbar:
- enable: true
- position: top-center
- bg_light: "#425AEF" # The background color of Toast Notification in light mode
- bg_dark: "#1f1f1f" # The background color of Toast Notification in dark mode
-
-# https://instant.page/
-# prefetch (预加载)
-instantpage: true
-
-# https://github.com/vinta/pangu.js
-# Insert a space between Chinese character and English character (中英文之间添加空格)
-pangu:
- enable: false
- field: site # site/post
-
-# Lazyload (图片懒加载)
-# https://github.com/verlok/vanilla-lazyload
-lazyload:
- enable: true
- field: site # site/post
- placeholder:
- blur: true
- progressive: true
-
-# PWA
-# See https://github.com/JLHwung/hexo-offline
-# ---------------
-pwa:
- enable: false
- startup_image_enable: true
- manifest: /manifest.json
- theme_color: var(--anzhiyu-main)
- mask_icon: /img/siteicon/apple-icon-180.png
- apple_touch_icon: /img/siteicon/apple-icon-180.png
- bookmark_icon: /img/siteicon/apple-icon-180.png
- favicon_32_32: /img/siteicon/32.png
- favicon_16_16: /img/siteicon/16.png
-
-# Open graph meta tags
-# https://developers.facebook.com/docs/sharing/webmasters/
-Open_Graph_meta: true
-
-# Add the vendor prefixes to ensure compatibility
-css_prefix: true
-
-# 首页顶部相关配置
-home_top:
- enable: true # 开关
- timemode: date #date/updated
- title: 生活明朗
- subTitle: 万物可爱。
- siteText: anheyu.com
- category:
- - name: 前端
- path: /categories/前端开发/
- shadow: var(--anzhiyu-shadow-blue)
- class: blue
- icon: anzhiyu-icon-dove
- - name: 大学
- path: /categories/大学生涯/
- shadow: var(--anzhiyu-shadow-red)
- class: red
- icon: anzhiyu-icon-fire
- - name: 生活
- path: /categories/生活日常/
- shadow: var(--anzhiyu-shadow-green)
- class: green
- icon: anzhiyu-icon-book
- default_descr: 再怎么看我也不知道怎么描述它的啦!
- swiper:
- enable: false
- swiper_css: https://npm.elemecdn.com/anzhiyu-theme-static@1.0.0/swiper/swiper.min.css #swiper css依赖
- swiper_js: https://npm.elemecdn.com/anzhiyu-theme-static@1.0.0/swiper/swiper.min.js #swiper js依赖
- banner:
- tips: 新品主题
- title: Theme-AnZhiYu
- image: https://bu.dusays.com/2023/05/13/645fa3cf90d70.webp
- link: https://docs.anheyu.com/
-
-# 朋友圈配置
-friends_vue:
- enable: false
- vue_js: https://npm.elemecdn.com/anzhiyu-theme-static@1.1.1/friends/index.4f887d95.js
- apiurl: # 朋友圈后端地址
- top_tips: 使用 友链朋友圈 订阅友链最新文章
- top_background:
-
-# 深色模式粒子效果canvas
-universe:
- enable: true
-
-# 页面卡片顶部气泡升起效果
-bubble:
- enable: false
-
-# 控制台打印信息
-console:
- enable: true
-
-# 51a统计配置
-LA:
- enable: false
- ck:
- LingQueMonitorID:
-
-# 标签卖萌
-diytitle:
- enable: true
- leaveTitle: w(゚Д゚)w 不要走!再看看嘛!
- backTitle: ♪(^∇^*)欢迎肥来!
-
-# 留言弹幕配置
-comment_barrage_config:
- enable: false
- # 同时最多显示弹幕数
- maxBarrage: 1
- # 弹幕显示间隔时间ms
- barrageTime: 4000
- # token,在控制台中获取
- accessToken: ""
- # 博主邮箱md5值
- mailMd5: ""
-
-# 左下角音乐配置项
-# https://github.com/metowolf/MetingJS
-nav_music:
- enable: true
- console_widescreen_music: false # 宽屏状态控制台显示音乐而不是标签 enable为true 控制台依然会显示
- id: 8152976493
- server: netease
- volume: 0.7 # 默认音量
- all_playlist: https://y.qq.com/n/ryqq/playlist/8802438608
-
-# 路径为 /music 的音乐页面默认加载的歌单 1. nav_music 2. custom
-music_page_default: nav_music
-
-# 评论匿名邮箱
-visitorMail:
- enable: true
- mail: ""
-
-# ptool 文章底部工具
-ptool:
- enable: true
- share_mobile: true
- share_weibo: true
- share_copyurl: true
- categories: false # 是否显示分类
- mode: # 运营模式与责任,不配置不显示
-
-# 欢迎语配置
-greetingBox:
- enable: false #开启后必须配置下面的list对应的时间段,不然会出现小白条
- default: 晚上好👋
- list:
- # - greeting: 晚安😴
- # startTime: 0
- # endTime: 5
- # - greeting: 早上好鸭👋, 祝你一天好心情!
- # startTime: 6
- # endTime: 9
- # - greeting: 上午好👋, 状态很好,鼓励一下~
- # startTime: 10
- # endTime: 10
- # - greeting: 11点多啦, 在坚持一下就吃饭啦~
- # startTime: 11
- # endTime: 11
- # - greeting: 午安👋, 宝贝
- # startTime: 12
- # endTime: 14
- # - greeting: 🌈充实的一天辛苦啦!
- # startTime: 14
- # endTime: 18
- # - greeting: 19点喽, 奖励一顿丰盛的大餐吧🍔。
- # startTime: 19
- # endTime: 19
- # - greeting: 晚上好👋, 在属于自己的时间好好放松😌~
- # startTime: 20
- # endTime: 24
-
-# 文章顶部ai摘要
-post_head_ai_description:
- enable: true
- gptName: AnZhiYu
- mode: local # 默认模式 可选值: tianli/local
- switchBtn: false # 可以配置是否显示切换按钮 以切换tianli/local
- btnLink: https://afdian.net/item/886a79d4db6711eda42a52540025c377
- randomNum: 3 # 按钮最大的随机次数,也就是一篇文章最大随机出来几种
- basicWordCount: 1000 # 最低获取字符数, 最小1000, 最大1999
- key: xxxx
- Referer: https://xx.xx/
-
-# 快捷键配置
-shortcutKey:
- enable: false
- delay: 100 # 所有键位延时触发而不是立即触发(包括shift,以解决和浏览器键位冲突问题)
- shiftDelay: 200 # shift按下延时多久开启
-
-# 无障碍优化(在首页按下「shift + ?」以查看效果)
-accesskey:
- enable: true
-
-# 友情链接顶部相关配置
-linkPageTop:
- enable: false
- title: 与数百名博主无限进步
- # 添加博主友链的评论自定义格式
- addFriendPlaceholder: "昵称(请勿包含博客等字样):\n网站地址(要求博客地址,请勿提交个人主页):\n头像图片url(请提供尽可能清晰的图片,我会上传到我自己的图床):\n描述:\n站点截图(可选):\n"
-
-# 缩略图后缀 archive/tag/category 页面单独开启后缀
-pageThumbnailSuffix: ""
-
-# 隐私协议弹窗
-agreementPopup:
- enable: false
- url: /privacy
-
-# 右键菜单
-rightClickMenu:
- enable: false
-
-# 首页随便逛逛people模式 而非技能点模式,关闭后为技能点模式需要配置creativity.yml
-peoplecanvas:
- enable: true
- img: https://upload-bbs.miyoushe.com/upload/2023/09/03/125766904/ee23df8517f3c3e3efc4145658269c06_5714860933110284659.png
-
-# 动效
-dynamicEffect:
- postTopWave: true # 文章顶部波浪效果
- postTopRollZoomInfo: false # 文章顶部滚动时缩放
- pageCommentsRollZoom: false # 非文章页面评论滚动时缩放显示(仅仅Twikoo生效)
-
-# Inject
-# Insert the code to head (before '' tag) and the bottom (before '# 为什么要搭建这个社区
+
也许是因为喜爱 PyQt,喜欢用它做很多东西吧,也想为大家提供更多关于 PyQt 的帮助。
+
内容主要是 记录 一些开发日志,分享些 我认为有趣的东西,还有 各种教程、例子 等等。
+
还有就是收集和整理记录下网友们平时遇到的问题,提出的需求等等,方便其他人搜索。
+
如需帮助可以前往 issues 留下您的问题
+
如需发表文章可以前往 这里 发表新文章,同时需要查看 发文要求
+
# 投稿
+
欢迎投稿: https://github.com/PyQt5/blog/blob/dev/README.md
+
# 关于我?
+
信息很少…
+
# 联系我们?
+
点击链接加入群聊【PyQt5 学习】:https://jq.qq.com/?_wv=1027&k=5Y29SHz
+
# 捐助支持
+
or 
+
' tag)
-# 插入代码到头部 之前 和 底部 之前
-inject:
- head:
- # 自定义css
- # -
-
- bottom:
- # 自定义js
- # -
-
-# CDN
-# Don't modify the following settings unless you know how they work
-# 非必要请不要修改
-CDN:
- # The CDN provider of internal scripts (主题内部 js 的 cdn 配置)
- # option: local/elemecdn/jsdelivr/unpkg/cdnjs/onmicrosoft/cbd/anheyu/custom
- # Dev version can only choose. ( dev版的主题只能设置为 local )
- internal_provider: local
-
- # The CDN provider of third party scripts (第三方 js 的 cdn 配置)
- # option: elemecdn/jsdelivr/unpkg/cdnjs/onmicrosoft/cbd/anheyu/custom
- third_party_provider: cbd
-
- # Add version number to CDN, true or false
- version: true
-
- # Custom format
- # For example: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
- custom_format: # https://npm.elemecdn.com/${name}@latest/${file}
-
- option:
- # main_css:
- # main:
- # utils:
- # translate:
- # random_friends_post_js:
- # right_click_menu_js:
- # comment_barrage_js:
- # ai_abstract_js:
- # people_js:
- # local_search:
- # algolia_js:
- # algolia_search:
- # instantsearch:
- # docsearch_js:
- # docsearch_css:
- # pjax:
- # blueimp_md5:
- # valine:
- # twikoo:
- # waline_js:
- # waline_css:
- # sharejs:
- # sharejs_css:
- # mathjax:
- # katex:
- # katex_copytex:
- # mermaid:
- # canvas_ribbon:
- # canvas_fluttering_ribbon:
- # canvas_nest:
- # lazyload:
- # instantpage:
- # typed:
- # pangu:
- # fancybox_css:
- # fancybox:
- # medium_zoom:
- # snackbar_css:
- # snackbar:
- # activate_power_mode:
- # fireworks:
- # click_heart:
- # ClickShowText:
- # fontawesome:
- # flickr_justified_gallery_js:
- # flickr_justified_gallery_css:
- # aplayer_css:
- # aplayer_js:
- # meting_js:
- # meting_api:
- # prismjs_js:
- # prismjs_lineNumber_js:
- # prismjs_autoloader:
- # artalk_js:
- # artalk_css:
- # pace_js:
- # pace_default_css:
- # countup_js:
- # gsap_js:
- busuanzi: https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js
- # rightmenu:
- # waterfall:
- # ali_iconfont_css:
- # accesskey_js:
diff --git a/_config.butterfly.yml b/_config.butterfly.yml
deleted file mode 100644
index 3af50869..00000000
--- a/_config.butterfly.yml
+++ /dev/null
@@ -1,1028 +0,0 @@
-# Navigation bar settings (導航欄設置)
-# see https://butterfly.js.org/posts/4aa8abbe/##導航欄設置-Navigation-bar-settings
-# --------------------------------------
-
-prismjs:
- enable: true
- preprocess: true
- line_number: false
- tab_replace: ""
-
-nav:
- logo: # image
- display_title: true
- fixed: false # fixed navigation bar
-
-# Menu 目錄
-menu:
- 首页: / || fas fa-home
- 归档: /archives/ || fas fa-archive
- 标签: /tags/ || fas fa-tags
- 分类: /categories/ || fas fa-folder-open
- # List||fas fa-list:
- # Music: /music/ || fas fa-music
- # Movie: /movies/ || fas fa-video
- 友链: /link/ || fas fa-link
- 关于: /about/ || fas fa-heart
-
-# Code Blocks (代碼相關)
-# --------------------------------------
-
-highlight_theme: "mac light" # darker / pale night / light / ocean / mac / mac light / false
-highlight_copy: true # copy button
-highlight_lang: true # show the code language
-highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
-highlight_height_limit: 220 # unit: px
-code_word_wrap: true
-
-# Social Settings (社交圖標設置)
-# formal:
-# icon: link || the description || color
-social:
- fab fa-qq: https://jq.qq.com/?_wv=1027&k=5QVVEdF || QQ || '#68B2F6'
- far fa-comment: https://pd.qq.com/s/157c1hiay || Comment || '#4a7dbe'
- fab fa-github: https://github.com/PyQt5 || Github || '#24292e'
- fas fa-envelope: mailto:892768447@qq.com || Email || '#4a7dbe'
- fas fa-rss: /atom.xml || RSS
-
-# Image (圖片設置)
-# --------------------------------------
-
-# Favicon(網站圖標)
-favicon: favicon.ico
-
-# Avatar (頭像)
-avatar:
- img: /images/avatar.png
- effect: false
-
-# Disable all banner image
-disable_top_img: false
-
-# The banner image of home page
-index_img: /images/bg-2.jpg
-
-# If the banner of page not setting, it will show the top_img
-default_top_img: /images/bg-2.jpg
-
-# The banner image of archive page
-archive_img: /images/bg-2.jpg
-
-# If the banner of tag page not setting, it will show the top_img
-# note: tag page, not tags page (子標籤頁面的 top_img)
-tag_img: /images/bg-2.jpg
-
-# The banner image of tag page
-# format:
-# - tag name: xxxxx
-tag_per_img:
-
-# If the banner of category page not setting, it will show the top_img
-# note: category page, not categories page (子分類頁面的 top_img)
-category_img: /images/bg-2.jpg
-
-# The banner image of category page
-# format:
-# - category name: xxxxx
-category_per_img:
-
-cover:
- # display the cover or not (是否顯示文章封面)
- index_enable: true
- aside_enable: true
- archives_enable: true
- # the position of cover in home page (封面顯示的位置)
- # left/right/both
- position: both
- # When cover is not set, the default cover is displayed (當沒有設置cover時,默認的封面顯示)
- default_cover: # https://jsd.012700.xyz/gh/jerryc127/butterfly_cdn@2.1.0/top_img/default.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-2.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-1.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-3.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-6.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-5.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-4.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-7.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-9.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-8.png
- - https://jsd.012700.xyz/gh/jerryc127/CDN/img/material-10.png
-
-# Replace Broken Images (替換無法顯示的圖片)
-error_img:
- flink: /img/friend_404.gif
- post_page: /img/404.jpg
-
-# A simple 404 page
-error_404:
- enable: true
- subtitle: '页面没有找到'
- background: https://i.loli.net/2020/05/19/aKOcLiyPl2JQdFD.png
-
-post_meta:
- page: # Home Page
- date_type: created # created or updated or both 主頁文章日期是創建日或者更新日或都顯示
- date_format: date # date/relative 顯示日期還是相對日期
- categories: true # true or false 主頁是否顯示分類
- tags: true # true or false 主頁是否顯示標籤
- label: true # true or false 顯示描述性文字
- post:
- date_type: created # created or updated or both 文章頁日期是創建日或者更新日或都顯示
- date_format: date # date/relative 顯示日期還是相對日期
- categories: true # true or false 文章頁是否顯示分類
- tags: true # true or false 文章頁是否顯示標籤
- label: true # true or false 顯示描述性文字
-
-# Display the article introduction on homepage
-# 1: description
-# 2: both (if the description exists, it will show description, or show the auto_excerpt)
-# 3: auto_excerpt (default)
-# false: do not show the article introduction
-index_post_content:
- method: 3
- length: 500 # if you set method to 2 or 3, the length need to config
-
-# anchor
-anchor:
- # when you scroll, the URL will update according to header id.
- auto_update: true
- # Click the headline to scroll and update the anchor
- click_to_scroll: true
-
-# figcaption (圖片描述文字)
-photofigcaption: true
-
-# copy settings
-# copyright: Add the copyright information after copied content (複製的內容後面加上版權信息)
-copy:
- enable: true
- copyright:
- enable: true
- limit_count: 150
-
-# Post
-# --------------------------------------
-
-# toc (目錄)
-toc:
- post: true
- page: false
- number: true
- expand: true
- style_simple: false # for post
- scroll_percent: true
-
-post_copyright:
- enable: true
- decode: true
- author_href:
- license: CC BY-NC-SA 4.0
- license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
-
-# Sponsor/reward
-reward:
- enable: true
- text:
- QR_code:
- - img: /images/weixin.png
- link:
- text: 微信付
- - img: /images/zhifubao.png
- link:
- text: 支付宝
-
-# Post edit
-# Easily browse and edit blog source code online.
-post_edit:
- enable: true
- # url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
- # For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
- url: https://github.com/PyQt5/blog/edit/dev/source/
-
-# Related Articles
-related_post:
- enable: true
- limit: 6 # Number of posts displayed
- date_type: created # or created or updated 文章日期顯示創建日或者更新日
-
-# post_pagination (分頁)
-# value: 1 || 2 || false
-# 1: The 'next post' will link to old post
-# 2: The 'next post' will link to new post
-# false: disable pagination
-post_pagination: 1
-
-# Displays outdated notice for a post (文章過期提醒)
-noticeOutdate:
- enable: true
- style: flat # style: simple/flat
- limit_day: 730 # When will it be shown
- position: top # position: top/bottom
- message_prev: 距离上次更新已经过了
- message_next: 天,文章所描述的内容可能已经发生变化,请留意。
-
-# Footer Settings
-# --------------------------------------
-footer:
- owner:
- enable: true
- since: 2018
- custom_text: '
'
- copyright: true # Copyright of theme and framework
-
-# aside (側邊欄)
-# --------------------------------------
-
-aside:
- enable: true
- hide: false
- button: true
- mobile: true # display on mobile
- position: left # left or right
- display:
- archive: true
- tag: true
- category: true
- card_author:
- enable: true
- description:
- button:
- enable: true
- icon: fab fa-github
- text: PyQt Github
- link: https://github.com/PyQt5
- card_announcement:
- enable: true
- content:
- '
'
- card_recent_post:
- enable: true
- limit: 5 # if set 0 will show all
- sort: date # date or updated
- sort_order: # Don't modify the setting unless you know how it works
- card_categories:
- enable: true
- limit: 0 # if set 0 will show all
- expand: false # none/true/false
- sort_order: # Don't modify the setting unless you know how it works
- card_tags:
- enable: true
- limit: 40 # if set 0 will show all
- color: true
- orderby: random # Order of tags, random/name/length
- order: 1 # Sort of order. 1, asc for ascending; -1, desc for descending
- sort_order: # Don't modify the setting unless you know how it works
- card_archives:
- enable: true
- type: monthly # yearly or monthly
- format: YYYY年MM月 # eg: YYYY年MM月
- order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
- limit: 8 # if set 0 will show all
- sort_order: # Don't modify the setting unless you know how it works
- card_webinfo:
- enable: true
- post_count: true
- last_push_date: true
- sort_order: # Don't modify the setting unless you know how it works
- card_post_series:
- enable: true
- orderBy: 'date' # Order by title or date
- order: -1 # Sort of order. 1, asc for ascending; -1, desc for descendin
-
-# busuanzi count for PV / UV in site
-# 訪問人數
-busuanzi:
- site_uv: true
- site_pv: true
- page_pv: true
-
-# Time difference between publish date and now (網頁運行時間)
-# Formal: Month/Day/Year Time or Year/Month/Day Time
-runtimeshow:
- enable: true
- publish_date: 2018/1/1 00:00:00
-
-# Aside widget - Newest Comments
-newest_comments:
- enable: true
- sort_order: # Don't modify the setting unless you know how it works
- limit: 6
- storage: 10 # unit: mins, save data to localStorage
- avatar: true
-
-# Bottom right button (右下角按鈕)
-# --------------------------------------
-
-# Conversion between Traditional and Simplified Chinese (簡繁轉換)
-translate:
- enable: false
- # The text of a button
- default: 简
- # the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
- defaultEncoding: 2
- # Time delay
- translateDelay: 0
- # The text of the button when the language is Simplified Chinese
- msgToTraditionalChinese: '繁'
- # The text of the button when the language is Traditional Chinese
- msgToSimplifiedChinese: '简'
-
-# Read Mode (閲讀模式)
-readmode: true
-
-# dark mode
-darkmode:
- enable: true
- # Toggle Button to switch dark/light mode
- button: true
- # Switch dark/light mode automatically (自動切換 dark mode和 light mode)
- # autoChangeMode: 1 Following System Settings, if the system doesn't support dark mode, it will switch dark mode between 6 pm to 6 am
- # autoChangeMode: 2 Switch dark mode between 6 pm to 6 am
- # autoChangeMode: false
- autoChangeMode: true
- # Set the light mode time. The value is between 0 and 24. If not set, the default value is 6 and 18
- start: 8
- end: 22
-
-# show scroll percent in scroll-to-top button
-rightside_scroll_percent: true
-
-# Don't modify the following settings unless you know how they work (非必要請不要修改 )
-# Choose: readmode,translate,darkmode,hideAside,toc,chat,comment
-# Don't repeat 不要重複
-rightside_item_order:
- enable: false
- hide: # readmode,translate,darkmode,hideAside
- show: # toc,chat,comment
-
-# Math (數學)
-# --------------------------------------
-# About the per_page
-# if you set it to true, it will load mathjax/katex script in each page (true 表示每一頁都加載js)
-# if you set it to false, it will load mathjax/katex script according to your setting (add the 'mathjax: true' in page's front-matter)
-# (false 需要時加載,須在使用的 Markdown Front-matter 加上 mathjax: true)
-
-# MathJax
-mathjax:
- enable: false
- per_page: false
-
-# KaTeX
-katex:
- enable: false
- per_page: false
- hide_scrollbar: true
-
-# search (搜索)
-# see https://butterfly.js.org/posts/ceeb73f/#搜索系統
-# --------------------------------------
-
-# Algolia search
-algolia_search:
- enable: false
- hits:
- per_page: 6
-
-# Local search
-local_search:
- enable: true
- # Preload the search data when the page loads.
- preload: false
- # Show top n results per article, show all results by setting to -1
- top_n_per_article: 1
- # Unescape html strings to the readable one.
- unescape: false
- CDN:
-
-# Docsearch
-docsearch:
- enable: false
- appId:
- apiKey:
- indexName:
- option:
-
-# Share System (分享)
-# --------------------------------------
-
-# Share.js
-# https://github.com/overtrue/share.js
-sharejs:
- enable: true
- sites: facebook,twitter,google,douban,wechat,weibo,qq,qzone
-
-# AddToAny
-# https://www.addtoany.com/
-addtoany:
- enable: false
- item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link
-
-# Comments System
-# --------------------------------------
-
-comments:
- # Up to two comments system, the first will be shown as default
- # Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/Artalk
- # use: giscus # Valine,Disqus
- text: true # Display the comment name next to the button
- # lazyload: The comment system will be load when comment element enters the browser's viewport.
- # If you set it to true, the comment count will be invalid
- lazyload: true
- count: false # Display comment count in post's top_img
- card_post_count: false # Display comment count in Home Page
-
-# disqus
-# https://disqus.com/
-disqus:
- shortname:
- apikey: # For newest comments widget
-
-# Alternative Disqus - Render comments with Disqus API
-# DisqusJS 評論系統,可以實現在網路審查地區載入 Disqus 評論列表,兼容原版
-# https://github.com/SukkaW/DisqusJS
-disqusjs:
- shortname:
- apikey:
- option:
-
-# livere (來必力)
-# https://www.livere.com/
-livere:
- uid:
-
-# gitalk
-# https://github.com/gitalk/gitalk
-gitalk:
- client_id:
- client_secret:
- repo:
- owner:
- admin:
- option:
-
-# valine
-# https://valine.js.org
-valine:
- appId: # leancloud application app id
- appKey: # leancloud application app key
- avatar: monsterid # gravatar style https://valine.js.org/#/avatar
- serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
- bg: # valine background
- visitor: false
- option:
-
-# waline - A simple comment system with backend support fork from Valine
-# https://waline.js.org/
-waline:
- serverURL: # Waline server address url
- bg: # waline background
- pageview: false
- option:
-
-# utterances
-# https://utteranc.es/
-utterances:
- repo:
- # Issue Mapping: pathname/url/title/og:title
- issue_term: pathname
- # Theme: github-light/github-dark/github-dark-orange/icy-dark/dark-blue/photon-dark
- light_theme: github-light
- dark_theme: photon-dark
-
-# Facebook Comments Plugin
-# https://developers.facebook.com/docs/plugins/comments/
-facebook_comments:
- app_id:
- user_id: # optional
- pageSize: 10 # The number of comments to show
- order_by: social # social/time/reverse_time
- lang: zh_TW # Language en_US/zh_CN/zh_TW and so on
-
-# Twikoo
-# https://github.com/imaegoo/twikoo
-twikoo:
- envId:
- region:
- visitor: false
- option:
-
-# Giscus
-# https://giscus.app/
-giscus:
- repo: PyQt5/pyqt5.github.io
- repo_id: MDEwOlJlcG9zaXRvcnkxODM3MTg4NDA=
- category_id: DIC_kwDOCvNTuM4CZ8zK
- theme:
- light: light
- dark: dark
- option:
- data-strict: 0
- data-emit-metadata: 1
- data-lang: zh-CN
- data-loading: lazy
- data-category: Announcements
-
-# Remark42
-# https://remark42.com/docs/configuration/frontend/
-remark42:
- host: # Your Host URL
- siteId: # Your Site ID
- option:
-
-# Artalk
-# https://artalk.js.org/guide/frontend/config.html
-artalk:
- server:
- site:
- visitor: false
- option:
-
-# Chat Services
-# --------------------------------------
-
-# Chat Button [recommend]
-# It will create a button in the bottom right corner of website, and hide the origin button
-chat_btn: false
-
-# The origin chat button is displayed when scrolling up, and the button is hidden when scrolling down
-chat_hide_show: false
-
-# chatra
-# https://chatra.io/
-chatra:
- enable: false
- id:
-
-# tidio
-# https://www.tidio.com/
-tidio:
- enable: false
- public_key:
-
-# daovoice
-# http://dashboard.daovoice.io/app
-daovoice:
- enable: false
- app_id:
-
-# crisp
-# https://crisp.chat/en/
-crisp:
- enable: false
- website_id:
-
-# messenger
-# https://developers.facebook.com/docs/messenger-platform/discovery/facebook-chat-plugin/
-messenger:
- enable: false
- pageID:
- lang: zh_TW # Language en_US/zh_CN/zh_TW and so on
-
-# Analysis
-# --------------------------------------
-
-# Baidu Analytics
-# https://tongji.baidu.com/web/welcome/login
-baidu_analytics: f7dfd656bdac4e76da8b54bba2978f0b
-
-# Google Analytics
-# https://analytics.google.com/analytics/web/
-google_analytics:
-
-# Cloudflare Analytics
-# https://www.cloudflare.com/zh-tw/web-analytics/
-cloudflare_analytics:
-
-# Microsoft Clarity
-# https://clarity.microsoft.com/
-microsoft_clarity: j6xye2x6np
-
-# Advertisement
-# --------------------------------------
-
-# Google Adsense (谷歌廣告)
-google_adsense:
- enable: false
- auto_ads: true
- js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
- client:
- enable_page_level_ads: true
-
-# Insert ads manually (手動插入廣告)
-# ad:
-# index:
-# aside:
-# post:
-
-# Verification (站長驗證)
-# --------------------------------------
-
-site_verification:
- - name: google-site-verification
- content: "L09MDi9gA7mFqsqWfcVVtK_yhV7tPcfBIthuPs-zK4g"
- # - name: baidu-site-verification
- # content: xxxxxxx
-
-# Beautify/Effect (美化/效果)
-# --------------------------------------
-
-# Theme color for customize
-# Notice: color value must in double quotes like "#000" or may cause error!
-
-# theme_color:
-# enable: true
-# main: "#49B1F5"
-# paginator: "#00c4b6"
-# button_hover: "#FF7242"
-# text_selection: "#00c4b6"
-# link_color: "#99a9bf"
-# meta_color: "#858585"
-# hr_color: "#A4D8FA"
-# code_foreground: "#F47466"
-# code_background: "rgba(27, 31, 35, .05)"
-# toc_color: "#00c4b6"
-# blockquote_padding_color: "#49b1f5"
-# blockquote_background_color: "#49b1f5"
-# scrollbar_color: "#49b1f5"
-# meta_theme_color_light: "ffffff"
-# meta_theme_color_dark: "#0d0d0d"
-
-# The top_img settings of home page
-# default: top img - full screen, site info - middle (默認top_img全屏,site_info在中間)
-# The position of site info, eg: 300px/300em/300rem/10% (主頁標題距離頂部距離)
-index_site_info_top:
-# The height of top_img, eg: 300px/300em/300rem (主頁top_img高度)
-index_top_img_height:
-
-# The user interface setting of category and tag page (category和tag頁的UI設置)
-# index - same as Homepage UI (index 值代表 UI將與首頁的UI一樣)
-# default - same as archives UI 默認跟archives頁面UI一樣
-category_ui: index # 留空或 index
-tag_ui: index # 留空或 index
-
-# Stretches the lines so that each line has equal width(文字向兩側對齊,對最後一行無效)
-text_align_justify: false
-
-# Website Background (設置網站背景)
-# can set it to color or image (可設置圖片 或者 顔色)
-# The formal of image: url(http://xxxxxx.com/xxx.jpg)
-background: /images/bg-2.jpg
-
-# Footer Background
-footer_bg: true
-
-# Add mask to header or footer (为 header 或 footer 添加黑色半透遮罩)
-mask:
- header: true
- footer: true
-
-# the position of bottom right button/default unit: px (右下角按鈕距離底部的距離/默認單位為px)
-rightside-bottom:
-
-# Enter transitions (開啓網頁進入效果)
-enter_transitions: true
-
-# Typewriter Effect (打字效果)
-# https://github.com/disjukr/activate-power-mode
-activate_power_mode:
- enable: false
- colorful: true # open particle animation (冒光特效)
- shake: true # open shake (抖動特效)
- mobile: false
-
-# Background effects (背景特效)
-# --------------------------------------
-
-# canvas_ribbon (靜止彩帶背景)
-# See: https://github.com/hustcc/ribbon.js
-canvas_ribbon:
- enable: true
- size: 150
- alpha: 0.6
- zIndex: -1
- click_to_change: true
- mobile: true
-
-# Fluttering Ribbon (動態彩帶)
-canvas_fluttering_ribbon:
- enable: false
- mobile: false
-
-# canvas_nest
-# https://github.com/hustcc/canvas-nest.js
-canvas_nest:
- enable: false
- color: '0,0,255' #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
- opacity: 0.7 # the opacity of line (0~1), default: 0.5.
- zIndex: -1 # z-index property of the background, default: -1.
- count: 99 # the number of lines, default: 99.
- mobile: false
-
-# Mouse click effects: fireworks (鼠標點擊效果: 煙火特效)
-fireworks:
- enable: false
- zIndex: 9999 # -1 or 9999
- mobile: false
-
-# Mouse click effects: Heart symbol (鼠標點擊效果: 愛心)
-click_heart:
- enable: false
- mobile: false
-
-# Mouse click effects: words (鼠標點擊效果: 文字)
-clickShowText:
- enable: false
- text:
- # - I
- # - LOVE
- # - YOU
- fontSize: 15px
- random: false
- mobile: false
-
-# Default display mode (網站默認的顯示模式)
-# light (default) / dark
-display_mode: light
-
-# Beautify (美化頁面顯示)
-beautify:
- enable: true
- field: post # site/post
- title-prefix-icon: '\f0c1'
- title-prefix-icon-color: '#F47466'
-
-# Global font settings
-# Don't modify the following settings unless you know how they work (非必要不要修改)
-font:
- global-font-size:
- code-font-size:
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif
- code-font-family: consolas, Menlo, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif
-
-# Font settings for the site title and site subtitle
-# 左上角網站名字 主頁居中網站名字
-blog_title_font:
- font_link: https://fonts.googleapis.com/css?family=Titillium+Web&display=swap
- font-family: Titillium Web, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft JhengHei', 'Microsoft YaHei', sans-serif
-
-# The setting of divider icon (水平分隔線圖標設置)
-hr_icon:
- enable: true
- icon: # the unicode value of Font Awesome icon, such as '\3423'
- icon-top:
-
-# the subtitle on homepage (主頁subtitle)
-subtitle:
- enable: true
- # Typewriter Effect (打字效果)
- effect: true
- # Customize typed.js (配置typed.js)
- # https://github.com/mattboldt/typed.js/#customization
- typed_option:
- loop: true
- # source 調用第三方服務
- # source: false 關閉調用
- # source: 1 調用一言網的一句話(簡體) https://hitokoto.cn/
- # source: 2 調用一句網(簡體) https://yijuzhan.com/
- # source: 3 調用今日詩詞(簡體) https://www.jinrishici.com/
- # subtitle 會先顯示 source , 再顯示 sub 的內容
- source: 1
- # 如果關閉打字效果,subtitle 只會顯示 sub 的第一行文字
- sub:
- - 今日事,今日毕
- - Never put off till tomorrow what you can do today
-
-# Loading Animation (加載動畫)
-preloader:
- enable: false
- # source
- # 1. fullpage-loading
- # 2. pace (progress bar)
- source: 1
- # pace theme (see https://codebyzach.github.io/pace/)
- pace_css_url:
-
-# wordcount (字數統計)
-# see https://butterfly.js.org/posts/ceeb73f/#字數統計
-wordcount:
- enable: true
- post_wordcount: true
- min2read: true
- total_wordcount: true
-
-# Lightbox (圖片大圖查看模式)
-# --------------------------------------
-# You can only choose one, or neither (只能選擇一個 或者 兩個都不選)
-
-# medium-zoom
-# https://github.com/francoischalifour/medium-zoom
-medium_zoom: false
-
-# fancybox
-# https://fancyapps.com/fancybox/
-fancybox: true
-
-# Tag Plugins settings (標籤外掛)
-# --------------------------------------
-
-# series (系列文章)
-series:
- enable: true
- orderBy: 'title' # Order by title or date
- order: 1 # Sort of order. 1, asc for ascending; -1, desc for descending
- number: true
-
-# abcjs (樂譜渲染)
-# See https://github.com/paulrosen/abcjs
-abcjs:
- enable: true
- per_page: false
-
-# mermaid
-# see https://github.com/mermaid-js/mermaid
-mermaid:
- enable: true
- # built-in themes: default/forest/dark/neutral
- theme:
- light: default
- dark: dark
-
-# Note (Bootstrap Callout)
-note:
- # Note tag style values:
- # - simple bs-callout old alert style. Default.
- # - modern bs-callout new (v2-v3) alert style.
- # - flat flat callout style with background, like on Mozilla or StackOverflow.
- # - disabled disable all CSS styles import of note tag.
- style: flat
- icons: true
- border_radius: 3
- # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
- # Offset also applied to label tag variables. This option can work with disabled note tag.
- light_bg_offset: 0
-
-# other
-# --------------------------------------
-
-# Pjax
-# It may contain bugs and unstable, give feedback when you find the bugs.
-# https://github.com/MoOx/pjax
-pjax:
- enable: true
- exclude:
- - /talking/
-
-# Inject the css and script (aplayer/meting)
-aplayerInject:
- enable: false
- per_page: true
-
-# Snackbar (Toast Notification 彈窗)
-# https://github.com/polonel/SnackBar
-# position 彈窗位置
-# 可選 top-left / top-center / top-right / bottom-left / bottom-center / bottom-right
-snackbar:
- enable: false
- position: bottom-center
- bg_light: '#49b1f5' # The background color of Toast Notification in light mode
- bg_dark: '#1f1f1f' # The background color of Toast Notification in dark mode
-
-# https://instant.page/
-# prefetch (預加載)
-instantpage: true
-
-# https://github.com/vinta/pangu.js
-# Insert a space between Chinese character and English character (中英文之間添加空格)
-pangu:
- enable: false
- field: site # site/post
-
-# Lazyload (圖片懶加載)
-# https://github.com/verlok/vanilla-lazyload
-lazyload:
- enable: true
- field: site # site/post
- placeholder: /images/2.gif
- blur: false
-
-# PWA
-# See https://github.com/JLHwung/hexo-offline
-# ---------------
-pwa:
- enable: false
-# manifest: /pwa/manifest.json
-# apple_touch_icon: /pwa/apple-touch-icon.png
-# favicon_32_32: /pwa/32.png
-# favicon_16_16: /pwa/16.png
-# mask_icon: /pwa/safari-pinned-tab.svg
-
-# Open graph meta tags
-# https://developers.facebook.com/docs/sharing/webmasters/
-Open_Graph_meta:
- enable: true
- option:
- # twitter_card:
- # twitter_image:
- # twitter_id:
- # twitter_site:
- # google_plus:
- # fb_admins:
- # fb_app_id:
-
-# Add the vendor prefixes to ensure compatibility
-css_prefix: true
-
-# Inject
-# Insert the code to head (before '' tag) and the bottom (before '' tag)
-# 插入代码到头部 之前 和 底部 之前
-inject:
- head:
- -
- -
- bottom:
- -
-
-# CDN
-# Don't modify the following settings unless you know how they work
-# 非必要請不要修改
-CDN:
- # The CDN provider of internal scripts (主題內部 js 的 cdn 配置)
- # option: local/jsdelivr/unpkg/cdnjs/custom
- # Dev version can only choose. ( dev版的主題只能設置為 local )
- internal_provider: custom
-
- # The CDN provider of third party scripts (第三方 js 的 cdn 配置)
- # option: local/jsdelivr/unpkg/cdnjs/custom
- # when set it to local, you need to install hexo-butterfly-extjs
- third_party_provider: custom
-
- # Add version number to url, true or false
- version: false
-
- # Custom format
- # For example: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
- custom_format: https://jsd.012700.xyz/npm/${name}@latest/${min_file}
-
- option:
- # abcjs_basic_js:
- # activate_power_mode:
- # algolia_js:
- # algolia_search:
- # aplayer_css:
- # aplayer_js:
- # artalk_css:
- # artalk_js:
- # blueimp_md5:
- # busuanzi:
- # canvas_fluttering_ribbon:
- # canvas_nest:
- # canvas_ribbon:
- # click_heart:
- # clickShowText:
- # disqusjs:
- # disqusjs_css:
- # docsearch_css:
- # docsearch_js:
- # egjs_infinitegrid:
- # fancybox:
- # fancybox_css:
- # fireworks:
- # fontawesome:
- # gitalk:
- # gitalk_css:
- # giscus:
- # instantpage:
- # instantsearch:
- # katex:
- # katex_copytex:
- # lazyload:
- # local_search:
- # main:
- # main_css:
- # mathjax:
- # medium_zoom:
- # mermaid:
- # meting_js:
- # pangu:
- # prismjs_autoloader:
- # prismjs_js:
- # prismjs_lineNumber_js:
- # pjax:
- # sharejs:
- # sharejs_css:
- # snackbar:
- # snackbar_css:
- # translate:
- # twikoo:
- # typed:
- # utils:
- # valine:
- # waline_css:
- # waline_js:
diff --git a/_config.fluid.yml b/_config.fluid.yml
deleted file mode 100644
index 38794875..00000000
--- a/_config.fluid.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-# Hexo Configuration
-## Docs: https://hexo.io/docs/configuration.html
-## Source: https://github.com/hexojs/hexo/
diff --git a/_config.matery.yml b/_config.matery.yml
deleted file mode 100644
index 38794875..00000000
--- a/_config.matery.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-# Hexo Configuration
-## Docs: https://hexo.io/docs/configuration.html
-## Source: https://github.com/hexojs/hexo/
diff --git a/_config.nexmoe.yml b/_config.nexmoe.yml
deleted file mode 100644
index 38794875..00000000
--- a/_config.nexmoe.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-# Hexo Configuration
-## Docs: https://hexo.io/docs/configuration.html
-## Source: https://github.com/hexojs/hexo/
diff --git a/_config.shoka.yml b/_config.shoka.yml
deleted file mode 100644
index f6fb6601..00000000
--- a/_config.shoka.yml
+++ /dev/null
@@ -1,105 +0,0 @@
-# Hexo Configuration
-## Docs: https://hexo.io/docs/configuration.html
-## Source: https://github.com/hexojs/hexo/
-
-# Site
-alternate: PyQt
-
-# Writing
-highlight:
- enable: false
-prismjs:
- enable: false
-
-autoprefixer:
- exclude:
- - "*.min.css"
-
-markdown:
- render: # 渲染器设置
- html: false # 过滤 HTML 标签
- xhtmlOut: true # 使用 '/' 来闭合单标签 (比如
)。
- breaks: true # 转换段落里的 '\n' 到
。
- linkify: true # 将类似 URL 的文本自动转换为链接。
- typographer:
- quotes: "“”‘’"
- plugins: # markdown-it插件设置
- - plugin:
- name: markdown-it-toc-and-anchor
- enable: true
- options: # 文章目录以及锚点应用的class名称,shoka主题必须设置成这样
- tocClassName: "toc"
- anchorClassName: "anchor"
- - plugin:
- name: markdown-it-multimd-table
- enable: true
- options:
- multiline: true
- rowspan: true
- headerless: true
- - plugin:
- name: ./markdown-it-furigana
- enable: true
- options:
- fallbackParens: "()"
- - plugin:
- name: ./markdown-it-spoiler
- enable: true
- options:
- title: "你知道得太多了"
-
-minify:
- html:
- enable: true
- stamp: false
- exclude:
- - "**/json.ejs"
- - "**/atom.ejs"
- - "**/rss.ejs"
- css:
- enable: true
- stamp: false
- exclude:
- - "**/*.min.css"
- js:
- enable: true
- stamp: false
- mangle:
- toplevel: true
- output:
- compress:
- exclude:
- - "**/*.min.js"
-
-# algolia:
-# appId:
-# apiKey:
-# adminApiKey:
-# chunkSize: 5000
-# indexName:
-# fields:
-# - title #必须配置
-# - path #必须配置
-# - categories #推荐配置
-# - content:strip:truncate,0,4000
-# - gallery
-# - photos
-# - tags
-
-feed:
- limit: 20
- order_by: "-date"
- tag_dir: false
- category_dir: false
- rss:
- enable: true
- template: "themes/shoka/layout/_alternate/rss.ejs"
- output: "rss.xml"
- atom:
- enable: true
- template: "themes/shoka/layout/_alternate/atom.ejs"
- output: "atom.xml"
- jsonFeed:
- enable: true
- template: "themes/shoka/layout/_alternate/json.ejs"
- output: "feed.json"
diff --git a/_config.volantis.yml b/_config.volantis.yml
deleted file mode 100644
index 38794875..00000000
--- a/_config.volantis.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-# Hexo Configuration
-## Docs: https://hexo.io/docs/configuration.html
-## Source: https://github.com/hexojs/hexo/
diff --git a/_config.yelee.yml b/_config.yelee.yml
deleted file mode 100644
index 993fcfe5..00000000
--- a/_config.yelee.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-# Hexo Configuration
-## Docs: https://hexo.io/docs/configuration.html
-## Source: https://github.com/hexojs/hexo/
-
-# Site
-language: zh-Hans
-
-# hexo-tag-cloud
-tag_cloud:
- textFont: Trebuchet MS, Helvetica
- textColour: \#333
- textHeight: 25
- outlineColour: \#ffffff
-
-# Writing
-highlight:
- enable: false
-
-#prettify 插件位置
-# enable 启用和不启用
-# theme 使用prettify高亮主题名称
-prettify:
- enable: true
- theme: tomorrow-night-eighties ##这里你可以定义上面下载的themes主题包里面样式文件名,不带.css后缀
-
-lazyload:
- enable: false
- onlypost: false
- loadingImg: /img/loading0_2.gif
-
-# Markdown-it config 表情支持
-## Docs: https://github.com/celsomiranda/hexo-renderer-markdown-it/wiki
-## http://www.cnblogs.com/fsong/p/5929773.html
-markdown:
- render:
- html: true
- xhtmlOut: false
- breaks: true
- linkify: true
- typographer: true
- quotes: "“”‘’"
- plugins:
- - markdown-it-abbr
- - markdown-it-footnote
- - markdown-it-ins
- - markdown-it-sub
- - markdown-it-sup
- - markdown-it-emoji # add emoji
- anchors:
- level: 2
- collisionSuffix: "v"
- permalink: true
- permalinkClass: header-anchor
- permalinkSymbol: ""
diff --git a/_config.yml b/_config.yml
deleted file mode 100644
index 98d3a134..00000000
--- a/_config.yml
+++ /dev/null
@@ -1,277 +0,0 @@
-# Hexo Configuration
-## Docs: https://hexo.io/docs/configuration.html
-## Source: https://github.com/hexojs/hexo/
-
-# Site
-title: PyQt
-subtitle: 个人学习经验分享
-description: Python PyQt PyQt6 PyQt5 PyQt4 PySide PySide2 PySide6
-keywords: Python,PyQt,PyQt6,PyQt5,PyQt4,PySide,PySide2,PySide6
-author: Irony
-language: zh-CN
-timezone: "Asia/Shanghai"
-email: "892768447@qq.com"
-
-# URL
-## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
-url: https://pyqt5.com
-root: /
-# permalink: :year/:month/:day/:title/
-permalink: :title.html
-permalink_defaults:
-pretty_urls:
- trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
- trailing_html: true # Set to false to remove trailing '.html' from permalinks
-
-# Directory
-source_dir: source
-public_dir: public
-tag_dir: tags
-archive_dir: archives
-category_dir: categories
-code_dir: downloads/code
-i18n_dir: :lang
-##要告诉hexo对plugins目录下的所有文件跳过解析渲染,因为测试时发现如果不配置,加载prettify的相关js会报脚本错误
-skip_render:
- - "plugins/**"
- - "search.html"
-
-# Writing
-new_post_name: :title.md # File name of new posts
-default_layout: post
-titlecase: false # Transform title into titlecase
-external_link:
- enable: true # Open external links in new tab
- field: site # Apply to the whole site
- exclude: ""
-filename_case: 0
-render_drafts: false
-post_asset_folder: false
-relative_link: false
-future: true
-highlight:
- enable: false
- line_number: false
- auto_detect: true
- tab_replace: ""
- wrap: true
- hljs: false
-prismjs:
- enable: true
- preprocess: true
- line_number: false
- tab_replace: ""
-
-# Home page setting
-# path: Root path for your blogs index page. (default = '')
-# per_page: Posts displayed per page. (0 = disable pagination)
-# order_by: Posts order. (Order by date descending by default)
-index_generator:
- path: ""
- per_page: 10
- order_by: -date
-
-# Category & Tag
-default_category: uncategorized
-category_map:
-tag_map:
-
-# Metadata elements
-## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
-meta_generator: true
-
-# Date / Time format
-## Hexo uses Moment.js to parse and display date
-## You can customize the date format as defined in
-## http://momentjs.com/docs/#/displaying/format/
-date_format: YYYY-MM-DD
-time_format: HH:mm:ss
-## updated_option supports 'mtime', 'date', 'empty'
-updated_option: "mtime"
-
-# Pagination
-## Set per_page to 0 to disable pagination
-per_page: 10
-pagination_dir: page
-
-# Include / Exclude file(s)
-## include:/exclude: options only apply to the 'source/' folder
-include:
-exclude:
-ignore:
-
-# Extensions
-## Plugins: https://hexo.io/plugins/
-## Themes: https://hexo.io/themes/
-theme: butterfly
-
-# Deployment
-## Docs: https://hexo.io/docs/deployment.html
-deploy:
- - type: git
- repo: https://github.com/PyQt5/blog
- branch: [master]
- message: [message]
- token: $GITHUB_TOKEN
-
-search:
- path: search.xml
- field: post
- content: true
- format: html
-
-# 备案
-record: "蜀ICP备18031575号-1"
-
-archive_generator:
- per_page: 10 ##归档页面默认10篇文章标题
- yearly: true ##生成年视图
- monthly: true ##生成月视图
-
-tag_generator:
- per_page: 10 ##标签分类页面默认10篇文章
-
-category_generator:
- per_page: 10 ###分类页面默认10篇文章
-
-feed:
- type: atom ##feed类型 atom或者rss2
- path: atom.xml ##feed路径
- limit: 20 ##feed文章最小数量
-
-nofollow:
- enable: true
- field: site
- exclude:
-
-#sitemap
-sitemap:
- path: sitemap.xml
- rel: false
- tags: true
- categories: true
-
-marked:
- smartypants: false
- descriptionLists: false
-
-baidusitemap:
- path: baidusitemap.xml
-
-# # json api
-# jsonContent:
-# meta: true
-# dafts: false
-# pages: false
-# dateFormat: YYYY-MM-DD HH:mm:ss
-# file: content.json
-# posts:
-# title: true
-# slug: true
-# date: true
-# updated: false
-# comments: false
-# path: true
-# link: true
-# permalink: true
-# excerpt: true
-# keywords: false
-# text: false
-# raw: true
-# content: false
-# author: true
-# categories: true
-# tags: true
-
-# # restful api
-# restful:
-# # site 可配置为数组选择性生成某些属性
-# site:
-# [
-# "title",
-# "subtitle",
-# "description",
-# "author",
-# "since",
-# "email",
-# "favicon",
-# "avatar",
-# ]
-# # site: true # hexo.config mix theme.config
-# posts_size: 10 # 文章列表分页,0 表示不分页
-# posts_props: # 文章列表项的需要生成的属性
-# title: true
-# slug: true
-# date: true
-# updated: true
-# comments: false
-# path: true
-# excerpt: true
-# cover: true # 封面图,取文章第一张图片
-# content: true
-# raw: true
-# keywords: false
-# categories: true
-# tags: true
-# categories: true # 分类数据
-# use_category_slug: false # Use slug for filename of category data
-# tags: true # 标签数据
-# use_tag_slug: false # Use slug for filename of tag data
-# post: true # 文章数据
-# pages: true # 额外的 Hexo 页面数据, 如 About
-
-# envelope_comment
-# see https://akilar.top/posts/e2d3c450/
-envelope_comment:
- enable: true #控制开关
- custom_pic:
- cover: https://npm.elemecdn.com/hexo-butterfly-envelope/lib/violet.jpg #信笺头部图片
- line: https://npm.elemecdn.com/hexo-butterfly-envelope/lib/line.png #信笺底部图片
- beforeimg: https://npm.elemecdn.com/hexo-butterfly-envelope/lib/before.png # 信封前半部分
- afterimg: https://npm.elemecdn.com/hexo-butterfly-envelope/lib/after.png # 信封后半部分
- message: #信笺正文,多行文本,写法如下
- - 有什么想问的?
- - 有什么想说的?
- - 有什么想吐槽的?
- - 哪怕是有什么想吃的,都可以告诉我哦~
- bottom: 自动书记人偶竭诚为您服务! #仅支持单行文本
- height: #1024px,信封划出的高度
- path: #【可选】comments 的路径名称。默认为 comments,生成的页面为 comments/index.html
- front_matter: #【可选】comments页面的 front_matter 配置
- title: 留言板
- comments: true
- top_img: false
- type: envelope
-
-# 追番插件
-# https://github.com/HCLonely/hexo-bilibili-bangumi
-bangumi: # 追番设置
- enable: false
- source: bili
- path:
- vmid: 372204786
- title: "追番列表"
- quote: "生命不息,追番不止!"
- show: 1
- lazyload: false
- loading:
- showMyComment: false
- pagination: false
- metaColor:
- color:
- webp:
- progress:
- extraOrder:
- proxy:
- host: "代理host"
- port: "代理端口"
- extra_options:
- top_img: false
- lazyload:
- enable: false
-
-# APlayer
-# https://github.com/MoePlayer/hexo-tag-aplayer/blob/master/docs/README-zh_cn.md
-aplayer:
- meting: true
- asset_inject: false
\ No newline at end of file
diff --git a/about/index.html b/about/index.html
new file mode 100644
index 00000000..80788458
--- /dev/null
+++ b/about/index.html
@@ -0,0 +1,292 @@
+
关于社区 | PyQt
+
+
+
+
+
+
+
+
+
+
+
+
+
+