Alternatively we could just not support math in the docstrings and update the hyper-v module. I doubt that latex is on the nodes that build the nova-python-docs job, so that would be a dependent update to the job config in project-config if they aren't there.
LaTeX is running during the docs build because of the .. math:: directives in the hyperv code here:
https:/ /github. com/openstack/ nova/blob/ master/ nova/virt/ hyperv/ vhdutilsv2. py#L129
That's built through the sphinx.ext.pngmath extension here:
https:/ /github. com/openstack/ nova/blob/ master/ doc/source/ conf.py# L33
But to build that stuff, you need latex and some other package for the utf8x.def file:
debs:
texlive (for latex)
texlive-latex-extra (for utf8x.def)
rpms:
texlive (for latex)
texlive-latex (for utf8x.def)
Alternatively we could just not support math in the docstrings and update the hyper-v module. I doubt that latex is on the nodes that build the nova-python-docs job, so that would be a dependent update to the job config in project-config if they aren't there.