Sphinx: A warning on using recommonmark

Created on 12 Apr 2019  路  3Comments  路  Source: sphinx-doc/sphinx

Describe the bug
When using current recommonmark extension installed in a virtualenv by pip install I get seemingly systematically

/Users/xxx/yyy/sphinxvenv/lib/python3.6/site-packages/recommonmark/parser.py:65: UserWarning: Container node skipped: type=document
  warn("Container node skipped: type={0}".format(mdnode.t))

Got it on two projects. One with old way (deprecated) of using recommonmark, the other one following our guidelines

Environment info

  • OS: Mac
  • Python version: 3.6.8
  • Sphinx version: 2.0.2+
  • Sphinx extensions: recommonmark

I suppose I should report to recommonmark project...

extensions question

Most helpful comment

This issue has been raised over on recommonmark, linking for others that land here.

readthedocs/recommonmark#177

All 3 comments

The warning is emitted inside recommonmark. So there are nothing to do from sphinx side.
https://github.com/rtfd/recommonmark/blob/815d75ea503f30af26ab67c6820078f84875b1fc/recommonmark/parser.py#L64-L65

Closing.

This issue has been raised over on recommonmark, linking for others that land here.

readthedocs/recommonmark#177

Was this page helpful?
0 / 5 - 0 ratings