You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar with the inner workings of Sphinx and rinohtype so I'd really appreciate some help with this.
HTML output works fine, but I'm getting the following exception when I try to build the PDF with rinohtype:
...
Traceback (most recent call last):
File "c:\programdata\anaconda3\envs\docs\lib\site-packages\rinoh\frontend\__init__.py", line 27, in map_node
return cls._mapping[node_name.replace('-', '_')](node, **context)
KeyError: 'mermaid'
During handling of the above exception, another exception occurred:
...
Traceback (most recent call last):
File "c:\programdata\anaconda3\envs\docs\lib\site-packages\rinoh\frontend\__init__.py", line 29, in map_node
filename, line, node_name = cls.node_location(node)
AttributeError: type object 'Section' has no attribute 'node_location'
sphinxcontrib-mermaid would need to add support for the rinoh builder for this to work. This extension could possibly be made independent of specific builders by using an approach described in the comments to #201.
Closing as this isn't a bug in rinohtype. Discussion is still allowed, of course.
I'm not familiar with the inner workings of Sphinx and rinohtype so I'd really appreciate some help with this.
HTML output works fine, but I'm getting the following exception when I try to build the PDF with rinohtype:
See the attachment for the full trace.
I have a simple mermaid directive in my content:
.. mermaid:: data/gantt_chart.mmd
If I remove the directive, the PDF is generated without issues.
My
conf.py
is using the mermaid extension (without the CLI):System Info
0.5.3
4.0.2
3.9.5
10.0.19043
The text was updated successfully, but these errors were encountered: