Skip to content

Commit b32b3bd

Browse files
committed
style: update readme, add docsify config
1 parent fb447ff commit b32b3bd

File tree

5 files changed

+32
-4
lines changed

5 files changed

+32
-4
lines changed

.nojekyll

Whitespace-only changes.

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
[![Php Version Support](https://img.shields.io/packagist/php-v/toolkit/pflag)](https://packagist.org/packages/toolkit/pflag)
77
[![Latest Stable Version](http://img.shields.io/packagist/v/toolkit/pflag.svg)](https://packagist.org/packages/toolkit/pflag)
88
[![Coverage Status](https://coveralls.io/repos/github/php-toolkit/pflag/badge.svg?branch=main)](https://coveralls.io/github/php-toolkit/pflag?branch=main)
9+
[![zh-CN readme](https://img.shields.io/badge/中文-Readme-brightgreen.svg?style=for-the-badge&maxAge=2592000)](README.zh-CN.md)
910

1011
Generic PHP command line flags parse library
1112

1213
> Github: [php-toolkit/pflag](https://github.com/php-toolkit/pflag)
1314
14-
## [中文说明](README.zh-CN.md)
15-
1615
## Features
1716

1817
- Generic command line options and arguments parser.

README.zh-CN.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
[![Php Version Support](https://img.shields.io/packagist/php-v/toolkit/pflag)](https://packagist.org/packages/toolkit/pflag)
77
[![Latest Stable Version](http://img.shields.io/packagist/v/toolkit/pflag.svg)](https://packagist.org/packages/toolkit/pflag)
88
[![Coverage Status](https://coveralls.io/repos/github/php-toolkit/pflag/badge.svg?branch=main)](https://coveralls.io/github/php-toolkit/pflag?branch=main)
9+
[![English readme](https://img.shields.io/badge/English-Readme-brightgreen.svg?style=for-the-badge&maxAge=2592000)](README.md)
910

1011
`pflag` - PHP编写的,通用的命令行标志(选项和参数)解析库
1112

1213
> Github: [php-toolkit/pflag](https://github.com/php-toolkit/pflag)
1314
14-
## [EN README](README.md)
15-
1615
## 功能说明
1716

1817
- 通用的命令行选项和参数解析器

_navbar.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
我的其他项目
3+
4+
* [EasyTpl](https://phppkg.github.io/easytpl/ "template engine")
5+
* [Validate](https://inhere.github.io/php-validate/ "data validate engine")
6+
* [PFlag](https://php-toolkit.github.io/pflag/ "console option and argument parse")

index.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="">
3+
<head>
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<meta charset="UTF-8">
7+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
8+
<title>Generic PHP command line flags parse library</title>
9+
</head>
10+
<body>
11+
<div id="app"></div>
12+
<script>
13+
window.$docsify = {
14+
repo: 'php-toolkit/pflag',
15+
maxLevel: 4,
16+
// 加载 _navbar.md
17+
loadNavbar: true,
18+
// 加载 _sidebar.md
19+
// loadSidebar: true,
20+
}
21+
</script>
22+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
23+
</body>
24+
</html>

0 commit comments

Comments
 (0)