Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(debug?) output printed to stdout during compilation #7170

Closed
antonio-rojas opened this issue Feb 16, 2020 · 2 comments
Closed

(debug?) output printed to stdout during compilation #7170

antonio-rojas opened this issue Feb 16, 2020 · 2 comments
Labels

Comments

@antonio-rojas
Copy link

Describe the bug
During compilation of an rst file to text output, some debug output is printed on top of the compilation output. Seems to come from https://github.com/sphinx-doc/sphinx/blob/2.0/sphinx/writers/text.py#L921

To Reproduce
Run the following code

import os
from sphinx.application import Sphinx

os.system('touch conf.py')

with open('index.rst', 'w') as filed:
    filed.write(r"""        .. NOTE::
            Foo
""")

sphinx_app = Sphinx('.', '.', 'out', '.', 'text')
sphinx_app.build()

Environment info

  • OS: Linux
  • Python version: 3.8.1
  • Sphinx version: 2.4.1
@tk0miya
Copy link
Member

tk0miya commented Feb 17, 2020

Oh my bad, it's my mistake in #6869
Thank you for letting me know!

tk0miya added a commit to tk0miya/sphinx that referenced this issue Feb 17, 2020
tk0miya added a commit that referenced this issue Feb 17, 2020
@tk0miya
Copy link
Member

tk0miya commented Feb 17, 2020

Fixed.

@tk0miya tk0miya closed this as completed Feb 17, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants