-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unknown node rowSpan #11
Comments
Sorry, I have a problem to understand what the issue is / what you try to do. Why is there a markdown file named: |
I have the following index.rst and into it exists introduction.
You can find the Introduction.md https://github.com/eaudeweb/Prais4-reporting-manual/blob/master/introduction.md also the repository https://github.com/eaudeweb/Prais4-reporting-manual The problem is when I try to build HTML from PO-files. To be more clearly, I generated the PO-files using the following commands,
completed the translation files locales/ru/LC_MESSAGES/introduction.po (which looks like)
and when run the following command
I get the error
|
Hm, do you mix reST with Mardown markup? The index.rst is valid reST markup and the introduction.md content has a Mardown markup. You can't mix these markups into one. Except you are using any special sphinx extension I do not know. Even if you use a extension like myst-parser, the Markdown file can't include reST markup. It may be that I misunderstand you, but I have the impression that you are trying to mix the different Markup wildly. |
Hi Markus, I am a colleague of Valentin and will try to explain this better. We are indeed using myst-parser, but without mixing in the same file reST and Markdown (it's possible via the
it fails with
That's caused by the translation of the line containing If you try changing that line (either use an empty |
Ah, thanks a lot / my fail / sorry ..
Thanks for this example / I will give it a try the next days .. today and tomorrow I have no time for, so please be patient with me. ... |
No worries and thanks for reopening this issue. Your time is much appreciated. |
Right now I don't know why, but
In the translated
See my PR https://github.com/melish/linuxdoc_i18n/pull/1/files#r744734541 |
Wow, I didn't think of trying that, thanks a lot for the tip! |
FYI: documentation about reST-roles is updated https://return42.github.io/linuxdoc/linuxdoc-howto/table-markup.html#flat-table |
Failed to build sphinx html with FlatTable using linuxdoc
raise NotImplementedError('Unknown node: ' + node.__class__.__name__)
NotImplementedError: Unknown node: rowSpan
#: ../../introduction.md:1
msgid "{rspan}
1TEST"
msgstr "{rspan}
1TEST"
The command that I use
python -m sphinx -T -E -b html -d _build/doctrees -D language=ru . _build/html
Update:
I used the same example as in the documentation, but the same problem
and locales/ru/LC_MESSAGES/index.po
The text was updated successfully, but these errors were encountered: