-
Notifications
You must be signed in to change notification settings - Fork 26
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
recommonmark: source_suffix '.md' is already registered #4
Comments
Hello @NumesSanguis, thanks for the issue! I'm gonna try to make some failling tests for this and get it working. |
Actually I'm not too sure anymore why I tried both in the same project. When I started with the documentation for my project years ago, I started with recommonmark, as this was the recommended approach. However, I wanted to include the README.md outside the docs folder. Recommonmark did not support this, but it was possible with m2r. Now almost all my documents are .rst, except for the README, which I include like so:
README.rst:
|
I had the same issue, removing recommonmark resolved it. I guess recommonmark is adding a parser for .md too, thus the problem. |
remove 'recommonmark' from extention array and
|
I think this can be closed since this is due to recommonmark registering for |
Attempt to fix error "ExtensionError: source_parser for 'md' is already registered" according to CrossNox/m2r2#4
Hey! This issue also pops up when enabling myst_parser, which is needed by sphinx_design. Is there any way of fixing it? |
Also had this issue when adding m2r2 in my
but managed to solve it by changing the order naming |
Thank you for keeping m2r alive!
I found this repo through your comment in this issue: miyakogi#51
In that same issue, I asked for a check to be added if
.md
is already registered. As this issue is also present in m2r2, I would like to ask the same here.Full issue details:
If in
conf.py
, you have the following (order is unimportant):Executing
make html
will raise the error:A possible solution?
Some modification to the code here?:
https://github.com/CrossNox/m2r2/blob/development/m2r2.py#L663-L667
Or can m2r2 and recommonmark not be used in the same documentation?
Related issues:
The text was updated successfully, but these errors were encountered: