hyperf/docs/index.html
Luffy e38f97243f
Some checks are pending
Mirror to CNB Repo / git-mirror (push) Waiting to run
Mirror to Gitee Repo / git-mirror (push) Waiting to run
Test for Hyperf Components / Test for Database (5.7, 8.1) (push) Waiting to run
Test for Hyperf Components / Test for Database (5.7, 8.2) (push) Waiting to run
Test for Hyperf Components / Test for Database (5.7, 8.3) (push) Waiting to run
Test for Hyperf Components / Test for Database (8.0, 8.1) (push) Waiting to run
Test for Hyperf Components / Test for Database (8.0, 8.2) (push) Waiting to run
Test for Hyperf Components / Test for Database (8.0, 8.3) (push) Waiting to run
Test for Hyperf Components / Test for Database (8.4, 8.1) (push) Waiting to run
Test for Hyperf Components / Test for Database (8.4, 8.2) (push) Waiting to run
Test for Hyperf Components / Test for Database (8.4, 8.3) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.1, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.1, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.1, ^3.0) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.2, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.2, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.2, ^3.0) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.3, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.3, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Filesystem (8.3, ^3.0) (push) Waiting to run
Test for Hyperf Components / Test for Building PHAR (, 8.1) (push) Waiting to run
Test for Hyperf Components / Test for Building PHAR (--no-dev, 8.1) (push) Waiting to run
Test for Hyperf Components / Test for Psr Container V1.0 ~ V2.0 (8.1, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr Container V1.0 ~ V2.0 (8.1, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr Container V1.0 ~ V2.0 (8.2, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr Container V1.0 ~ V2.0 (8.2, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr Container V1.0 ~ V2.0 (8.3, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr Container V1.0 ~ V2.0 (8.3, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Http Message V1.0 ~ V2.0 (8.1, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Http Message V1.0 ~ V2.0 (8.1, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Http Message V1.0 ~ V2.0 (8.2, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Http Message V1.0 ~ V2.0 (8.2, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Http Message V1.0 ~ V2.0 (8.3, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Http Message V1.0 ~ V2.0 (8.3, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr Log V1.0 ~ V3.0 (^1.0, 8.3) (push) Waiting to run
Test for Hyperf Components / Test for Psr Log V1.0 ~ V3.0 (^2.0, 8.1) (push) Waiting to run
Test for Hyperf Components / Test for Psr Log V1.0 ~ V3.0 (^2.0, 8.2) (push) Waiting to run
Test for Hyperf Components / Test for Psr Log V1.0 ~ V3.0 (^2.0, 8.3) (push) Waiting to run
Test for Hyperf Components / Test for Psr Log V1.0 ~ V3.0 (^3.0, 8.1) (push) Waiting to run
Test for Hyperf Components / Test for Psr Log V1.0 ~ V3.0 (^3.0, 8.2) (push) Waiting to run
Test for Hyperf Components / Test for Psr Log V1.0 ~ V3.0 (^3.0, 8.3) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.1, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.1, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.1, ^3.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.2, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.2, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.2, ^3.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.3, ^1.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.3, ^2.0) (push) Waiting to run
Test for Hyperf Components / Test for Psr SimpleCache V1.0 ~ V3.0 (8.3, ^3.0) (push) Waiting to run
Test for Hyperf Components / Test for Redis Module (8.1, redis) (push) Waiting to run
Test for Hyperf Components / Test for Redis Module (8.1, redis-5.3.7) (push) Waiting to run
Test for Hyperf Components / Test for Redis Module (8.2, redis) (push) Waiting to run
Test for Hyperf Components / Test for Redis Module (8.2, redis-5.3.7) (push) Waiting to run
Test for Hyperf Components / Test for Redis Module (8.3, redis) (push) Waiting to run
Test for Hyperf Components / Test for Redis Module (8.3, redis-5.3.7) (push) Waiting to run
Test for Hyperf Components / Test for Symfony (8.1, ^6.0) (push) Waiting to run
Test for Hyperf Components / Test for Symfony (8.2, ^6.0) (push) Waiting to run
Test for Hyperf Components / Test for Symfony (8.2, ^7.0) (push) Waiting to run
Test for Hyperf Components / Test for Symfony (8.3, ^6.0) (push) Waiting to run
Test for Hyperf Components / Test for Symfony (8.3, ^7.0) (push) Waiting to run
PHPUnit for Hyperf / PHP CS Fix on PHP${{ matrix.php }} ${{ matrix.swoole }} (ubuntu-latest, 8.1, swoole) (push) Waiting to run
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.1, master) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.1, v5.0.3) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.1, v5.1.4) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.1, v6.0.0-alpha) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.2, master) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.2, v5.0.3) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.2, v5.1.4) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.2, v6.0.0-alpha) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.3, master) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.3, v5.1.4) (push) Blocked by required conditions
PHPUnit for Hyperf / Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }} (ubuntu-latest, 8.3, v6.0.0-alpha) (push) Blocked by required conditions
Use unpkg.com
This reverts commit 40f2ac290e.
2024-11-25 15:13:36 +08:00

159 lines
5.6 KiB
HTML

<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>Hyperf</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Hyperf框架官方文档">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="apple-touch-icon" href="/3.0/logo.png">
<link rel="manifest" href="/3.0/manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="shortcut icon" href="/3.0/favicon.ico" />
<link rel="stylesheet" href="//unpkg.com/docsify@4/themes/vue.css">
<style>
.app-name-link img {
width: 16%;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="//unpkg.com/docsify@4/lib/docsify.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-php.min.js"></script>
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
<script src="//unpkg.com/mermaid@9/dist/mermaid.min.js"></script>
<script>
mermaid.initialize({ startOnLoad: false });
// Set html "lang" attribute based on URL
var lang = location.hash.match(/#\/(zh-tw|zh-hk|en)\//);
if (lang) {
document.documentElement.setAttribute('lang', lang[1]);
}
window.$docsify = {
name: 'Hyperf',
repo: 'hyperf/hyperf',
homepage: 'zh-cn/README.md',
loadSidebar: 'summary.md',
loadNavbar: true,
fallbackLanguages: ['zh-cn', 'en'],
mergeNavbar: true,
themeColor: '#3F51B5',
logo: '/logo.png',
auto2top: true,
subMaxLevel: 4,
topMargin: 20,
search: {
depth: 6,
noData: {
'/en/': 'No results!',
'/zh-cn/': '没有找到结果!',
'/zh-hk/': '沒有找到結果!',
'/zh-tw/': '沒有找到結果!',
'/': '没有找到结果!'
},
paths: 'auto',
placeholder: {
'/en/': 'Type to Search',
'/zh-cn/': '输入关键词搜索',
'/zh-hk/': '輸入關鍵詞搜索',
'/zh-tw/': '輸入關鍵詞搜索',
'/': '输入关键词搜索'
},
pathNamespaces: ['/zh-cn', '/zh-tw', '/zh-hk', '/en']
},
alias: {
'/summary.md': '/zh-cn/summary.md',
'/.*/_navbar.md': '/_navbar.md',
'/zh-cn/.*/summary.md': '/zh-cn/summary.md',
'/zh-tw/.*/summary.md': '/zh-tw/summary.md',
'/zh-hk/.*/summary.md': '/zh-hk/summary.md',
'/en/.*/summary.md': '/en/summary.md',
'/(.*)/utils': '/$1/support',
},
nameLink: {
'/zh-cn/': '#/zh-cn/',
'/zh-tw/': '#/zh-tw/',
'/zh-hk/': '#/zh-hk/',
'/en/': '#/en/',
'/': '#/',
},
plugins: [
EditOnGithubPlugin.create('https://github.com/hyperf/hyperf/blob/master/docs/'),
function(hook, vm) {
hook.beforeEach(function(content) {
var shortMatches = ['en'],
// zh-cn is the default so is not present
fullMatches = ['zh-tw', 'zh-hk'],
locale = (navigator.languages
? navigator.languages[0]
: (navigator.language || navigator.userLanguage)).toLowerCase();
for (var i = 0; i < shortMatches.length; i++) {
if (locale.substr(0, 2) === shortMatches[i] && vm.route.path === '/') {
window.location.hash = '/' + shortMatches[i] + '/';
}
}
for (i = 0; i < fullMatches.length; i++) {
if (locale === fullMatches[i] && vm.route.path === '/') {
window.location.hash = '/' + fullMatches[i] + '/';
}
}
let hash = window.location.hash.split(/\/(en|zh-cn|zh-tw|zh-hk)\//);
let lang = hash[1] ?? '';
let path = hash[2] ?? '';
if (lang) {
// Set html "lang" attribute based on URL
document.documentElement.setAttribute('lang', lang);
const versions = document.querySelectorAll('nav > ul > li:nth-child(2) a');
versions.forEach(function(a) {
a.href = a.href + '#/' + lang + '/';
});
}
if (path) {
const translations = document.querySelectorAll('nav > ul > li:nth-child(1) a');
translations.forEach(function(a) {
a.href = a.href + path;
});
}
})
}
],
plantuml: {
skin: 'classic',
},
markdown:{
renderer: {
code: function(code, lang) {
if (lang === "mermaid") {
return ('<div class="mermaid">' + mermaid.render(lang, code) + '</div>');
}
return this.origin.code.apply(this, arguments);
}
}
}
}
</script>
<script src="//unpkg.com/docsify-copy-code@2/dist/docsify-copy-code.min.js"></script>
<script src="//unpkg.com/docsify@4/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify-plantuml/dist/docsify-plantuml.min.js"></script>
<script src="//unpkg.com/docsify@4/lib/plugins/zoom-image.min.js"></script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1278274447'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "v1.cnzz.com/z_stat.php%3Fid%3D1278274447' type='text/javascript'%3E%3C/script%3E"));</script>
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
</body>
</html>