Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade docsify to v5 #111

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ name: Static Code Analysis

on:
push:
branches:
- master
- ci
pull_request:
branches:
- master

concurrency:
group: phpstan-${{ github.ref }}
Expand Down
5 changes: 3 additions & 2 deletions docs/_coverpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Support for MQTT over WebSocket
- The first PHP library to support the MQTT 5.0 protocol

[Gitee](https://gitee.com/phpmqtt/mqtt)
[Get Started](#phpmqtt)
[GitHub](https://github.com/simps/mqtt)
[Get Started](#phpmqtt)
[Gitee](https://gitee.com/phpmqtt/mqtt)
[GitCode](https://gitcode.com/simps/mqtt)
Binary file modified docs/favicon.ico
Binary file not shown.
18 changes: 8 additions & 10 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,25 @@
<title>PHP MQTT | 协议解析和协程客户端</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="由 Simps 提供的适用于 PHP 的 MQTT 协议解析和协程客户端">
<meta name="keywords" content="mqtt,phpmqtt,mqtt3.1,mqtt5.0,mqtt客户端,mqtt协程客户端,mqtt协议,mqtt协议解析">
<meta name="keywords" content="mqtt,websocket,phpmqtt,mqtt3.1,mqtt5.0,mqtt客户端,mqtt协程客户端,mqtt协议,mqtt协议解析">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify@4/themes/vue.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/sy-records/docsify-nightly@develop/dist/themes/core.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/sy-records/docsify-nightly@develop/dist/themes/addons/core-dark.min.css" media="(prefers-color-scheme: dark)" />
<style>
.app-name-link img {
width: 50%;
:root {
--theme-color: #5C9DFF;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: 'MQTT',
name: 'PHP MQTT',
repo: 'simps/mqtt',
homepage: 'zh-cn/README.md',
loadSidebar: true,
subMaxLevel: 3,
logo: 'https://raw.githubusercontent.com/sy-records/staticfile/master/images/simps.png',
themeColor: '#5C9DFF',
loadNavbar: true,
auto2top: true,
coverpage: true,
Expand Down Expand Up @@ -65,14 +64,13 @@
}),
hook.doneEach(function () {
pangu.spacingElementByClassName('content')
if (document.location.hash !== '#/') document.title += ' | PHP MQTT'
})
}
],
}
</script>
<script src="//unpkg.com/docsify@4/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify@4/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/gh/sy-records/docsify-nightly@develop/dist/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/gh/sy-records/docsify-nightly@develop/dist/plugins/search.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-php.min.js"></script>
<script src="//unpkg.com/pangu@4.0.7/dist/browser/pangu.min.js"></script>
<script src="//unpkg.com/docsify-copy-code@2/dist/docsify-copy-code.min.js"></script>
Expand Down
Loading