| 1 |
============= |
| 2 |
rstcheck-core |
| 3 |
============= |
| 4 |
|
| 5 |
+-------------------+---------------------------------------------------------------------------------------------+ |
| 6 |
| **General** | |maintenance_y| |license| |semver| | |
| 7 |
| +---------------------------------------------------------------------------------------------+ |
| 8 |
| | |rtd| | |
| 9 |
+-------------------+---------------------------------------------------------------------------------------------+ |
| 10 |
| **CI** | |gha_tests| |gha_docu| |gha_qa| |pre_commit_ci| | |
| 11 |
+-------------------+---------------------------------------------------------------------------------------------+ |
| 12 |
| **PyPI** | |pypi_release| |pypi_py_versions| |pypi_implementations| | |
| 13 |
| +---------------------------------------------------------------------------------------------+ |
| 14 |
| | |pypi_format| |pypi_downloads| | |
| 15 |
+-------------------+---------------------------------------------------------------------------------------------+ |
| 16 |
| **Github** | |gh_tag| |gh_last_commit| | |
| 17 |
| +---------------------------------------------------------------------------------------------+ |
| 18 |
| | |gh_stars| |gh_forks| |gh_contributors| |gh_watchers| | |
| 19 |
+-------------------+---------------------------------------------------------------------------------------------+ |
| 20 |
|
| 21 |
|
| 22 |
Library for checking syntax of reStructuredText and code blocks nested within it. |
| 23 |
|
| 24 |
See the full documentation at `read-the-docs`_ |
| 25 |
|
| 26 |
|
| 27 |
.. contents:: |
| 28 |
|
| 29 |
|
| 30 |
Installation |
| 31 |
============ |
| 32 |
|
| 33 |
From pip |
| 34 |
|
| 35 |
.. code:: shell |
| 36 |
|
| 37 |
$ pip install rstcheck_core |
| 38 |
|
| 39 |
To use pyproject.toml for configuration:: |
| 40 |
|
| 41 |
$ pip install rstcheck_core[toml] |
| 42 |
|
| 43 |
To add sphinx support:: |
| 44 |
|
| 45 |
$ pip install rstcheck_core[sphinx] |
| 46 |
|
| 47 |
To add YAML checking support:: |
| 48 |
|
| 49 |
$ pip install rstcheck_core[yaml] |
| 50 |
|
| 51 |
Supported languages in code blocks |
| 52 |
================================== |
| 53 |
|
| 54 |
- Bash |
| 55 |
- Doctest |
| 56 |
- C (C99) |
| 57 |
- C++ (C++11) |
| 58 |
- JSON |
| 59 |
- XML |
| 60 |
- Python |
| 61 |
- reStructuredText |
| 62 |
- YAML |
| 63 |
|
| 64 |
|
| 65 |
.. _read-the-docs: https://rstcheck-core.readthedocs.io |
| 66 |
|
| 67 |
|
| 68 |
.. General |
| 69 |
|
| 70 |
.. |maintenance_n| image:: https://img.shields.io/badge/Maintenance%20Intended-✖-red.svg?style=flat-square |
| 71 |
:target: http://unmaintained.tech/ |
| 72 |
:alt: Maintenance - not intended |
| 73 |
|
| 74 |
.. |maintenance_y| image:: https://img.shields.io/badge/Maintenance%20Intended-✔-green.svg?style=flat-square |
| 75 |
:target: http://unmaintained.tech/ |
| 76 |
:alt: Maintenance - intended |
| 77 |
|
| 78 |
.. |license| image:: https://img.shields.io/github/license/rstcheck/rstcheck-core.svg?style=flat-square&label=License |
| 79 |
:target: https://github.com/rstcheck/rstcheck/blob/main/LICENSE |
| 80 |
:alt: License |
| 81 |
|
| 82 |
.. |semver| image:: https://img.shields.io/badge/Semantic%20Versioning-2.0.0-brightgreen.svg?style=flat-square |
| 83 |
:target: https://semver.org/ |
| 84 |
:alt: Semantic Versioning - 2.0.0 |
| 85 |
|
| 86 |
.. |rtd| image:: https://img.shields.io/readthedocs/rstcheck-core/latest.svg?style=flat-square&logo=read-the-docs&logoColor=white&label=Read%20the%20Docs |
| 87 |
:target: https://rstcheck-core.readthedocs.io/en/latest/ |
| 88 |
:alt: Read the Docs - Build Status (latest) |
| 89 |
|
| 90 |
|
| 91 |
.. CI |
| 92 |
|
| 93 |
|
| 94 |
.. |gha_tests| image:: https://img.shields.io/github/actions/workflow/status/rstcheck/rstcheck-core/test.yml?branch=main&style=flat-square&logo=github&label=Test%20code |
| 95 |
:target: https://github.com/rstcheck/rstcheck-core/actions/workflows/test.yaml |
| 96 |
:alt: Test status |
| 97 |
|
| 98 |
.. |gha_docu| image:: https://img.shields.io/github/actions/workflow/status/rstcheck/rstcheck-core/documentation.yml?branch=main&style=flat-square&logo=github&label=Test%20documentation |
| 99 |
:target: https://github.com/rstcheck/rstcheck-core/actions/workflows/documentation.yaml |
| 100 |
:alt: Documentation status |
| 101 |
|
| 102 |
.. |gha_qa| image:: https://img.shields.io/github/actions/workflow/status/rstcheck/rstcheck-core/qa.yml?branch=main&style=flat-square&logo=github&label=QA |
| 103 |
:target: https://github.com/rstcheck/rstcheck-core/actions/workflows/qa.yaml |
| 104 |
:alt: QA status |
| 105 |
|
| 106 |
.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/rstcheck/rstcheck-core/main.svg |
| 107 |
:target: https://results.pre-commit.ci/latest/github/rstcheck-core/rstcheck/main |
| 108 |
:alt: pre-commit status |
| 109 |
|
| 110 |
.. PyPI |
| 111 |
|
| 112 |
.. |pypi_release| image:: https://img.shields.io/pypi/v/rstcheck-core.svg?style=flat-square&logo=pypi&logoColor=FBE072 |
| 113 |
:target: https://pypi.org/project/rstcheck-core/ |
| 114 |
:alt: PyPI - Package latest release |
| 115 |
|
| 116 |
.. |pypi_py_versions| image:: https://img.shields.io/pypi/pyversions/rstcheck-core.svg?style=flat-square&logo=python&logoColor=FBE072 |
| 117 |
:target: https://pypi.org/project/rstcheck-core/ |
| 118 |
:alt: PyPI - Supported Python Versions |
| 119 |
|
| 120 |
.. |pypi_implementations| image:: https://img.shields.io/pypi/implementation/rstcheck-core.svg?style=flat-square&logo=python&logoColor=FBE072 |
| 121 |
:target: https://pypi.org/project/rstcheck-core/ |
| 122 |
:alt: PyPI - Supported Implementations |
| 123 |
|
| 124 |
.. |pypi_format| image:: https://img.shields.io/pypi/format/rstcheck-core.svg?style=flat-square&logo=pypi&logoColor=FBE072 |
| 125 |
:target: https://pypi.org/project/rstcheck-core/ |
| 126 |
:alt: PyPI - Format |
| 127 |
|
| 128 |
.. |pypi_downloads| image:: https://img.shields.io/pypi/dm/rstcheck-core.svg?style=flat-square&logo=pypi&logoColor=FBE072 |
| 129 |
:target: https://pypi.org/project/rstcheck-core/ |
| 130 |
:alt: PyPI - Monthly downloads |
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
.. GitHub |
| 135 |
|
| 136 |
.. |gh_tag| image:: https://img.shields.io/github/v/tag/rstcheck/rstcheck-core.svg?sort=semver&style=flat-square&logo=github |
| 137 |
:target: https://github.com/rstcheck/rstcheck-core/tags |
| 138 |
:alt: Github - Latest Release |
| 139 |
|
| 140 |
.. |gh_last_commit| image:: https://img.shields.io/github/last-commit/rstcheck/rstcheck-core.svg?style=flat-square&logo=github |
| 141 |
:target: https://github.com/rstcheck/rstcheck-core/commits/main |
| 142 |
:alt: GitHub - Last Commit |
| 143 |
|
| 144 |
.. |gh_stars| image:: https://img.shields.io/github/stars/rstcheck/rstcheck-core.svg?style=flat-square&logo=github |
| 145 |
:target: https://github.com/rstcheck/rstcheck-core/stargazers |
| 146 |
:alt: Github - Stars |
| 147 |
|
| 148 |
.. |gh_forks| image:: https://img.shields.io/github/forks/rstcheck/rstcheck-core.svg?style=flat-square&logo=github |
| 149 |
:target: https://github.com/rstcheck/rstcheck-core/network/members |
| 150 |
:alt: Github - Forks |
| 151 |
|
| 152 |
.. |gh_contributors| image:: https://img.shields.io/github/contributors/rstcheck/rstcheck-core.svg?style=flat-square&logo=github |
| 153 |
:target: https://github.com/rstcheck/rstcheck-core/graphs/contributors |
| 154 |
:alt: Github - Contributors |
| 155 |
|
| 156 |
.. |gh_watchers| image:: https://img.shields.io/github/watchers/rstcheck/rstcheck-core.svg?style=flat-square&logo=github |
| 157 |
:target: https://github.com/rstcheck/rstcheck-core/watchers/ |
| 158 |
:alt: Github - Watchers |