From 95c61f444921396c2e22eb804e1fb9eb5de0b4ed Mon Sep 17 00:00:00 2001 From: facelessuser Date: Fri, 22 Nov 2019 06:40:37 -0700 Subject: [PATCH] Update readme badges and adjust coverage --- README.md | 19 ++++++++++++------- docs/src/dictionary/en-custom.txt | 1 + pymdownx/util.py | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 30a06f6ae..022a93ac8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ +[![Gitter][gitter-image]][gitter-link] [![Build][github-ci-image]][github-ci-link] [![Unix Build Status][travis-image]][travis-link] [![Windows Build Status][appveyor-image]][appveyor-link] [![Coverage Status][codecov-image]][codecov-link] -[![pypi-version][pypi-image]][pypi-link] +[![PyPI Version][pypi-image]][pypi-link] +[![PyPI - Python Version][python-image]][pypi-link] ![License][license-image-mit] # PyMdown Extensions @@ -19,12 +21,15 @@ License is MIT except for a few exceptions. See [LICENSE](https://github.com/fa [github-ci-image]: https://github.com/facelessuser/pymdown-extensions/workflows/build/badge.svg [github-ci-link]: https://github.com/facelessuser/pymdown-extensions/actions?workflow=build -[travis-image]: https://img.shields.io/travis/facelessuser/pymdown-extensions/master.svg?label=Unix%20Build&logo=travis -[travis-link]: https://travis-ci.org/facelessuser/pymdown-extensions -[appveyor-image]: https://img.shields.io/appveyor/ci/facelessuser/pymdown-extensions/master.svg?label=Windows%20Build&logo=appveyor -[appveyor-link]: https://ci.appveyor.com/project/facelessuser/pymdown-extensions -[codecov-image]: https://img.shields.io/codecov/c/github/facelessuser/pymdown-extensions/master.svg +[gitter-image]: https://img.shields.io/gitter/room/facelessuser/pymdown-extensions.svg?logo=gitter&color=fuchsia&logoColor=cccccc +[gitter-link]: https://gitter.im/facelessuser/pymdown-extensions +[codecov-image]: https://img.shields.io/codecov/c/github/facelessuser/pymdown-extensions/master.svg?logo=codecov&logoColor=cccccc [codecov-link]: https://codecov.io/github/facelessuser/pymdown-extensions -[pypi-image]: https://img.shields.io/pypi/v/pymdown-extensions.svg?logo=python&logoColor=white +[appveyor-image]: https://img.shields.io/appveyor/ci/facelessuser/pymdown-extensions/master.svg?label=appveyor&logo=appveyor&logoColor=cccccc +[appveyor-link]: https://ci.appveyor.com/project/facelessuser/pymdown-extensions +[travis-image]: https://img.shields.io/travis/facelessuser/pymdown-extensions/master.svg?label=travis&logo=travis%20ci&logoColor=cccccc +[travis-link]: https://travis-ci.org/facelessuser/pymdown-extensions +[pypi-image]: https://img.shields.io/pypi/v/pymdown-extensions.svg?logo=pypi&logoColor=cccccc [pypi-link]: https://pypi.python.org/pypi/pymdown-extensions +[python-image]: https://img.shields.io/pypi/pyversions/pymdown-extensions?logo=python&logoColor=cccccc [license-image-mit]: https://img.shields.io/badge/license-MIT-blue.svg diff --git a/docs/src/dictionary/en-custom.txt b/docs/src/dictionary/en-custom.txt index d6a55bb42..b7ebf9f5f 100644 --- a/docs/src/dictionary/en-custom.txt +++ b/docs/src/dictionary/en-custom.txt @@ -37,6 +37,7 @@ GitHub's GitHubEmoji GitLab GitLab's +Gitter HeaderAnchor HeaderAnchor's Hunspell diff --git a/pymdownx/util.py b/pymdownx/util.py index e5734f142..1ebe3dd08 100644 --- a/pymdownx/util.py +++ b/pymdownx/util.py @@ -82,7 +82,7 @@ def path2url(url): return path -if IS_NARROW: +if IS_NARROW: # pragma: no cover def get_code_points(s): """Get the Unicode code points."""