Skip to content

Commit

Permalink
style: update readme, add docsify config
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Nov 13, 2021
1 parent fb447ff commit b32b3bd
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 4 deletions.
Empty file added .nojekyll
Empty file.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
[![Php Version Support](https://img.shields.io/packagist/php-v/toolkit/pflag)](https://packagist.org/packages/toolkit/pflag)
[![Latest Stable Version](http://img.shields.io/packagist/v/toolkit/pflag.svg)](https://packagist.org/packages/toolkit/pflag)
[![Coverage Status](https://coveralls.io/repos/github/php-toolkit/pflag/badge.svg?branch=main)](https://coveralls.io/github/php-toolkit/pflag?branch=main)
[![zh-CN readme](https://img.shields.io/badge/中文-Readme-brightgreen.svg?style=for-the-badge&maxAge=2592000)](README.zh-CN.md)

Generic PHP command line flags parse library

> Github: [php-toolkit/pflag](https://github.com/php-toolkit/pflag)
## [中文说明](README.zh-CN.md)

## Features

- Generic command line options and arguments parser.
Expand Down
3 changes: 1 addition & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
[![Php Version Support](https://img.shields.io/packagist/php-v/toolkit/pflag)](https://packagist.org/packages/toolkit/pflag)
[![Latest Stable Version](http://img.shields.io/packagist/v/toolkit/pflag.svg)](https://packagist.org/packages/toolkit/pflag)
[![Coverage Status](https://coveralls.io/repos/github/php-toolkit/pflag/badge.svg?branch=main)](https://coveralls.io/github/php-toolkit/pflag?branch=main)
[![English readme](https://img.shields.io/badge/English-Readme-brightgreen.svg?style=for-the-badge&maxAge=2592000)](README.md)

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

> Github: [php-toolkit/pflag](https://github.com/php-toolkit/pflag)
## [EN README](README.md)

## 功能说明

- 通用的命令行选项和参数解析器
Expand Down
6 changes: 6 additions & 0 deletions _navbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

我的其他项目

* [EasyTpl](https://phppkg.github.io/easytpl/ "template engine")
* [Validate](https://inhere.github.io/php-validate/ "data validate engine")
* [PFlag](https://php-toolkit.github.io/pflag/ "console option and argument parse")
24 changes: 24 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta charset="UTF-8">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
<title>Generic PHP command line flags parse library</title>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
repo: 'php-toolkit/pflag',
maxLevel: 4,
// 加载 _navbar.md
loadNavbar: true,
// 加载 _sidebar.md
// loadSidebar: true,
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
</body>
</html>

0 comments on commit b32b3bd

Please sign in to comment.