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

">>>" raises an error when encountered in rst files. #165

Closed
KelSolaar opened this issue Nov 1, 2022 · 2 comments
Closed

">>>" raises an error when encountered in rst files. #165

KelSolaar opened this issue Nov 1, 2022 · 2 comments

Comments

@KelSolaar
Copy link

Hello,

I'm starting to test blackdoc and I came across this issue with one of our RST files:

Features
--------

Most of the objects are available from the ``colour`` namespace:

.. code-block:: python

    >>> import colour
error: cannot format /Users/kelsolaar/Documents/Development/colour-science/colour/docs/index.rst: Cannot parse: 40:0: >>> import colour

Cheers,

Thomas

@keewis
Copy link
Owner

keewis commented Nov 1, 2022

thanks for the report, @KelSolaar. I think this is a duplicate of #150, which has been fixed in #151 (but not yet released). Can you confirm?

@keewis
Copy link
Owner

keewis commented Nov 3, 2022

same as in #166: this should be fixed in the new release

@keewis keewis closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants