Closed nim65s closed 4 years ago
I also plan to add lxml
to the dependencies in robotpkg, to get all the generated documentation.
Also on this topic, @MaximilienNaveau pinged us with https://github.com/machines-in-motion/tuto_sphinx_doxygen
I think his goal is to generate a sphinx documentation website from the C++ docstrings, while the goal of doc/python/doxygen_xml_parser.py
is to embed the C++ docstrings into the __doc__
attributes of the generated python bindings, but it might be worth taking a look at the tools used on both side.
I add the issue yesterday: e2814e5
This looks better than my solution, thanks. Can we add this in devel ?
Hi,
On my computer, in python 3, headers in
build/python/doxygen_autodoc/
are filled with ill-generated strings, eg.:(please note the
\\n"\n"\\n"\n"\\n"\n"\\n"\n"
chains, which are generating compilation errors) In python 2, the generated files look good.This commit fix the build for me in python 3 while not breaking python 2: https://github.com/nim65s/hpp-fcl/commit/86e0391dee384a294993c7210291b9c1748b61c8
The CI looks good: https://gitlab.laas.fr/humanoid-path-planner/hpp-fcl/pipelines/9761 But I suspect that this is because the CI doesn't have lxml, so this is generation is turned off in the CMake.
What should we do about that ? Apply this commit ? (I need to redo it without my autoformatting changes) Maybe this
.decode()
should be apply before, and we shouldn't have had those bytes strings in the first place ?For me, this is blocking the next release.