Skip to content

Commit

Permalink
docs: add library docs (#13)
Browse files Browse the repository at this point in the history
- add library docs
- move test depedency to dev_dependencies
- MOAR BADGES <3
  • Loading branch information
jeroen-meijer authored Jul 23, 2020
1 parent 2af8d13 commit ecbf9a4
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.3+3

- Add library level documentation comment.
- Minor README change.
- Move `test` dependency to `dev_dependencies`.

## 1.0.3+2

- Add example.
Expand Down
35 changes: 28 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,55 @@

<div align="center">
<a href="https://pub.dev/packages/kana_kit"
><img alt="Pub Version" src="https://img.shields.io/pub/v/kana_kit"
><img alt="Pub Version" src="https://img.shields.io/pub/v/kana_kit?logo=dart"
/></a>
<a href="https://codecov.io/gh/jeroen-meijer/kana_kit"
><img
alt="Codecov"
src="https://img.shields.io/codecov/c/github/jeroen-meijer/kana_kit"
src="https://img.shields.io/codecov/c/github/jeroen-meijer/kana_kit?logo=codecov"
/></a>
<a href="https://github.com/jeroen-meijer/kana_kit/actions?query=workflow%3Aci">
<a
href="https://github.com/jeroen-meijer/kana_kit/actions?query=workflow%3Aci"
>
<img
alt="GitHub Workflow Status"
src="https://img.shields.io/github/workflow/status/jeroen-meijer/kana_kit/ci?label=ci"
src="https://img.shields.io/github/workflow/status/jeroen-meijer/kana_kit/ci?logo=github&label=ci"
/>
</a>
<a href="https://github.com/jeroen-meijer/kana_kit/commits/"
><img
alt="GitHub last commit"
src="https://img.shields.io/github/last-commit/jeroen-meijer/kana_kit"
src="https://img.shields.io/github/last-commit/jeroen-meijer/kana_kit?logo=github"
/></a>
<br />
<a href="https://github.com/jeroen-meijer/kana_kit">
<img
alt="GitHub stars"
src="https://img.shields.io/github/stars/jeroen-meijer/kana_kit.svg?logo=github&colorB=deeppink&label=stars"
/>
</a>
<a href="https://github.com/jeroen-meijer/kana_kit/issues">
<img
alt="GitHub issues"
src="https://img.shields.io/github/issues/jeroen-meijer/kana_kit"
src="https://img.shields.io/github/issues/jeroen-meijer/kana_kit?logo=github"
/>
</a>
<a href="https://github.com/tenhobi/effective_dart">
<img
alt="style: effective dart"
src="https://img.shields.io/badge/style-effective_dart-40c4ff.svg?logo=data:image/svg%2bxml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I2ZmZmZmZjt9Cjwvc3R5bGU+Cgk8Zz4KCQk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMTI2LjUsMTAyLjFMMCwyNTZsMTI2LjUsMTUzLjlsMjkuOS00OS4yTDcxLjIsMjU2bDg1LjItMTA0LjdMMTI2LjUsMTAyLjF6IE0xODEuOCw0MDYuMmg1NS41bDg4LjItMzAxLjMKCQloLTU1LjVMMTgxLjgsNDA2LjJ6IE0zODUuNSwxMDIuMWwtMjkuOSw0OS4yTDQ0MC44LDI1NmwtODUuMiwxMDQuN2wyOS45LDQ5LjJMNTEyLDI1NkwzODUuNSwxMDIuMXoiIC8+Cgk8L2c+Cjwvc3ZnPgo="
/>
</a>
<a href="https://pub.dev/documentation/kana_kit/latest/">
<img
alt="Documentation"
src="https://img.shields.io/badge/read-the%20docs-blue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A3LjcgMjQuMiAxNTcuNSA0OC4xbC0zLjkgNS41em0wLTM5LjRjLTQ4LjctMjIuNC0xMDAuNS0zNy41LTE1My42LTQ0LjlWMjUyYzU0LjYgOCAxMDcuNyAyNC4xIDE1Ny41IDQ3LjdsLTMuOSA1LjF6bTAtMzkuM2MtNDguNy0yMi40LTEwMC41LTM3LjYtMTUzLjYtNDQuOXYtNy45YzU0LjYgNy44IDEwNy43IDIzLjkgMTU3LjUgNDcuN2wtMy45IDUuMXptMC0zOS40Yy00OC43LTIyLjQtMTAwLjUtMzcuNS0xNTMuNi00NC45di03LjljNTQuNiA4IDEwNy43IDI0IDE1Ny41IDQ3LjdsLTMuOSA1LjF6IiBmaWxsPSIjZmZmIi8+PC9zdmc+"
/>
</a>
<a href="https://opensource.org/licenses/MIT">
<img
alt="MIT License"
src="https://img.shields.io/badge/License-MIT-blue.svg?label=license&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2Ij48cGF0aCBkPSJNMjQ1LjQ2NyAxMzQuNzgyYTExMy4xMzcgMTA5LjA5NiAwIDExMC0uMDAyIiB0cmFuc2Zvcm09Im1hdHJpeCgxLjA1NzIzIDAgMCAxLjA5MzAyIC0xMi4wNDEgLTE4LjgxNCkiIGZpbGw9IiNmZmYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxNS4zNDkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxnIGZpbGw9Im5vbmUiIHN0cm9rZS13aWR0aD0iMTQuMTg4Ij48cGF0aCBkPSJNNTIuMjU1IDgzLjA5MXY5Mi4yMDZNODQuMDI5IDgzLjI5OXY2MC4yMjRNMTE1LjU5NSA4My4wOTFsLjIwOCA5MS45OThNMTQ3LjE2IDgzLjA5MWwuMjA5IDE5LjcyOU0xNzguOTM1IDExNC44NjVsLjIwNyA2MC40MzJNMTY5LjE3NCA5Mi44NTJsNTEuMjk1LjIwNyIgc3Ryb2tlPSIjOWMwMDAwIiBzdHJva2Utd2lkdGg9IjE2LjUwMDA3NjQ4Ii8+PHBhdGggZD0iTTE0Ny4zNjkgMTE0Ljg2NXY2MC4yMjQiIHN0cm9rZT0iIzdjN2Q3ZSIgc3Ryb2tlLXdpZHRoPSIxNi41MDAwNzY0OCIvPjwvZz48L3N2Zz4="
/>
</a>
</div>
Expand Down
2 changes: 2 additions & 0 deletions lib/kana_kit.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// A Dart library for handling and converting Japanese characters such as
/// hiragana, katakana and kanji.
library kana_kit;

import 'package:kana_kit/kana_kit.dart';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ packages:
source: hosted
version: "1.1.0"
test:
dependency: "direct main"
dependency: "direct dev"
description:
name: test
url: "https://pub.dartlang.org"
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: kana_kit
description: >
A Dart library for for detecting and transliterating
Hiragana, Katakana, and Romaji.
version: 1.0.3+2
version: 1.0.3+3
repository: https://github.com/jeroen-meijer/kana_kit

environment:
Expand All @@ -11,9 +11,9 @@ environment:
dependencies:
equatable: ^1.2.2
meta: ^1.1.8
test: ^1.15.3

dev_dependencies:
effective_dart: 1.2.3
pedantic: 1.9.0
test_coverage: 0.4.3
test: 1.15.3

0 comments on commit ecbf9a4

Please sign in to comment.