Skip to content

Commit

Permalink
Upgrade docsify to v5 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Jan 29, 2025
1 parent 7faf34f commit 6505b25
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
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

0 comments on commit 6505b25

Please sign in to comment.