Metadata-Version: 2.4
Name: rstcheck-core
Version: 1.2.1
Summary: Checks syntax of reStructuredText and code blocks nested within it
Author-email: Steven Myint <git@stevenmyint.com>
Maintainer-email: Christian Riedel <cielquan@protonmail.com>
License: MIT
Project-URL: Documentation, https://rstcheck-core.readthedocs.io/en/latest/
Project-URL: Repository, https://github.com/rstcheck/rstcheck-core
Project-URL: Changelog, https://github.com/rstcheck/rstcheck-core/blob/main/CHANGELOG.md
Keywords: restructuredtext,rst,linter,static-analysis
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: docutils>=0.7
Requires-Dist: pydantic>=2
Requires-Dist: importlib-metadata>=1.6; python_version <= "3.8"
Requires-Dist: typing-extensions>=3.7.4; python_version <= "3.8"
Provides-Extra: sphinx
Requires-Dist: sphinx>=5.0; extra == "sphinx"
Provides-Extra: toml
Requires-Dist: tomli>=2.0; python_version <= "3.10" and extra == "toml"
Provides-Extra: yaml
Requires-Dist: pyyaml>=6.0.0; extra == "yaml"
Provides-Extra: testing
Requires-Dist: pytest>=7.2; extra == "testing"
Requires-Dist: pytest-cov>=3.0; extra == "testing"
Requires-Dist: coverage[toml]>=6.0; extra == "testing"
Requires-Dist: coverage-conditional-plugin>=0.5; extra == "testing"
Requires-Dist: pytest-sugar>=0.9.5; extra == "testing"
Requires-Dist: pytest-randomly>=3.0; extra == "testing"
Requires-Dist: pytest-mock>=3.7; extra == "testing"
Provides-Extra: docs
Requires-Dist: sphinx!=7.2.5,>=5.0; extra == "docs"
Requires-Dist: m2r2>=0.3.2; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=1.2; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints>=1.15; extra == "docs"
Requires-Dist: sphinxcontrib-apidoc>=0.3; extra == "docs"
Requires-Dist: sphinxcontrib-spelling>=7.3; extra == "docs"
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
Provides-Extra: type-check
Requires-Dist: mypy>=1.0; extra == "type-check"
Requires-Dist: types-docutils>=0.18; extra == "type-check"
Requires-Dist: types-PyYAML>=6.0.0; extra == "type-check"
Provides-Extra: dev
Requires-Dist: rstcheck-core[docs,sphinx,testing,toml,type-check,yaml]; extra == "dev"
Requires-Dist: tox>=3.15; extra == "dev"
Dynamic: license-file

=============
rstcheck-core
=============

+-------------------+---------------------------------------------------------------------------------------------+
| **General**       | |maintenance_y| |license| |semver|                                                          |
|                   +---------------------------------------------------------------------------------------------+
|                   | |rtd|                                                                                       |
+-------------------+---------------------------------------------------------------------------------------------+
| **CI**            | |gha_tests| |gha_docu| |gha_qa| |pre_commit_ci|                                             |
+-------------------+---------------------------------------------------------------------------------------------+
| **PyPI**          | |pypi_release| |pypi_py_versions| |pypi_implementations|                                    |
|                   +---------------------------------------------------------------------------------------------+
|                   | |pypi_format| |pypi_downloads|                                                              |
+-------------------+---------------------------------------------------------------------------------------------+
| **Github**        | |gh_tag| |gh_last_commit|                                                                   |
|                   +---------------------------------------------------------------------------------------------+
|                   | |gh_stars| |gh_forks| |gh_contributors| |gh_watchers|                                       |
+-------------------+---------------------------------------------------------------------------------------------+


Library for checking syntax of reStructuredText and code blocks nested within it.

See the full documentation at `read-the-docs`_


.. contents::


Installation
============

From pip

.. code:: shell

    $ pip install rstcheck_core

To use pyproject.toml for configuration::

    $ pip install rstcheck_core[toml]

To add sphinx support::

    $ pip install rstcheck_core[sphinx]

To add YAML checking support::

    $ pip install rstcheck_core[yaml]

Supported languages in code blocks
==================================

- Bash
- Doctest
- C (C99)
- C++ (C++11)
- JSON
- XML
- Python
- reStructuredText
- YAML


.. _read-the-docs: https://rstcheck-core.readthedocs.io


.. General

.. |maintenance_n| image:: https://img.shields.io/badge/Maintenance%20Intended-✖-red.svg?style=flat-square
    :target: http://unmaintained.tech/
    :alt: Maintenance - not intended

.. |maintenance_y| image:: https://img.shields.io/badge/Maintenance%20Intended-✔-green.svg?style=flat-square
    :target: http://unmaintained.tech/
    :alt: Maintenance - intended

.. |license| image:: https://img.shields.io/github/license/rstcheck/rstcheck-core.svg?style=flat-square&label=License
    :target: https://github.com/rstcheck/rstcheck/blob/main/LICENSE
    :alt: License

.. |semver| image:: https://img.shields.io/badge/Semantic%20Versioning-2.0.0-brightgreen.svg?style=flat-square
    :target: https://semver.org/
    :alt: Semantic Versioning - 2.0.0

.. |rtd| image:: https://img.shields.io/readthedocs/rstcheck-core/latest.svg?style=flat-square&logo=read-the-docs&logoColor=white&label=Read%20the%20Docs
    :target: https://rstcheck-core.readthedocs.io/en/latest/
    :alt: Read the Docs - Build Status (latest)


.. CI


.. |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
    :target: https://github.com/rstcheck/rstcheck-core/actions/workflows/test.yaml
    :alt: Test status

.. |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
    :target: https://github.com/rstcheck/rstcheck-core/actions/workflows/documentation.yaml
    :alt: Documentation status

.. |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
    :target: https://github.com/rstcheck/rstcheck-core/actions/workflows/qa.yaml
    :alt: QA status

.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/rstcheck/rstcheck-core/main.svg
    :target: https://results.pre-commit.ci/latest/github/rstcheck-core/rstcheck/main
    :alt: pre-commit status

.. PyPI

.. |pypi_release| image:: https://img.shields.io/pypi/v/rstcheck-core.svg?style=flat-square&logo=pypi&logoColor=FBE072
    :target: https://pypi.org/project/rstcheck-core/
    :alt: PyPI - Package latest release

.. |pypi_py_versions| image:: https://img.shields.io/pypi/pyversions/rstcheck-core.svg?style=flat-square&logo=python&logoColor=FBE072
    :target: https://pypi.org/project/rstcheck-core/
    :alt: PyPI - Supported Python Versions

.. |pypi_implementations| image:: https://img.shields.io/pypi/implementation/rstcheck-core.svg?style=flat-square&logo=python&logoColor=FBE072
    :target: https://pypi.org/project/rstcheck-core/
    :alt: PyPI - Supported Implementations

.. |pypi_format| image:: https://img.shields.io/pypi/format/rstcheck-core.svg?style=flat-square&logo=pypi&logoColor=FBE072
    :target: https://pypi.org/project/rstcheck-core/
    :alt: PyPI - Format

.. |pypi_downloads| image:: https://img.shields.io/pypi/dm/rstcheck-core.svg?style=flat-square&logo=pypi&logoColor=FBE072
    :target: https://pypi.org/project/rstcheck-core/
    :alt: PyPI - Monthly downloads



.. GitHub

.. |gh_tag| image:: https://img.shields.io/github/v/tag/rstcheck/rstcheck-core.svg?sort=semver&style=flat-square&logo=github
    :target: https://github.com/rstcheck/rstcheck-core/tags
    :alt: Github - Latest Release

.. |gh_last_commit| image:: https://img.shields.io/github/last-commit/rstcheck/rstcheck-core.svg?style=flat-square&logo=github
    :target: https://github.com/rstcheck/rstcheck-core/commits/main
    :alt: GitHub - Last Commit

.. |gh_stars| image:: https://img.shields.io/github/stars/rstcheck/rstcheck-core.svg?style=flat-square&logo=github
    :target: https://github.com/rstcheck/rstcheck-core/stargazers
    :alt: Github - Stars

.. |gh_forks| image:: https://img.shields.io/github/forks/rstcheck/rstcheck-core.svg?style=flat-square&logo=github
    :target: https://github.com/rstcheck/rstcheck-core/network/members
    :alt: Github - Forks

.. |gh_contributors| image:: https://img.shields.io/github/contributors/rstcheck/rstcheck-core.svg?style=flat-square&logo=github
    :target: https://github.com/rstcheck/rstcheck-core/graphs/contributors
    :alt: Github - Contributors

.. |gh_watchers| image:: https://img.shields.io/github/watchers/rstcheck/rstcheck-core.svg?style=flat-square&logo=github
    :target: https://github.com/rstcheck/rstcheck-core/watchers/
    :alt: Github - Watchers
