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 need to generate pdf documentation with usage of plantuml plugin.
I created separated small project, which shows error from my real project.
When I add uml object in my reStructurizedText file, i get error output message:
Exception occurred:
File "/my-path/.local/lib/python3.7/site-packages/rinoh/frontend/init.py", line 29, in map_node
filename, line, node_name = cls.node_location(node)
AttributeError: type object 'Document' has no attribute 'node_location'
I compile this project with: sphinx-build -b rinoh . build
When building html documentation, there is no error. I use cmd: sphinx-build . build
I run this on debian buster.
attached zip contains input files to generate documentation, as well as detailed output error log, in which, there is specified configuration of tools (versions)
it is also reproducible with master version of rinoh
andybyc13
changed the title
adding uml to rst causes improper pdf generation
adding uml object to reStructurizedText file causes error when generating pdf doc
Nov 17, 2021
The PlantUML Sphinx plugin is currently lacking support for the rinoh builder. @alexfargus has built a proof of concept, but this is yet to be finished and included in sphinxcontib-plantuml. Please see sphinx-contrib/plantuml#43 for more information.
I need to generate pdf documentation with usage of plantuml plugin.
I created separated small project, which shows error from my real project.
When I add uml object in my reStructurizedText file, i get error output message:
Exception occurred:
File "/my-path/.local/lib/python3.7/site-packages/rinoh/frontend/init.py", line 29, in map_node
filename, line, node_name = cls.node_location(node)
AttributeError: type object 'Document' has no attribute 'node_location'
I compile this project with: sphinx-build -b rinoh . build
When building html documentation, there is no error. I use cmd: sphinx-build . build
I run this on debian buster.
attached zip contains input files to generate documentation, as well as detailed output error log, in which, there is specified configuration of tools (versions)
it is also reproducible with master version of rinoh
rinoh_test.zip
The text was updated successfully, but these errors were encountered: