doc8 icon indicating copy to clipboard operation
doc8 copied to clipboard

Style checker for sphinx (or other) rst documentation.

Results 26 doc8 issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0) - [github.com/pycqa/flake8: 5.0.3 → 5.0.4](https://github.com/pycqa/flake8/compare/5.0.3...5.0.4) - [github.com/PyCQA/pylint: v2.14.5 → v2.15.3](https://github.com/PyCQA/pylint/compare/v2.14.5...v2.15.3)

skip-changelog

It would be useful to include some additional documentation about how to structure the config file when using `pyproject.toml`. I ran into some problems setting up the config file to...

I tried used two versions of what it was supposed to be config in toml file and I observed that running `doc8` failed to use the ignore. On the other...

bug

I get false positive > D004 Found literal carriage return at every line on Windows. It has been reported here first: https://bugs.launchpad.net/doc8/+bug/1756704

I often have very long tables that cannot be shortened and raise line-too-long doc8 errors. For example: ```rest ======================= ====================================================================================================== Header Description ======================= ====================================================================================================== Rather long header item My very...

help wanted
feature

Include directives like this are valid Sphinx: ```rst .. include:: /somefile.hrst ``` This is mentioned by the Sphinx developer [here](https://github.com/sphinx-doc/sphinx/issues/3508). The doc8 linter complains about the above definition though: ```...

doc8 fails when using `.. code-block:: none`, which in Sphinx is the documented way to turn off syntax highlighting. doc8 currently reports the error: > D000 Cannot analyze code. No...

Related to #26 ``` docs/index.rst:2: D000 Error in "code-block" directive: unknown option: "linenos". ``` The same for these options: * `linenos` * `lineno-start` * `caption` * `emphasize-lines` * `dedent` In...

bug
help wanted

I tried to use doc8 as a pre-commit hook but the checks that passed on my Mac were failing in Github CI. I even logged into the remote system using...

Example: ```rst .. note:: This is an example not that should be too long for a single line and the linter should report it ``` IMO directive `code` should be...

bug