-
Notifications
You must be signed in to change notification settings - Fork 4
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
Problem with latest Sphinx and I18N #3
Comments
You should be able to install that commit from the docutils-mirror on github with |
I guess early on I didn't try that because it felt wrong to be locking to a patch that was just a P.R. and hadn't been merged in - It wouldn't have any further work. Tho later on I got frustrated enought to try and create a Python 3 mirror of the latest code so 🤷♂️ But generally this all feels very brittle and flakey in a way which isn't great. |
Yeah, agree that it's not great. At the very least though, it could be a useful way to check that the patch actually fixes the problem. |
Think I just hacked the source files by hand on my VM to verify that :-) |
Adding link to my prior work to get this working: https://ocds-babel.readthedocs.io/en/latest/api/translate.html#install-requirements-for-markdown-translation Recently found https://sphinx-book-theme.readthedocs.io/en/latest/ which uses https://markdown-it-py.readthedocs.io/en/latest/ instead of CommonMark.py and https://myst-parser.readthedocs.io/en/latest/ instead of recommonmark. ExecutableBooks seems like a way more responsible maintainer than ReadTheDocs. See open-contracting/standard_profile_template#37 |
recommonmark will be sunset in about a month: readthedocs/recommonmark#221 |
This repo no longer uses recommonmark. |
Didn't know where else to document this so triying here ...
I've been working on a repo with sphinx==1.7.5, trying I18N. It broke.
With an error in docutils:
This is the patch that needs to be applied to docutils to fix the error: https://github.com/docutils-mirror/docutils/pull/14/commits/c8ffd504b65e4b4f2f00677545f10f1d5a515199
However, docutils has not released a version with that patch.
I couldn't install a version of docutils with a git commit because the source is in SVN. I couldn't install a version of docutils with a SVN version because the code in the master SVN branch is Python 2. I then tried creating our own git repo, and applying the patch by hand, but I couldn't because I couldn't get a full copy of the source code of docutils in Python 3, only Python 2.
In the end I downgraded the sphinx version to sphinx==1.6.7. Then I cried.
The text was updated successfully, but these errors were encountered: