ntd2d_action.files.sphinxlog¶
Classes
- class ntd2d_action.files.sphinxlog.SphinxLog(docs, path)¶
Bases:
File
- parse_sphinx_warnings()¶
Parse and emit a sphinx file containing warnings and errors.
- Inputs look like this:
/media/sf_shared/workspace/sphinx-action/tests/test_projects/warnings_and_errors/index.rst:19: WARNING: Error in “code-block” directive: maximum 1 argument(s) allowed, 2 supplied.
/cpython/Doc/distutils/_setuptools_disclaimer.rst: WARNING: document isn’t included in any toctree /cpython/Doc/contents.rst:5: WARNING: toctree contains reference to nonexisting document ‘ayylmao’